building uClibc with package users fails

Chris Buxton cbuxton at menandmice.com
Tue Jan 15 20:22:35 PST 2008


I've discovered that the 'make install' step for uClibc fails when compiling as a non-root user, because of a tar error. The error message is:
_____

printf ".svn\n.cvsignore\nCVS\n" > tar_exclude ; \
        tar -chf - -X tar_exclude include \
                | tar -xf - -C /usr/
include: Cannot utime: Operation not permitted
Error exit delayed from previous errors
make: *** [install_headers] Error 2
_____

I fixed the problem by replacing '-xf' with '-xmf' in the two places where this occurs in Makefile.in (in the root of the source code tree).

sed -i'' -e 's|-xf|-xmf|' Makefile.in

I'm not sure why this isn't a problem in Chapter 5.

Chris Buxton
Professional Services
Men & Mice
Address: Noatun 17, IS-105, Reykjavik, Iceland
Phone:   +354 412 1500
Email:   cbuxton at menandmice.com
www.menandmice.com
 
Men & Mice
We bring control and flexibility to network management
 
This e-mail and its attachments may contain confidential and privileged information only intended for the person or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any retention, dissemination, distribution or copy of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify us immediately by reply e-mail and immediately delete this message and all its attachment.




More information about the hlfs-dev mailing list