AIX Postgres Compile Error - Mailing list pgsql-admin

From Thorne, Francis
Subject AIX Postgres Compile Error
Date
Msg-id 81976671721DF04B9DCA6ECD87941A401F7CD6BD@roundway.Cromwell-tools.co.uk
Whole thread Raw
Responses Re: AIX Postgres Compile Error
List pgsql-admin

Hi All,

I am trying to compile Postgres on an AIX machine but am getting the following error through the 'make' process

In file included from /merlin/perl5.10.1/lib/5.10.1/aix-thread-multi-64all/CORE/
op.h:633,                                                                      
                 from /merlin/perl5.10.1/lib/5.10.1/aix-thread-multi-64all/CORE/
perl.h:3420,                                                                   
                 from plperl.h:31,                                             
                 from plperl.c:34:                                             
/merlin/perl5.10.1/lib/5.10.1/aix-thread-multi-64all/CORE/reentr.h:780: error: f
ield '_srandom_struct' has incomplete type                                     
gmake[3]: *** [plperl.o] Error 1                                               
gmake[3]: Leaving directory `/merlin/len-files/postgres/postgres82-83/postgresql
-8.3.7/src/pl/plperl'                                                          
gmake[2]: *** [all] Error 1                                                    
gmake[2]: Leaving directory `/merlin/len-files/postgres/postgres82-83/postgresql
-8.3.7/src/pl'                                                                 
gmake[1]: *** [all] Error 2                                                    
gmake[1]: Leaving directory `/merlin/len-files/postgres/postgres82-83/postgresql
-8.3.7/src'                                                                    
gmake: *** [all] Error 2                                                       
make: 1254-004 The error code from the last command is 2.

Perl is installed and working with out issue on this machine and if I take the -perl option out of the compile switches it installs fine.  Perl was compiled with gcc.

The compile options that I'm using are as follows :

./configure --prefix=/usr/local/pgsql837-64-perl --with-perl --with-pgport=5400 --enable-thread-safety --enable-integer-datetimes CC='gcc -maix64' LDFLAGS=-'Wl,-bbigtoc'

Any suggestions around this problem would be greatly appreciated, I'm trying to complile Postgres 8.3.7

Thanks
Francis             
___________________________________________________

This email is intended for the named recipient. The information contained
in it is confidential. You should not copy it for any purposes, nor
disclose its contents to any other party. If you received this email
in error, please notify the sender immediately via email, and delete
it from your computer.

Any views or opinions presented are solely those of the author and do not
necessarily represent those of the company.

PCI Compliancy: Please note, we do not send or wish to receive banking,
credit or debit card information by email or any other form of
communication.

Cromwell Tools Limited, PO Box 14, 65 Chartwell Drive
Wigston, Leicester LE18 1AT. Tel 0116 2888000
Registered in England and Wales, Reg No 00986161
VAT GB 115 5713 87 900
__________________________________________________

pgsql-admin by date:

Previous
From: "Martin Münstermann"
Date:
Subject: Re: PostgreSQL with SSL
Next
From: Lewis Kapell
Date:
Subject: Re: Migrating from 8.3 to 8.4 on the same server