Hi LFS DEV team,

I'm going through a linux from scrach installation, and found a bug in
the bzip2 compilation like it is in the book. The problem is simple.
The bzip2 package comes with a Makefile that doesn't need configure.
So the part where the Makefile chooses the compiler looks like this:

CC=gcc
AR=ar
RANLIB=ranlib

But those aren't the compilers we want, because they will be comming
from the host systems path

to fix this you need to execute the following comands before running make

sed -i s,CC=gcc,CC=/tools/bin/gcc, Makefile
sed -i s,AR=ar,AR=/tools/bin/ar, Makefile
sed -i s,RANLIB=ranlib,RANLIB=/tools/bin/ranlib, Makefile


I hope this bugreport is usefull to you guys!!

Michael Schmidt
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to