Re: pl-perl for 64 bits in Solaris 9

From: Felipe de Jesús Molina Bravo <fjmolinabravo(at)gmail(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pl-perl for 64 bits in Solaris 9
Date: 2010-07-08 04:50:40
Message-ID: AANLkTikXQWc8Vuk86OU2Vbe9AtIojVSvSiRmpGxfb5OP@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

El 26 de junio de 2010 16:56, Felipe de Jesús Molina Bravo <
fjmolinabravo(at)gmail(dot)com> escribió:

>
>
> 2010/6/25 John R Pierce <pierce(at)hogranch(dot)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...
>
>>
>>
>> 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.
>>
>>
> I tried from
> http://developers.sun.com/sunstudio/downloads/
>
>
> it is an upgrade ..... and it is only for solaris 10. I will find old
> version
>
>
> well.... after many problems i can install sunstudio 11; but now my problem
is:

- environment:
bash-2.05# echo $CC
/opt/SunStudio/bin/cc

bash-2.05# echo $CFLAGS
-xarch=v9 -O

- my configure was:

./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?

thank's in advanced...

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Arnaud Lesauvage 2010-07-08 07:09:18 Re: 'default nextval()' loses schema-qualification in dump ?
Previous Message Harshad Pethe 2010-07-08 04:25:19 Harshad Pethe wants to stay in touch on LinkedIn