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.