pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
AIX Postgres Compile Error
2+ messages / 2 participants
[nested] [flat]

* AIX Postgres Compile Error
@ 2010-04-15 07:47  Thorne, Francis <thornef@cromwell.co.uk>
  0 siblings, 1 reply; 2+ messages in thread

From: Thorne, Francis @ 2010-04-15 07:47 UTC (permalink / raw)
  To: 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
__________________________________________________

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: AIX Postgres Compile Error
@ 2010-04-15 14:38  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Thorne, Francis <thornef@cromwell.co.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2010-04-15 14:38 UTC (permalink / raw)
  To: Thorne, Francis <thornef@cromwell.co.uk>; +Cc: pgsql-admin

"Thorne, Francis" <thornef@cromwell.co.uk> writes:
> 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: field '_srandom_struct' has incomplete type

Hmm.  You might try pulling the latest version of ppport.h from our CVS:
http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/ppport.h
to see if that fixes it.  I wouldn't really expect what's in 8.3.7
to work with such a new version of Perl.  If that doesn't do it, try
using a 5.8.x Perl release.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2010-04-15 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-04-15 07:47 AIX Postgres Compile Error Thorne, Francis <thornef@cromwell.co.uk>
2010-04-15 14:38 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox