Re: HELP: language option software package not installed

From: Randall Shutt <randall(at)cscc(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: HELP: language option software package not installed
Date: 2002-01-15 15:37:18
Message-ID: 3C444CAE.4090907@cscc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


It's all good..... The root of the problem lied in the fact that
the default perl install for Solaris8 was built using SUNWspro (Sun's
compiler), and therefore the Config.pm had flags/paths/arguments to
reflect that compiler.... However, we are using the sunfreeware
installs of GCC and associated tools.... The bottom line is that the
Config.pm had to be adjusted to use GCC instead of cc.... Thanks for
the help.

--Randall

Heather Johnson wrote:

>It looks like the user you are when you install postgres does not know the
>path to your compiler. Try installing gcc and use it instead of cc to
>compile postgres. Make sure your user's .profile has the path to gcc before
>installing.
>
>Heather
>
>----- Original Message -----
>From: "Allan C. Huffman" <huffmana(at)ppc(dot)pims(dot)org>
>To: <pgsql-admin(at)postgresql(dot)org>; <shuttr(at)pims(dot)org>
>Sent: Monday, January 14, 2002 12:11 PM
>Subject: [ADMIN] HELP: language option software package not installed
>
>
>>Hello Everyone,
>>
>>It has been sometime since I have installed PostgreSQL. It has been
>>running great with no crashes for like a year! But alas, my faithful
>>Sparc 20 turned belly-up. It is sad to loose an old friend @* | *@
>>
>>I now have a Ultra10 :o) I've loaded Solaris 8 with the companion disk
>>that loaded Perl5. Everything appears to be loaded into
>>/usr/Perl5/5.00503. It looks OK to me but this happens:
>>
>>./configure --with-perl --enable-odbc --enable-syslog --enable-cassert
>>
>>Then during the gmake:
>>
>>cp Pg.pm blib/lib/Pg.pm
>>AutoSplitting blib/lib.Pg.pm (blib/lib/auto/Pg)
>>/usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503
>>/usr/perl5/5.00503/ExtUtils/xsubpp -typemap
>>/usr/perl5/5.00503/ExtUtils/typemap -typemap typemap Pg.xs >xstmp.c &&
>>mv xstmp.c Pg.c cc -c -I/usr/local/pgsql/include -x03 -xdepend
>>-DVERSION=\"1.8.0\" -DXS_VERSION=\"1.8.0\" -KPIC
>>-I/usr/perl5/5.00503/sun4-solaris/CORE Pg.c
>>/usr/ucb/cc: language optional software package not installed
>>gmake[4]: *** [Pg.o] Error 1
>>gmake[4]: Leaving directory
>>'/opt/pgsql/postgresql-7.1.3/src/interfaces/perl5'
>>gmake[3]: *** [Install] Error 2
>>gmake[3]: Leaving directory
>>'/opt/pgsql/postgresql-7.1.3/src/interfaces/perl5'
>>gmake[2]: *** [Install] Error 2
>>gmake[2]: Leaving directory '/opt/pgsql/postgresql-7.1.3/src/interfaces'
>>
>>gmake[1]: *** [Install] Error 2
>>gmake[1]: Leaving directory '/opt/pgsql/postgresql-7.1.3/src'
>>gmake: *** [Install] Error 2
>>
>>
>>
>>
>>---------------------------(end of broadcast)---------------------------
>>TIP 4: Don't 'kill -9' the postmaster
>>
>

--
Randall S. Shutt
Systems Engineer
Computer Systems and Communications Corporation
A General Dynamics Company
randall(at)cscc(dot)net
1-703-814-9105

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jeff Boes 2002-01-15 16:15:16 VACUUM ANALYZE--how often?
Previous Message Steve Boyle (Roselink) 2002-01-15 11:38:14 Re: How do I get off this mailing list