I was trying to install the latest GCC 4.8.1 but somehow the build fails. Here are the steps I followed: In the directory `/mnt/ajay/` I checked out the code from svn using the command: svn checkout svn://gcc.gnu.org/svn/gcc/trunk gcc4.8/ This gets the entire code in the directory `/mnt/ajay/gcc4.8` Then I simply followed the configuration steps given here: http://gcc.gnu.org/wiki/InstallingGCC (Pasting the instructions from the site) tar xzf gcc-4.6.2.tar.gz cd gcc-4.6.2 ./contrib/download_prerequisites cd .. mkdir objdir cd objdir $PWD/../gcc-4.6.2/configure --prefix=/opt/gcc-4.6.2 make make install Since I had the code in a directory I did not have to tar and simply replaced the above instruction from gcc-4.6.2 to gcc-4.8.1 The build fails when I `make`. It exits with the errors after couple of hours: make all-am make[5]: Entering directory `/mnt/ajay/objdir/i686-pc-linux-gnu/libjava/classpath/tools' Makefile:840: warning: overriding commands for target `gjdoc' Makefile:758: warning: ignoring old commands for target `gjdoc' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/mnt/ajay/objdir/i686-pc-linux-gnu/libjava/classpath/tools' make[4]: Leaving directory `/mnt/ajay/objdir/i686-pc-linux-gnu/libjava/classpath/tools' make[4]: Entering directory `/mnt/ajay/objdir/i686-pc-linux-gnu/libjava/classpath' true DO=all multi-do # make make[4]: Leaving directory `/mnt/ajay/objdir/i686-pc-linux-gnu/libjava/classpath' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/mnt/ajay/objdir/i686-pc-linux-gnu/libjava/classpath' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/ajay/objdir/i686-pc-linux-gnu/libjava' make[1]: *** [all-target-libjava] Error 2 make[1]: Leaving directory `/mnt/ajay/objdir' make: *** [all] Error 2 I am not into lot of installation in Linux, do let me know if I am doing anything wrong and if any further information is required. I am doing exactly the same as above. I am using CentOS release 5.4 (Final) Thanks Ajay -- View this message in context: http://gcc.1065356.n5.nabble.com/gcc-4-8-1-build-failure-tp943738.html Sent from the gcc - Help mailing list archive at Nabble.com.