Re: 8.0.3 on AIX 5.3 and PERL

From: "Mohan, Ross" <RMohan(at)arbinet(dot)com>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: Re: 8.0.3 on AIX 5.3 and PERL
Date: 2005-06-02 18:38:51
Message-ID: CC74E7E10A8A054798B6611BD1FEF4D307966E00@vamail01.thexchange.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

I (finally) got the same error, after a number
of good PERL compiles.

I think it has to do with library inclusion order.

Rat's nest.


In other news of interest to AIX'ers: Optimization
levels at/above 04 involve IPA by default. I haven't
figured out exactly WHY it breaks the ld step, but it
does.

Use the CPFLAG " -qnoipa " as part of workaround.


-----Original Message-----
From: pgsql-ports-owner(at)postgresql(dot)org [mailto:pgsql-ports-owner(at)postgresql(dot)org] On Behalf Of Vincenzo Volpe
Sent: Tuesday, May 24, 2005 7:27 AM
To: pgsql-ports(at)postgresql(dot)org
Subject: [PORTS] 8.0.3 on AIX 5.3 and PERL

I had different problems (I will write on this) to compile on AIX 5.3 ML1 and eventually done.

The only option I cannot use was the --with-perl.

Here the kind of problem:

./configure CC=/usr/vac/bin/cc --enable-aix64 --with-includes=/opt/freeware/include --with-libraries=/opt/freeware/lib --with-perl

...

gmake[3]: Entering directory `/Inst/postgresql-8.0.3/src/pl/plperl'

/usr/vac/bin/cc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -I. -I../../../src/include -I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE -c -o plperl.o plperl.c

"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 619.16: 1506-007 (S) "struct drand48_data" is undefined.

"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 727.16: 1506-007 (S) "struct random_data" is undefined.

"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 775.16: 1506-007 (S) "struct random_data" is undefined.

gmake[3]: *** [plperl.o] Error 1

gmake[3]: Leaving directory `/Inst/postgresql-8.0.3/src/pl/plperl'

gmake[2]: *** [all] Error 2

gmake[2]: Leaving directory `/Inst/postgresql-8.0.3/src/pl'

gmake[1]: *** [all] Error 2

gmake[1]: Leaving directory `/Inst/postgresql-8.0.3/src'

gmake: *** [all] Error 2

Vincenzo Volpe

Browse pgsql-ports by date

  From Date Subject
Next Message Mohan, Ross 2005-06-03 23:39:26 Are PG Binaries GNU C, C99, or...
Previous Message Marc G. Fournier 2005-05-31 17:45:56 Major flood of mail to lists ...