Re: pl-perl for 64 bits in Solaris 9 - Mailing list pgsql-general

From John R Pierce
Subject Re: pl-perl for 64 bits in Solaris 9
Date
Msg-id 4C2534FF.1040309@hogranch.com
Whole thread Raw
In response to pl-perl for 64 bits in Solaris 9  ("MOLINA BRAVO FELIPE DE JESUS" <felipe.molina@inegi.org.mx>)
Responses Re: pl-perl for 64 bits in Solaris 9
List pgsql-general
On 06/25/10 2:21 PM, MOLINA BRAVO FELIPE DE JESUS wrote:
> Hi
>
> I don't have experience with solaris. I know it is a 64 bits:
>
> bash-2.05# isainfo -v
> 64-bit sparcv9 applications
> 32-bit sparc applications
>
>
>
> I tried to compile postgres (Version of postgres: 8.4.4 ) with plperl for 64 bits. The options for the configure are:
>
> /configure --with-CC=/usr/local/bin/gcc  --with-perl  --with-libxml --with-libxslt
>

I would use the SunStudio c/c++ compiler for Sun Sparc, especially 64bit
sparc.  All the sun stuff is built with Sun Studio (/opt/SUNWspro/bin/cc
etc).

the perl thats built into solaris 9 is likely a little old, and may not
be 64bit, I'm not sure.  k, on my sol9 sparc legacy test system(a V240),
/usr/bin/perl is 32bit.   There is no /usr/bin/sparcv9/perl

so, you'll need to build your own 64bit perl if you want to link it to a
64bit postgres.





pgsql-general by date:

Previous
From: "MOLINA BRAVO FELIPE DE JESUS"
Date:
Subject: pl-perl for 64 bits in Solaris 9
Next
From: Dennis C
Date:
Subject: Re: PG dump and restore