Re: pl-perl for 64 bits in Solaris 9

From: John R Pierce <pierce(at)hogranch(dot)com>
To: MOLINA BRAVO FELIPE DE JESUS <felipe(dot)molina(at)inegi(dot)org(dot)mx>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pl-perl for 64 bits in Solaris 9
Date: 2010-06-25 23:00:15
Message-ID: 4C2534FF.1040309@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dennis C 2010-06-25 23:59:17 Re: PG dump and restore
Previous Message Felipe de Jesús Molina Bravo 2010-06-25 21:47:20 pl-perl for 64 bits in Solaris 9