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

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

 



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



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

  Powered by Linux