4.2.0 installation problem - `bison' missing on your system
Joseph Bentley
joe.foxhound@gmail.com
Tue May 22 17:17:00 GMT 2007
After this warning, I installed bison, but still get the warning and
subsequent error. Where can I go for help on this?
Here's some of the log:
rm -f gcjh
/home/joe/gcc/objdir/./prev
-gcc/xgcc -B/home/joe/gcc/objdir/./prev-gcc/ -B/usr/l
ocal/i686-pc-linux-gnu/bin/ -O2 -g -fomit-frame-pointer -DIN_GCC -W -Wall -W
write-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition
-Wmissing-fo
rmat-attribute -DHAVE_CONFIG_H -o gcjh java/gjavah.o java/jcf-io.o java/jcf-
depend.o java/jcf-path.o java/win32-host.o java/zextract.o version.o errors.o gg
c-none.o intl.o -L../zlib -lz ../libcpp/libcpp.a
../libiberty/libiberty.a ../
libdecnumber/libdecnumber.a
/home/joe/gcc/gcc-4.2.0/missing bison -t -o java/parse-scan.c
../../gcc-4.2.0/g cc/java/parse-scan.y
WARNING: `bison' missing on your system. You should only need it if
you modified a `.y' file. You may need the `Bison' package
in order for those modifications to take effect. You can get
`Bison' from any GNU archive site.
/home/joe/gcc/objdir/./prev-gcc/xgcc
-B/home/joe/gcc/objdir/./prev-gcc/ -B/usr/l
ocal/i686-pc-linux-gnu/bin/ -c -O2 -g -fomit-frame-pointer -DIN_GCC
-W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-lo ng
-Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition
-Wmissing -format-attribute -Wno-error
-DHAVE_CONFIG_H -I. -Ijava -I../../gcc- 4.2.0/gcc
-I../../gcc-4.2.0/gcc/java -I../../gcc-4.2.0/gcc/../include
-I../../gcc-4.2.0/gc c/../libcpp/include
-I../../gcc-4.2.0/gcc/../libdecnumber -I../libdecnumber
java/parse- scan.c -o java/parse-scan.o
xgcc: java/parse-scan.c: No such file or directory
xgcc: no input files
make[3]: *** [java/parse-scan.o] Error 1
make[3]: Leaving directory `/home/joe/gcc/objdir/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/joe/gcc/objdir'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/joe/gcc/objdir'
make: *** [all] Error 2
Note:
/home/joe/gcc/objdir> which bison
/usr/bin/bison
/home/joe/gcc/objdir> bison -V
bison (GNU Bison) 1.875
Written by Robert Corbett and Richard Stallman.
More information about the Gcc-help
mailing list