public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: 3.4.0 on solaris fails on install
@ 2004-04-21 23:36 lrtaylor
       [not found] ` <363801FFD7B74240A329CEC3F7FE4CC4015F3C6C@ntxboimbx07.micro n.com>
  0 siblings, 1 reply; 5+ messages in thread
From: lrtaylor @ 2004-04-21 23:36 UTC (permalink / raw)
  To: jd; +Cc: gcc-help

No, the normal and recommend way is more like this:

unzip gcc into /junk
cd /junk
mkdir obj
cd obj
../gcc*/configure BLAH
make bootstrap
make install

The obj directory is not supposed to be in or anywhere under the source
directory.

Cheers,
Lyle
-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of J.D. Bronson
Sent: Wednesday, April 21, 2004 5:31 PM
To: Alexandre Oliva
Cc: gcc-help@gcc.gnu.org
Subject: Re: 3.4.0 on solaris fails on install

I will try this. However, I never had any issues until just now.

Usually I do this :

unzip gcc into /junk

cd /junk/gcc*
mkdir obj
cd obj
../configure BLAH
make bootstrap
make install

isnt that that the normal and recommended way?

^ permalink raw reply	[flat|nested] 5+ messages in thread
* 3.4.0 on solaris fails on install
@ 2004-04-21 22:06 J.D. Bronson
  2004-04-21 22:47 ` Alexandre Oliva
  0 siblings, 1 reply; 5+ messages in thread
From: J.D. Bronson @ 2004-04-21 22:06 UTC (permalink / raw)
  To: gcc-help

I used a precompild gcc 2.95.3 and build gcc 3.4.0 just fine.
However the install fails!

Built as:
../configure --with-as=/usr/local/bin/as \
--with-ld=/usr/local/bin/ld --disable-nls --enable-threads \
--enable-shared --enable-multilib --with-cpu=pentium4 \
--enable-languages=c,c++,f77 \

Then I try to install after successful build:
..
...
make[3]: Leaving directory `/usr/temp/gcc-3.4.0/obj/i386-pc-solaris2.10/libf2c'
make[2]: Leaving directory `/usr/temp/gcc-3.4.0/obj/i386-pc-solaris2.10/libf2c'
make[1]: Leaving directory `/usr/temp/gcc-3.4.0/obj'

# make install
/bin/sh ../mkinstalldirs /usr/local /usr/local
make[1]: Entering directory `/usr/temp/gcc-3.4.0/obj/gcc'
if [ -f specs.ready ] ; then \
         true; \
else \
         echo timestamp > specs.ready; \
fi
/bin/sh ../../gcc/mkinstalldirs /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.0
mkdir -p -- /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.0
/bin/sh ../../gcc/mkinstalldirs 
/usr/local/libexec/gcc/i386-pc-solaris2.10/3.4.0
mkdir -p -- /usr/local/libexec/gcc/i386-pc-solaris2.10/3.4.0
/bin/sh ../../gcc/mkinstalldirs /usr/local/bin
/bin/sh ../../gcc/mkinstalldirs /usr/local/include
/bin/sh ../../gcc/mkinstalldirs /usr/local/info
/bin/sh ../../gcc/mkinstalldirs /usr/local/lib
/bin/sh ../../gcc/mkinstalldirs /usr/local/man/man1
/bin/sh ../../gcc/mkinstalldirs /usr/local/man/man7
rm -f /usr/local/bin/g++
../install-sh -c g++ /usr/local/bin/g++
make[1]: ../install-sh: Command not found
make[1]: [c++.install-common] Error 127 (ignored)
chmod a+x /usr/local/bin/g++
chmod: WARNING: can't access /usr/local/bin/g++
make[1]: [c++.install-common] Error 1 (ignored)
rm -f /usr/local/bin/c++
( cd /usr/local/bin && \
       ln g++ c++ )
ln: cannot access g++
make[1]: [c++.install-common] Error 2 (ignored)
if [ -f cc1plus ] ; then \
   if [ -f g++-cross ] ; then \
     if [ -d 
/usr/local/lib/gcc/i386-pc-solaris2.10/3.4.0/../../../../i386-pc-solaris2.10/bin/. 
] ; then \
       rm -f 
/usr/local/lib/gcc/i386-pc-solaris2.10/3.4.0/../../../../i386-pc-solaris2.10/bin/g++; 
\
       ../install-sh -c g++-cross 
/usr/local/lib/gcc/i386-pc-solaris2.10/3.4.0/../../../../i386-pc-solaris2.10/bin/g++; 
\
       rm -f 
/usr/local/lib/gcc/i386-pc-solaris2.10/3.4.0/../../../../i386-pc-solaris2.10/bin/c++; 
\
       ( cd 
/usr/local/lib/gcc/i386-pc-solaris2.10/3.4.0/../../../../i386-pc-solaris2.10/bin 
&& \
         ln g++ c++ ); \
     else true; fi; \
   else \
     rm -f /usr/local/bin/i386-pc-solaris2.10-g++; \
     ( cd /usr/local/bin && \
       ln g++ i386-pc-solaris2.10-g++ ); \
     rm -f /usr/local/bin/i386-pc-solaris2.10-c++; \
     ( cd /usr/local/bin && \
       ln c++ i386-pc-solaris2.10-c++ ); \
   fi ; \
fi
ln: cannot access g++
ln: cannot access c++
make[1]: [c++.install-common] Error 2 (ignored)
if [ -f f771 ] ; then \
   rm -f /usr/local/bin/g77; \
   ../install-sh -c g77 /usr/local/bin/g77; \
   chmod a+x /usr/local/bin/g77; \
else true; fi
/bin/sh: ../install-sh: not found
chmod: WARNING: can't access /usr/local/bin/g77
make[1]: [f77.install-common] Error 1 (ignored)
for file in cc1  cc1plus f771; do \
   if [ -f $file ] ; then \
     rm -f /usr/local/libexec/gcc/i386-pc-solaris2.10/3.4.0/$file; \
     ../install-sh -c $file 
/usr/local/libexec/gcc/i386-pc-solaris2.10/3.4.0/$file; \
   else true; \
   fi; \
done
/bin/sh: ../install-sh: not found
/bin/sh: ../install-sh: not found
/bin/sh: ../install-sh: not found
make[1]: *** [install-common] Error 1
make[1]: Leaving directory `/usr/temp/gcc-3.4.0/obj/gcc'


Please help!





-- 
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: jd@aurora.org // Pager: 414.314.8282

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

end of thread, other threads:[~2004-04-21 23:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-21 23:36 3.4.0 on solaris fails on install lrtaylor
     [not found] ` <363801FFD7B74240A329CEC3F7FE4CC4015F3C6C@ntxboimbx07.micro n.com>
2004-04-21 23:43   ` J.D. Bronson
  -- strict thread matches above, loose matches on Subject: below --
2004-04-21 22:06 J.D. Bronson
2004-04-21 22:47 ` Alexandre Oliva
2004-04-21 23:31   ` J.D. Bronson

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).