This is a multi-part message in MIME format.
------_=_NextPart_001_01CADC6F.EC614C21
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
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/re entr.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=3D/usr/local/pgsql837-64-perl --with-perl
--with-pgport=3D5400 --enable-thread-safety --enable-integer-datetimes
CC=3D'gcc -maix64' LDFLAGS=3D-'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, cre=
dit
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
__________________________________________________
------_=_NextPart_001_01CADC6F.EC614C21
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 6.5.7638.1">
<TITLE>AIX Postgres Compile Error</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=3D2 FACE=3D"Arial">Hi All,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I am trying to compile Postgres on an AIX =
machine but am getting the following error through the 'make' process</FONT>
</P>
<P><I><FONT SIZE=3D2 FACE=3D"Arial">In file included from /merlin/perl5.10.=
1/lib/5.10.1/aix-thread-multi-64all/CORE/</FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial">op.h:633,  =
; &n=
bsp;  =
; &n=
bsp;  =
; &n=
bsp; </FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial"> &n=
bsp; from /merlin/per=
l5.10.1/lib/5.10.1/aix-thread-multi-64all/CORE/</FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial">perl.h:3420, &n=
bsp;  =
; &n=
bsp;  =
; &n=
bsp;  =
; </FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial"> &n=
bsp; from plperl.h:31=
, &n=
bsp;  =
; &n=
bsp; </FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial"> &n=
bsp; from plperl.c:34=
: &n=
bsp;  =
; &n=
bsp; </FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial">/merlin/perl5.10.1/lib/5.10.1/aix-thre=
ad-multi-64all/CORE/reentr.h:780: error: f</FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial">ield '_srandom_struct' has incomplete =
type  =
; &n=
bsp;  =
; </FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial">gmake[3]: *** [plperl.o] Error 1 =
&nb=
sp; =
&nb=
sp; </FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial">gmake[3]: Leaving directory `/merlin/l=
en-files/postgres/postgres82-83/postgresql</FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial">-8.3.7/src/pl/plperl'  =
; &n=
bsp;  =
; &n=
bsp;  =
; </FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial">gmake[2]: *** [all] Error 1  =
; &n=
bsp;  =
; &n=
bsp;  =
; </FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial">gmake[2]: Leaving directory `/merlin/l=
en-files/postgres/postgres82-83/postgresql</FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial">-8.3.7/src/pl' =
&nb=
sp; =
&nb=
sp; =
</FONT><=
/I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial">gmake[1]: *** [all] Error 2  =
; &n=
bsp;  =
; &n=
bsp;  =
; </FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial">gmake[1]: Leaving directory `/merlin/l=
en-files/postgres/postgres82-83/postgresql</FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial">-8.3.7/src' &nb=
sp; =
&nb=
sp; =
&nb=
sp; =
</FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial">gmake: *** [all] Error 2 &n=
bsp;  =
; &n=
bsp;  =
; &n=
bsp; </FONT></I>
<BR><I><FONT SIZE=3D2 FACE=3D"Arial">make: 1254-004 The error code from the=
last command is 2</FONT></I><FONT SIZE=3D2 FACE=3D"Arial">.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Perl is installed and working with out iss=
ue on this machine and if I take the -perl option out of the compile switch=
es it installs fine. Perl was compiled with gcc.</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">The compile options that I'm using are as =
follows :</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">./configure --prefix=3D/usr/local/pgsql837=
-64-perl --with-perl --with-pgport=3D5400 --enable-thread-safety --enable-i=
nteger-datetimes CC=3D'gcc -maix64' LDFLAGS=3D-'Wl,-bbigtoc'</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Any suggestions around this problem would =
be greatly appreciated, I'm trying to complile Postgres 8.3.7</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Francis &nbs=
p; </FONT>
</P>
</BODY>
___________________________________________________
This email is intended for the named recipient. The information conta=
ined
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 bankin=
g,
credit or debit card information by email or any other form of =
communication. = 20 =
=
=
=
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
__________________________________________________
</HTML>
------_=_NextPart_001_01CADC6F.EC614C21--
