I have a SuSe-9.1Pro with gcc-3.3.3 installed. I downloaded/extracted a copy of gcc-4.0.2.tar.bz2 on my HD. Then, I created an empty directory under the gcc-4.0.2 directory tree and name it objdir. After entering the objdir directory, I configured gcc for a compilation as follows:
+++++ ../configure --prefix=/usr --enable-threads=posix --with-gxx-include-dir=='${prefix}/include/g++' --enable-bootstrap ; make bootstrap > & /usr/tmp/world +++++ Then, I executed "make bootstrap" and successfully compiled the gcc-4.0.2. When I tried to install (make DESTDIR=/usr/tmp/gcc-4.0.2-1-root install) the compiled gcc to a temporarily directory for RPM packaging purposes, I got the following error messages: +++++ /bin/sh ../mkinstalldirs /usr/tmp/gcc-4.0.2-1-root/usr /usr/tmp/gcc-4.0.2-1-root/usr make[1]: Entering directory `/usr/src/packages/BUILD/gcc-4.0.2/objdir/fastjar' make[1]: *** No rule to make target `../zlib/libz.a', needed by `fastjar'. Stop. make[1]: Leaving directory `/usr/src/packages/BUILD/gcc-4.0.2/objdir/fastjar' make: *** [install-fastjar] Error 2 +++++ The installation process seems to expect all built libraries under their respective source directories. -- Summary: installation fails Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mazilo at msn dot com GCC build triplet: i586-suse-linux GCC host triplet: i586-suse-linux GCC target triplet: i586-suse-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25698