If I had my computer available I would download and uncompress gcc to see for myself, but I'm not at home right now. I suggest you search the lfs book for more information or google for something like 'building mpfr' or 'mpfr file permissions'. What I do know is that it is a required dependency for gcc, its needed to be able to build the rest of the software later on. Op 6 mei 2014 21:37 schreef "Jack Ditchburn" <[email protected]> het volgende:
> Thanks for the reply Ronnie. The strange thing is that the commands for > the the other two files (mpc and gmp) work fine. I don't understand how > mpfr can be different as all I did originally was to unpack GCC, so as far > as I know all permissions should be the same for those three files. Why > should mpfr be different? > > Jack > > > On 6 May 2014 22:15, Ronnie van Aarle <[email protected]> wrote: > >> I think you should check the ownership of the file or the directory where >> its saved. The file is owned by the same account as the user that >> downloaded it. You probably use a restricted user account for unpacking and >> building and root for installation. As root or another priviliged user >> account you can change the ownership of a file with 'chown'. >> Op 6 mei 2014 20:41 schreef "Jack Ditchburn" <[email protected]> het >> volgende: >> >> > >> > 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? >> > >> > I am building LFS using Mint Petra, and an Acer Travelmate8371-733G32n >> laptop with a Centrino Core 2 processor. >> > >> > The output of the system requirements script is: >> > >> > bash version-check.sh >> > bash, version 4.2.45(1)-release >> > /bin/sh -> /bin/bash >> > Binutils: (GNU Binutils for Ubuntu) 2.23.52.20130913 >> > bison (GNU Bison) 2.7.12-4996 >> > /usr/bin/yacc -> /usr/bin/bison.yacc >> > bzip2, Version 1.0.6, 6-Sept-2010. >> > Coreutils: 8.20 >> > diff (GNU diffutils) 3.2 >> > find (GNU findutils) 4.4.2 >> > GNU Awk 4.0.1 >> > /usr/bin/awk -> /usr/bin/gawk >> > gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1 >> > g++ (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1 >> > (Ubuntu EGLIBC 2.17-93ubuntu4) 2.17 >> > grep (GNU grep) 2.14 >> > gzip 1.6 >> > Linux version 3.11.0-12-generic (buildd@komainu) (gcc version 4.8.1 >> (Ubuntu/Linaro 4.8.1-10ubuntu7) ) #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013 >> > m4 (GNU M4) 1.4.16 >> > GNU Make 3.81 >> > GNU patch 2.7.1 >> > Perl version='5.14.2'; >> > sed (GNU sed) 4.2.2 >> > tar (GNU tar) 1.26 >> > xz (XZ Utils) 5.1.0alpha >> > g++ compilation OK >> > libgmp.la: not found >> > libmpfr.la: not found >> > libmpc.la: not found >> > >> > Any help appreciated. I have tried FAQ etc but no joy. >> > >> > TIA >> > >> > Jack >> > >> > -- >> > The dream is shattered >> > The web site cannot be found >> > Inside the spring rain. >> > >> > First snow, then silence. >> > This expensive server dies >> > So beautifully. >> > >> > -- >> > http://lists.linuxfromscratch.org/listinfo/lfs-support >> > FAQ: http://www.linuxfromscratch.org/blfs/faq.html >> > Unsubscribe: See the above information page >> > >> >> >> -- >> http://lists.linuxfromscratch.org/listinfo/lfs-support >> FAQ: http://www.linuxfromscratch.org/blfs/faq.html >> Unsubscribe: See the above information page >> >> > > > -- > > > > > *The dream is shatteredThe web site cannot be foundInside the spring rain.* > > *First snow, then silence. This expensive server diesSo beautifully.* > > -- > http://lists.linuxfromscratch.org/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > >
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
