$ cat /etc/release
SVN-20111210
configure log:
...
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[1]: ** [configure-target-libjava] Erro 1
make[1]: Saindo do diretório
`/media/dados/home/fernando/tmp/paco-build-2012.01.20/gcc-build'
make: ** [bootstrap] Erro 2
After zip-3.0 installed, build completed successfully.
Please, is zip a requirement to be included in BLFS gcc page? Or: should I have
used disable-bootstrap, instead of enable-bootstrap switch in configure?
Anyway, perhaps I am not wrong, thinking that when upgrading the page
(gcc-4.5.1, in BLFS Version 2012-01-16) there could be more detailed
explanation about these points?
I apologize for all this above, but I have not yet understood the difference
between bootstrap and not or what bootstrap means or does.
Thanks in advance.
Below, you can find build instructions (almost = book). Difference is not
building ada compiler.
[]s,
Fernando
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &&
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &&
mkdir ../gcc-build &&
cd ../gcc-build &&
../gcc-4.6.2/configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--with-system-zlib \
--enable-shared \
--enable-threads=posix \
--enable-__cxa_atexit \
--disable-multilib \
--enable-bootstrap \
--enable-clocale=gnu \
--enable-languages=c,c++,fortran,java,objc,obj-c++ &&
make -j4 bootstrap &&
make -j4 &&
make install &&
ln -v -sf ../usr/bin/cpp /lib &&
ln -v -sf gcc /usr/bin/cc &&
chown -v -R root:root \
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/include &&
ln -v -sf `find /usr/lib/gcc -name ffitarget.h` \
/usr/include
[]s,
Fernando
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page