Hi all,

When trying to follow the book i have gotten to a "Permission denied"
error because in section "6.7.1. Installation of Linux API Headers"
you are told to copy files to /usr/include as the lfs user, or so I
understood, please correct me if I'm missing something. I guess I just
have to copy them as root but I'm just saying so it can be corrected
in the book if needed.

make headers_check
make INSTALL_HDR_PATH=dest headers_install
find dest/include \( -name .install -o -name ..install.cmd \) -delete
cp -rv dest/include/* /usr/include


    The version of the book being used: 7.0-rc2

    The host distribution and version being used to create LFS:
CRUNCHBANG LINUX LIVE CD (crunchbang-10-20110207-openbox-i686.iso)
based on Debian Squeeze.

    The output from the Section vii, “Host System Requirements”

    The package or section the problem was encountered in:   linux-3.0.4.tar.gz

    The exact error message or symptom being received:


/mnt/lfs/sources/linux-3.0.4$ cp -rv dest/include/* /usr/include
`dest/include/asm/vsyscall.h' -> `/usr/include/asm/vsyscall.h'
cp: cannot create regular file `/usr/include/asm/vsyscall.h': Permission denied
[...]
`dest/include/xen/evtchn.h' -> `/usr/include/xen/evtchn.h'
cp: cannot create regular file `/usr/include/xen/evtchn.h': Permission denied


    Note whether you have deviated from the book at all:  NO



Cheers,
Fred.




“Free software” is a matter of liberty, not price. To understand the
concept, you should think of “free” as in “free speech”, not as in
“free beer”.

Free software is a matter of the users' freedom to run, copy,
distribute, study, change and improve the software.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to