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-10 02:47:46
Message-ID: AANLkTik-ZCkljHPCpBKDSfXY6x2D3a-xuHaSNgbwZwQJ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?
>
>
Well, this problem was solved changed my PATH enviroment variable .... its
original value:

PATH="/export/fmolina/perl/bin:/opt/SunStudio/bin:/usr/bin:/usr/sbin:/usr/local/bin:."

was change for:

PATH="$PATH:/usr/ucb:"

and no more problem ....:)

regards....

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2010-07-10 07:07:22 Re: simple functions, huge overhead, no cache
Previous Message Andras Fabian 2010-07-09 20:25:49 Re: PG_DUMP very slow because of STDOUT ??