This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/6817: gcc-3.1 make install fails
- From: joy at pingfm dot org
- To: gcc-gnats at gcc dot gnu dot org
- Date: 26 May 2002 12:16:47 -0000
- Subject: other/6817: gcc-3.1 make install fails
- Reply-to: joy at pingfm dot org
>Number: 6817
>Category: other
>Synopsis: gcc-3.1 make install fails
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 26 05:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: joy ping
>Release: gcc-3.1
>Organization:
>Environment:
i686-pc-linux-gnu, libc-2.2.4, linux-lfs, built with gcc-3.0.2 but also with gcc-2.95.3 the same
>Description:
while doing make install, install fails with:
/bin/sh: -c: line 1: syntax error near unexpected token `;'
i had the sources in /usr/local2/src and tried to build gcc in /usr/local2/tmp. --prefix=/usr/local/tmp/built. but same error came up with other build destinations, and also while building in source-dir.
configure opts:
CC=gcc.gcc32 /usr/local2/src/gcc-3.1/configure --enable-shared --enable-threads=posix --enable-long-long --enable-multilib --with-gnu-as --with-gnu-ld --with-system-zlib --prefix=/usr/local2/tmp/builddir
last part of 'make install' output:
/bin/sh: -c: line 1: syntax error near unexpected token `;'
/bin/sh: -c: line 1: `for cat in ; do lang=`basename $cat | sed 's/\.gmo$//'`; if [ -f $cat ]; then :; elif [ -f /usr/local2/src/gcc-3.1/gcc/$cat ]; then cat=/usr/local2/src/gcc-3.1/gcc/$cat; else continue; fi; dir=/usr/local2/tmp/builddir/share/locale/$lang/LC_MESSAGES; echo /bin/sh /usr/local2/src/gcc-3.1/gcc/mkinstalldirs $dir; /bin/sh /usr/local2/src/gcc-3.1/gcc/mkinstalldirs $dir || exit 1; echo /bin/sh /usr/local2/src/gcc-3.1/install-sh -c -m 644 $cat $dir/gcc.mo; /bin/sh /usr/local2/src/gcc-3.1/install-sh -c -m 644 $cat $dir/gcc.mo; done'
make[1]: *** [install-po] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/local2/tmp/gcc«
make: *** [install-gcc] Fehler 2
>How-To-Repeat:
make install
>Fix:
?
>Release-Note:
>Audit-Trail:
>Unformatted: