This is GCC Bugzilla
This is GCC Bugzilla Version 2.20+
View Bug Activity | Format For Printing | Clone This Bug
A 'make install' fails with an error during installation of libstdc++. The configuration was: ../gcc/configure -prefix=/opt/gcc-3.4 --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking--enable-languages=c,c++,f77 --host=i686-pc-linux-gnu --enable-version-specific-runtime-libs The compiler was built with 'make bootstrap'. The error from 'make install' is: make[3]: Leaving directory `/home/scott/gnu/gcc-3.4/build-p4/i686-pc-linux-gnu/libstdc++-v3/po' make[2]: Leaving directory `/home/scott/gnu/gcc-3.4/build-p4/i686-pc-linux-gnu/libstdc++-v3/po' Making install in testsuite make[2]: Entering directory `/home/scott/gnu/gcc-3.4/build-p4/i686-pc-linux-gnu/libstdc++-v3/testsuite' touch testsuite_wchar_t touch: cannot touch `testsuite_wchar_t': Permission denied make[2]: *** [stamp_wchar] Error 1 make[2]: Leaving directory `/home/scott/gnu/gcc-3.4/build-p4/i686-pc-linux-gnu/libstdc++-v3/testsuite' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/scott/gnu/gcc-3.4/build-p4/i686-pc-linux-gnu/libstdc++-v3' make: *** [install-target-libstdc++-v3] Error 2
Is the object directory writable (or did you run out of space)? Because that is the only thing which cause this.
I can manually touch the file. The directory appears writable, and I have 40GB of free space. scott@Tycho ~/gnu/gcc-3.4/build-p4 $ ls /home/scott/gnu/gcc-3.4/build-p4/i686-pc-linux-gnu/libstdc++-v3 -l drwxr-xr-x 3 scott users 4096 Oct 15 10:55 testsuite scott@Tycho ~/gnu/gcc-3.4/build-p4 $ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda3 76312224 32244088 40191652 45% /
This cannot be a GCC problem, something is wrong with your machine (I don't know what) because it works for a large number of other people and this part of the makefile has not changed for a long time.