then i do:
My questions are:
thank's ....
--
Sent via pgsql-general mailing list (pgsql-...@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
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.
where did this 64bit 5.8.9 come from?
> I try to downloaded SunStudio c/c++ compiler ... but it is not
> free... and the administration don't have it
>
it was free last time I looked. you just have to have a sunsolve
account to access it.
On 06/25/10 2:21 PM, MOLINA BRAVO FELIPE DE JESUS wrote: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).
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
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
On 06/25/10 9:28 PM, Felipe de Jesús Molina Bravo wrote:
original perl is 5.6. so i installed perl 5.8.9 for 64 bit ....and the error is the same... maybe my error is with the compiler, it is "gcc" (3.4.6). is it possible?
where did this 64bit 5.8.9 come from?
it was free last time I looked. you just have to have a sunsolve account to access it.
I try to downloaded SunStudio c/c++ compiler ... but it is not free... and the administration don't have it
2010/6/25 John R Pierce <pie...@hogranch.com>
On 06/25/10 9:28 PM, Felipe de Jesús Molina Bravo wrote:
original perl is 5.6. so i installed perl 5.8.9 for 64 bit ....and the error is the same... maybe my error is with the compiler, it is "gcc" (3.4.6). is it possible?
where did this 64bit 5.8.9 come from?from cpan.... souces....it was compiled...it was free last time I looked. you just have to have a sunsolve account to access it.
I try to downloaded SunStudio c/c++ compiler ... but it is not free... and the administration don't have it
I tried fromit is an upgrade ..... and it is only for solaris 10. I will find old version
- environment:bash-2.05# echo $CC- my configure was:
/opt/SunStudio/bin/cc
bash-2.05# echo $CFLAGS
-xarch=v9 -O./configure --with-CC=/opt/SunStudio/bin/cc --with-perl --without-readline- when i did make, got the next error:make[3]: Entering directory `/export/fmolina/pgsql/postgresql-8.4.4/src/port'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/fmolina/pgsql/postgresql-8.4.4/src/port'
/opt/SunStudio/bin/cc -Xa -xarch=v9 -O -xcode=pic13 -I../../src/include -c -o zic.o zic.c
/opt/SunStudio/bin/cc -Xa -xarch=v9 -O -xcode=pic13 -I../../src/include -c -o ialloc.o ialloc.c
/opt/SunStudio/bin/cc -Xa -xarch=v9 -O -xcode=pic13 -I../../src/include -c -o scheck.o scheck.c
/opt/SunStudio/bin/cc -Xa -xarch=v9 -O -xcode=pic13 zic.o ialloc.o scheck.o localtime.o -L../../src/port -Wl,-rpath,'/usr/local/pgsql/lib' -lpgport -lz -lnsl -lrt -lsocket -ldl -lm -o zic
ld: fatal: option -dn and -P are incompatible
ld: fatal: Flags processing errors
make[2]: *** [zic] Error 1
make[2]: Leaving directory `/export/fmolina/pgsql/postgresql-8.4.4/src/timezone'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/fmolina/pgsql/postgresql-8.4.4/src'
make: *** [all] Error 2
How can solve this problem?