ch6-gcc compile error - bison: command not found
kayo at hotpop.com
Sun Mar 21 20:47:24 PST 2004
I am on Chapter 6 of the LFS 5.0 installation.
My Host System runs Mandrake 6.1.
I recently got an error while making gcc-3.3.1 (Ch 6)
make: Entering directory `/sources/gcc-build/libiberty'
... (Does a good bit of compiling here.)
cd ../../gcc-3.3.1/gcc && \
if bison -o c-p$$.c c-parse.y; then \
test -f c-p$$.output && mv -f c-p$$.output c-parse.output ; \
mv -f c-p$$.c c-parse.c ; \
rm -f c-p$$.* ; \
false ; \
/bin/sh: line 1: bison: command not found
make: *** [../../gcc-3.3.1/gcc/c-parse.c] Error 1
make: Leaving directory `/sources/gcc-build/gcc'
make: *** [all-gcc] Error 2
Incase it helps, here is a small snippet from the configure output:
checking for recent Pod::Man... yes
checking for flex... /bin/sh ../../gcc-3.3.1/gcc/../missing flex
checking for bison... /bin/sh ../../gcc-3.3.1/gcc/../missing bison
checking for collect2 libraries... none required
Since chapter 5 does not build the 'bison' program, the chroot
environment nauturally would not have it.
Hence, why does the make process require bison.
Also, why does the make process try to use bison when it knows that
it isn't availible (Since it might know this after running configure)
Please can you help me.
More information about the lfs-support