pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
HELP: language option software package not installed
4+ messages / 4 participants
[nested] [flat]

* HELP: language option software package not installed
@ 2002-01-14 17:11  Allan C. Huffman <huffmana@ppc.pims.org>
  0 siblings, 2 replies; 4+ messages in thread

From: Allan C. Huffman @ 2002-01-14 17:11 UTC (permalink / raw)
  To: pgsql-admin; shuttr@pims.org

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






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

* Re: HELP: language option software package not installed
@ 2002-01-14 21:39  Heather Johnson <hjohnson@nypost.com>
  parent: Allan C. Huffman <huffmana@ppc.pims.org>
  1 sibling, 1 reply; 4+ messages in thread

From: Heather Johnson @ 2002-01-14 21:39 UTC (permalink / raw)
  To: Allan C. Huffman <huffmana@ppc.pims.org>; pgsql-admin; shuttr@pims.org

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@ppc.pims.org>
To: <pgsql-admin@postgresql.org>; <shuttr@pims.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




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

* Re: HELP: language option software package not installed
@ 2002-01-14 21:46  GB Clark <postgres@vsservices.com>
  parent: Allan C. Huffman <huffmana@ppc.pims.org>
  1 sibling, 0 replies; 4+ messages in thread

From: GB Clark @ 2002-01-14 21:46 UTC (permalink / raw)
  To: Allan C. Huffman <huffmana@ppc.pims.org>; +Cc: pgsql-admin; shuttr@pims.org

On Mon, 14 Jan 2002 18:11:59 +0100
"Allan C. Huffman" <huffmana@ppc.pims.org> wrote:

> 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
Hi,

You don't have a C compiler installed.  Or if you do, it is not picking
it up.

This is a OS problem.  It looks like it has not changed since the SunOS 5.X
days...:(

GB


-- 
GB Clark II             | Roaming FreeBSD Admin
gclarkii@VSServices.COM | General Geek 
           CTHULU for President - Why choose the lesser of two evils?



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

* Re: HELP: language option software package not installed
@ 2002-01-15 15:37  Randall Shutt <randall@cscc.net>
  parent: Heather Johnson <hjohnson@nypost.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Randall Shutt @ 2002-01-15 15:37 UTC (permalink / raw)
  To: 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@ppc.pims.org>
>To: <pgsql-admin@postgresql.org>; <shuttr@pims.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@cscc.net
1-703-814-9105






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


end of thread, other threads:[~2002-01-15 15:37 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-01-14 17:11 HELP: language option software package not installed Allan C. Huffman <huffmana@ppc.pims.org>
2002-01-14 21:39 ` Heather Johnson <hjohnson@nypost.com>
2002-01-15 15:37   ` Randall Shutt <randall@cscc.net>
2002-01-14 21:46 ` GB Clark <postgres@vsservices.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox