gcc configure: error: cannot find neither zip nor jar, cannot continue
When I installed gcc-4.3.4, some errors happened as shown in the bottom. It seems that unzip couldn't be found. Once zip30 is installed, how to set the directory of zip30 before making gcc?
checking for x86_64-unknown-linux-gnu-ar... ar
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking for gawk... (cached) gawk
checking for jar... no
checking for fastjar... no
checking for gjar... no
checking for zip... no
checking for unzip... /usr/bin/unzip
configure: error: cannot find neither zip nor jar, cannot continue
make: *** [configure-target-libjava] Error 1
make: Leaving directory `~/gcc-4.3.4'
make: *** [all] Error 2
make: Entering directory `/nfs/rachel03/home01/mmy/software/gcc-4.3.4'
make: Entering directory `/nfs/rachel03/home01/mmy/software/gcc-4.3.4/host-x86_64-unknown-linux-gnu/fixincludes'
autogen -T ../.././fixincludes/check.tpl ../.././fixincludes/inclhack.def
/bin/bash: autogen: command not found
make: *** [check] Error 127
make: Leaving directory `/nfs/rachel03/home01/mmy/software/gcc-4.3.4/host-x86_64-unknown-linux-gnu/fixincludes'
make: *** [check-fixincludes] Error 2
make: Leaving directory `/nfs/rachel03/home01/mmy/software/gcc-4.3.4'
make: *** [do-check] Error 2
I never bother with "make check" :D
Either way, looks like you're missing the application "autogen"... probably installing the package on the system with the same name would work. Example, as root:
|All times are GMT -4. The time now is 15:17.|