public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Error installing gcc 3.4.3 on Solaris 9
@ 2005-01-26 19:20 Carroll, John
  2005-01-26 19:33 ` Eljay Love-Jensen
  0 siblings, 1 reply; 2+ messages in thread
From: Carroll, John @ 2005-01-26 19:20 UTC (permalink / raw)
  To: gcc-help

I get an error when installing (make install) gcc 3.4.3 on a Solaris 9
system, with most of the GNU utilities (ld, as, ar, make, etc) in place
of the Sun utilities.
I use the following configure:
gnu_src_dir="/usr/local/src/GNU"
${gnu_src_dir}/gcc-3.4.3/configure --prefix=/usr/local
--infodir=${info_dir} --with-gnu-as --with-gnu-ld --with-system-zlib

The compile/"make" seems to complete fine... it is just when I
install/do a "make install" that it fails.  Gcc, and most of the libs
install okay, but it fails with the following message (with some context
showing the end of the make):
# make

*snip*

creating rmiregistry
make[2]: Leaving directory
`/usr/local/src/GNU/gcc-3.4.3/sparc-sun-solaris2.9/libjava'
make[1]: Leaving directory
`/usr/local/src/GNU/gcc-3.4.3/sparc-sun-solaris2.9/libjava'
+ make install 

*snip*

/bin/sh ../../.././libf2c/../mkinstalldirs /usr/local/lib/sparcv9
/bin/sh ./libtool --mode=install ../.././libf2c/../install-sh -c
libg2c.la /usr/local/lib/sparcv9
../.././libf2c/../install-sh -c .libs/libg2c.so.0.0.0
/usr/local/lib/sparcv9/libg2c.so.0.0.0
./libtool: ../.././libf2c/../install-sh: not found
make[3]: *** [install] Error 1
make[3]: Leaving directory
`/usr/local/src/GNU/gcc-3.4.3/sparc-sun-solaris2.9/sparcv9/libf2c'
make[2]: *** [multi-do] Error 1
make[2]: Leaving directory
`/usr/local/src/GNU/gcc-3.4.3/sparc-sun-solaris2.9/libf2c'
make[1]: *** [install] Error 2
make[1]: Leaving directory
`/usr/local/src/GNU/gcc-3.4.3/sparc-sun-solaris2.9/libf2c'
make: *** [install-target-libf2c] Error 2
# 

Does anyone have any ideas about why this might be happening?  It looks
like an incorrect path somewhere, but it seems others can compile and
install this fine, so it could be a Solaris 9 issue, or some issue with
my build, but I can't see it.

Thanks,
John
 
John Patrick Carroll
Systems Administrator
Raytheon Polar Services Company
John.Carroll@usap.gov
(720) 568-2125

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error installing gcc 3.4.3 on Solaris 9
  2005-01-26 19:20 Error installing gcc 3.4.3 on Solaris 9 Carroll, John
@ 2005-01-26 19:33 ` Eljay Love-Jensen
  0 siblings, 0 replies; 2+ messages in thread
From: Eljay Love-Jensen @ 2005-01-26 19:33 UTC (permalink / raw)
  To: Carroll, John, gcc-help

Hi John,

I saw that too, on SunOS 5.9 as well.

I fixed it by editing the Makefile in my configure directory, removed the 
relative paths and put in absolute paths.

I presume I could have fixed things on my initial ../gcc-3.4.3/configure 
operation that cobbled together the Makefile in my gcc-3.4.3-build 
directory (a peer directory to gcc-3.4.3).  But I didn't want to rebuild 
the compiler on my crusty old SPARC box (quad-CPU SPARC v9 @ 480 MHz).

HTH,
--Eljay

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-26 19:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-26 19:20 Error installing gcc 3.4.3 on Solaris 9 Carroll, John
2005-01-26 19:33 ` Eljay Love-Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).