Le 16/09/2014 18:55, Jeffrey Toseng a écrit : > I'm running 64 bits Maverick on MacBook Air and run Trusty Tahr 64 on > OracleVirtualBox. > LFS version 7.5 > Logged in as lfs user with .bash_profile and .bashrc scripts created as per > documentation. > I believe LFS and TGT has already been set and I also manually exported > LFS=/mnt/lfs before starts running ./configure. > I have no issues in building Binutils-2.2 to Diffutils-3.3 package. > Only when I'm trying to build File-5.17 then this error came up.
Please do not top post (see below...) > > On Wed, Sep 17, 2014 at 12:35 AM, Pierre Labastie <pierre.labas...@neuf.fr > <mailto:pierre.labas...@neuf.fr>> wrote: > > Le 16/09/2014 17:54, Jeffrey Toseng a écrit : > > Hi There, > > I'm getting an error below when running make in File-5.17. It seemed > to have no any errors when running ./configure --prefix=/tools. But I > after running make in File-5.17 folder, these error shown and could > not run make install. Anyone could shed some light? > > make[2]: *** [magic.mgc] Segamentation fault (core dumped) > make[2]: Leaving directory '/mnt/lfs/sources/7.5/file-5.__17/magic' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory '/mnt/lfs/sources/7.5/file-5.__17' > make: *** [all] Error 2 > > Sincerely Yours, > Jeff T. > > We need some more information : > What is your distribution? > What is your hardware (32 ou 64 bits)? > What is the result of the version-check.sh script on page vii. Host Sytem > Requirements (in the preface)? > Is the variable LFS set? > Do you use special CFLAGS? > What is the version of LFS you are using? > Regards > Pierre > See ? > Do not top post on this list. > > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > > http://en.wikipedia.org/wiki/__Posting_style > <http://en.wikipedia.org/wiki/Posting_style> Back to your problem... No problem with version-check.sh? Could you change to the file build directory (as user lfs and with the PATH set as in chapter 4) and try: src/file --lt-debug You should see: file:file:93: libtool wrapper (GNU libtool) 2.4.2 file:file:114: newargv[0]: /mnt/lfs/sources/file-5.17/src/.libs/lt-file If there is a segfault before that it is likely to be a problem with bash. If there is no segfault: try: ldd /mnt/lfs/sources/file-5.17/src/.libs/lt-file and post the output. Regards Pierre -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style