Jack Ditchburn wrote:
Guys,
I hope everyone is well.
Concerning the subject:
I unpacked GCC-4.8.2 as user lfs and cd to the created directory.Then ran
the command concerning mpfr and got the following error:
tar -Jxf ../mpfr-3.1.2.tar.xz
tar (child): ../mpfr-3.1.2.tar.xz: Cannot open: Permission denied
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Looking in GCC-4.8.2 using ls, I could not see mpfr, although I could see
mpc and gmp. So I deleted GCC directory and unpacked it again as lfs
user. This time it did not create mpfr or mpc, but only gmp. Have I got a
broken download of GCC? Do I need to delete the GCC tarball and redownload
it? Or is there another problem?
Sounds like permissions.
$ ls -ld $LFS/sources
If everything is not owned by user lfs, run
$ sudo chmod -R lfs.lfs $LFS/sources
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page