RE: gcc loading question



Actually I thought of an even better answer to your question.

You shouldn't have to build gcc, and you shouldn't have to build Perl. You
can get both from the Sun Freeware site (http://www.sunfreeware.com/) and
install them using pkgadd. You can use 'Perl -V' to determine which version
of gcc you need, then install that gcc and use it to build the DBI library
(and any DBDs you need).

Only on a very space or access limited machine would you have to resort to
actually building gcc.

-Will


-----Original Message-----
From: ithier@xxxxxxxxxxxx [mailto:ithier@xxxxxxxxxxxx]
Sent: Thursday 19 May 2005 12:49
To: dbi-users@xxxxxxxx
Subject: gcc loading question


I am trying to load gcc 3.3.2 in order to load and compile perl 5.8 and
finally load DBI.

I am using UNIX OS with Solaris 8 on a SunBlade 2000.



This is what I did:



# cd /local/icab11/gcc_load
# ls
gcc-3.3.2.tar
# tar xvf gcc-3.3.2.tar
# cd gcc-3.3.2

# cd /home
# mkdir objdir
# chmod 777 objdir
# cd objdir
# /local/icab11/gcc_load/gcc-3.3.2/configure --prefix=/usr

# make bootstrap
..
..

..
creating ./config.status
creating Makefile
creating config.h
mksh: Fatal error in reader: = missing from replacement macro reference
Current working directory /home/objdir/sparc-sun-solaris2.8/libjava
*** Error code 1
make: Fatal error: Command failed for target `all-target-libjava' Current
working directory /home/objdir
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'



Can some help me?



Thanks



Oscar




- - - - - - - Appended by Scientific-Atlanta, Inc. - - - - - - -
This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer.



Relevant Pages

  • Re: gcc loading question
    ... Why gcc 3.3.2 instead of, say, 4.0.0? ... I assume Perl 5.8.6 and not anything earlier... ... > I am trying to load gcc 3.3.2 in order to load and compile perl 5.8 and ... > # chmod 777 objdir ...
    (perl.dbi.users)
  • Re: Make problem Building 64 bit Perl 5.8.8 from source on Solaris 10 with gcc 3.4.6
    ... Upgrade your gcc and get the sun code generator if you want it from SUN... ... But the reason I'm trying to compile Perl from source as 64 bit is to ... non root) on Solaris 10. ... From the INSTALL notes I found reference to the Missing Undefined ...
    (perl.dbi.users)
  • Re: What causes this 32 bit problem??
    ... I've tested your DBD::Oracle 1.20 against both PA-RISC and Itanium Machines with the 32 bit versions of 5.8.8 perl. ... The gcc 4.2.2 is the same. ... I did a file command on everything in the library links and they're all 64 bit ... *** Error exit code 1 ...
    (perl.dbi.users)
  • Re: Make problem Building 64 bit Perl 5.8.8 from source on Solaris 10 with gcc 3.4.6
    ... So I'm still trying to find a way to fix this and get Perl installed. ... Solaris 10 with gcc 3.4.6 ... my other email saying that an update to GCC was not crucial. ... compiler or make any changes to the system directories. ...
    (perl.dbi.users)
  • DBD::Informix FAILURE CLASS A gcc: language arch=v9 not recognize d
    ... The error message is: gcc: language arch=v9 not recognized ... A lot of problems I found in the dbi-users mailing list seemed simlar to this error message, but Perl, DBI where compiled with gcc and not a diffrent compiler. ... gcc: esqltest.c: linker input file unused because linking not done ...
    (perl.dbi.users)