gcc 3.4 make install problem

Urs Janßen urs@akk.org
Tue Jan 28 16:46:00 GMT 2003


for about ~2 weeks now the instalation of gcc 3.4 fails due to wrong
path to (or a missing copy of) mkinstalldirs. below is a sample
compile session:

~ > date 
Tue Jan 28 16:23:27 CET 2003
~ > config.guess
i686-pc-linux-gnu
~ > rm -rf gcc
~ > export CVSROOT=":pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc"
~ > cvs login
Logging in to :pserver:anoncvs@subversions.gnu.org:2401/cvsroot/gcc
CVS password: 
~ > cvs -z 9 co gcc 2>&1
cvs server: Updating gcc
[...]
~ > cd gcc
~ > ./configure --prefix=/usr/local --enable-languages=c,c++ --disable-nls
[...]
~ > make bootstrap
[...]
~ > echo $?
0
~ > su
Password: 
~ # make install
[...]
make[2]: Leaving directory
/home/ws/urs/gcc/i686-pc-linux-gnu/libiberty'
/bin/sh ./../mkinstalldirs /usr/local/lib
./../mkinstalldirs: ./../mkinstalldirs: No such file or directory
make[1]: *** [install_to_libdir] Error 127
make[1]: Leaving directory /home/ws/urs/gcc/i686-pc-linux-gnu/libiberty'
make: *** [install-target-libiberty] Error 2
~ # echo $?
2



~ # cp mkinstalldirs i686-pc-linux-gnu
~ # make install && echo $?
[...]
0

urs



More information about the Gcc-bugs mailing list