An error when trying to gmake install GCC 3.4.6: gmake: *** [install-target-libf2c] Error 2
Alex Man
alexman@seas.ucla.edu
Tue Dec 25 20:01:00 GMT 2007
Andrea,
Yes, it does have the install-sh script. As I managed in another
email, I managed to solve the problem by disabling the support for
Fortran so that it doesn't try to install the libf2c library. Thanks
for your reply!
At 02:59 AM 12/22/2007, Andrew Haley wrote:
>alexman@seas.ucla.edu writes:
> > Hi,
> >
> > I'm trying to install GCC 3.4.6 on my Solaris 10 machine. When I ran gmake
> > install, I got the following error message:
> >
> > ../../../gcc-3.4.6/libf2c/../install-sh -c .libs/libg2c.so.0.0.0
> > /usr/local/gcc-3.4.6/lib/sparcv9/libg2c.so.0.0.0
> > ./libtool: line 5035: ../../../gcc-3.4.6/libf2c/../install-sh: No such
> > file or directory
> > gmake[3]: *** [install] Error 127
> > gmake[3]: Leaving directory
> > `/space/local_bin/compile/objdir/sparc-sun-solaris2.10/sparcv9/libf2c'
> > gmake[2]: *** [multi-do] Error 1
> > gmake[2]: Leaving directory
> > `/space/local_bin/compile/objdir/sparc-sun-solaris2.10/libf2c'
> > gmake[1]: *** [install] Error 2
> > gmake[1]: Leaving directory
> > `/space/local_bin/compile/objdir/sparc-sun-solaris2.10/libf2c'
> > gmake: *** [install-target-libf2c] Error 2
> >
> > I'm using the GCC 4.2.2 and GNU Make 3.81 to do the compilation and my
> > configure statement looks like this:
> >
> > ../gcc-3.4.6/configure --prefix=/usr/local/gcc-3.4.6
> > --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld
> > --with-libiconv-prefix=/usr/local/libiconv-1.11 --disable-nls
> >
> > I didn't get any error message when run gmake. I'm really stuck now so any
> > help/hint is much appreciated. Thanks a lot!
>
>Does the top-level srcdir contain install-sh, or not?
>
>Andrew.
>
>--
>Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor,
>Berkshire, SL4 1TE, UK
>Registered in England and Wales No. 3798903
Regards,
Alex
More information about the Gcc-help
mailing list