Re: gcc loading question



Comments prefixed JL...


On 5/19/05, Rutherdale, Will <Will.Rutherdale@xxxxxxxxxx> wrote:
>
> This question is off topic because it's not directly a DBI issue.
>
> However I've had experience going through such a merry-go-round on a Sun
> box, so I can sympathize.
>
> What I've found works is
> - do most of the install procedure only through your local account, not
> root



JL: Agreed. The build should not be done as root. I don't install as root
either, but that's not necessarily a good idea.


- carefully read the steps in the README



JL: Yes - except that most of the documentation is not in that file; it is
in the INSTALL sub-directory in index.html and links from that.

- only do the 'make install' from root
> - cd into the directory that resulted from your 'tar xvf' command and work
> from there



That is explicitly unrecommended in current versions of GCC - I would not
advise doing it.

For GCC 4.0.0, you need to have nearly 2 GB spare disk space available under
the build area. You need about 650 MB for the installed software.


In other words, your key problem may have been trying to be fancy and
> running the configure command from a different directory. Just keep it
> simple and do the make in your untar directory.
>
> -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?
>



--
Jonathan Leffler <jonathan.leffler@xxxxxxxxx> #include <disclaimer.h>
Guardian of DBD::Informix - v2005.01 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."


Relevant Pages

  • RE: Perl DBI Installation error
    ... If you do not know what gcc is, you have bigger problems than not ... Subject: Perl DBI Installation error ... No gcc, no install. ...
    (perl.dbi.users)
  • RE: DBI compile on HPUX-11.23
    ... Are you using gcc? ... If so use the native HP-UX compiler. ... I have a problem compiling DBI on HPUX 11.23 Ittanium ... You can install them any time after installing the DBI. ...
    (perl.dbi.users)
  • Re: Perl DBI Installation error
    ... Subject: Perl DBI Installation error ... No gcc, no install. ...
    (perl.dbi.users)
  • RE: Perl DBI Installation error
    ... No gcc, no install. ... DBI thread mutex protection is enabled ... *** Error exit code 127 ...
    (perl.dbi.users)
  • RE: Perl DBI Installation error
    ... Subject: Perl DBI Installation error ... No gcc, no install. ...
    (perl.dbi.users)