Re: 8.0.3 on AIX 5.3 and PERL - Mailing list pgsql-ports

From Mohan, Ross
Subject Re: 8.0.3 on AIX 5.3 and PERL
Date
Msg-id CC74E7E10A8A054798B6611BD1FEF4D307966E00@vamail01.thexchange.com
Whole thread Raw
In response to 8.0.3 on AIX 5.3 and PERL  ("Vincenzo Volpe" <v.volpe@ita.sas.com>)
List 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@postgresql.org [mailto:pgsql-ports-owner@postgresql.org] On Behalf Of Vincenzo Volpe
Sent: Tuesday, May 24, 2005 7:27 AM
To: pgsql-ports@postgresql.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

 

 

pgsql-ports by date:

Previous
From: 6 июня Мосва
Date:
Subject: передайте главному бухгалтеру
Next
From: "Mohan, Ross"
Date:
Subject: Are PG Binaries GNU C, C99, or...