Carl Wilhelm Soderstrom <chrome at real-time.com> wrote:
> 
> > Try running a stack trace with `strace rpm <options>' and see where it
> > gives the error.
> 
> well, here's the last few things it spews:
> 
> open("/etc/rpm/macros", O_RDONLY)       = -1 ENOENT (No such file or
> directory)
> open("/etc/rpm/athlon-linux/macros", O_RDONLY) = -1 ENOENT (No such file
> or directory)
> open("/home/chrome/.rpmmacros", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> execve("/usr/lib/rpm/rpmb", ["/usr/lib/rpm/rpmb", "-bb",
> "SPECS/imwheel.spec"], [/* 36 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, "SPECS/imwheel.spec: No such file"..., 46SPECS/imwheel.spec: No
> such file or directory) = 46
> _exit(1)                                = ?
> 
> so does this mean it's crapping out on some locale stuff?

Hmm.  Looks like you're in /usr/src/redhat (or similar) and trying to do
`rpm -b SPECS/imwheel.spec' ?  Have you tried going into the SPECS
directory and running everything there?

-- 
 _  _  _  _ _  ___    _ _  _  ___ _ _  __   I like your approach, now 
/ \/ \(_)| ' // ._\  / - \(_)/ ./| ' /(__   let's see your departure. 
\_||_/|_||_|_\\___/  \_-_/|_|\__\|_|_\ __)                             
[ Mike Hicks | http://umn.edu/~hick0088/ | mailto:hick0088 at tc.umn.edu ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20010814/0b57e090/attachment.pgp