Re: [Redhat-s390-list] Missing /usr/src/redhat directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The minimal package selection doesn't have any build environment. Neither
glibc-devel nor a compiler or make/autoconf/automake are included.
You need to install the rpmbuild and the patch package to unpack the SRPM.
Many more packages are needed if you want to compile anything, have a look at
RedHat/base/comps section 'Software Development' to get a list of the packages.


   Karsten 


On Thu, Oct 18, 2001 at 05:47:52PM -0400, Post, Mark K wrote:
> I did a minimal install, and /usr/src/redhat was not created on my system.
> When I went to install a source RPM, it complained.
> 
> Once I did a "mkdir /usr/src/redhat" I was able to install the source RPM,
> but then I could not do an "rpm -bp kernel-2.4.spec".  That command failed
> with "kernel-2.4.spec: No such file or directory" but obviously that file
> was not missing, it was something else.
> 
> After installing the strace RPM, these are the last things the command tries
> before it quits:
> gettimeofday({1003441454, 643876}, NULL) = 0
> gettimeofday({1003441454, 644119}, NULL) = 0
> close(3)                                = 0
> gettimeofday({1003441454, 645382}, NULL) = 0
> gettimeofday({1003441454, 645777}, NULL) = 0
> gettimeofday({1003441454, 647967}, NULL) = 0
> munmap(0x4003b000, 8192)                = 0
> open("/etc/rpm/macros", O_RDONLY)       = -1 ENOENT (No such file or
> directory)
> open("/etc/rpm/s390-linux/macros", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/root/.rpmmacros", O_RDONLY)      = -1 ENOENT (No such file or
> directory)
> execve("/usr/lib/rpm/rpmb", ["/usr/lib/rpm/rpmb", "-bp", "kernel-2.4.spec"],
> [/* 23 vars */]) = -1 ENOENT (No such file or directory)
> open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> write(2, "kernel-2.4.spec: No such file or"..., 43kernel-2.4.spec: No such
> file or directory) = 43
> _exit(1)
> 
> Is there something else I should be installing to get this to work?  I just
> want to get the kernel source "prepped" with all the patches.
> 
> Mark Post
> 
> _______________________________________________
> Redhat-s390-list mailing list
> Redhat-s390-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/redhat-s390-list



[Index of Archives]     [Fedora General Discussion]     [LKML]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Linux s390]     [Gimp]     [Yosemite News]

  Powered by Linux