7.3b3 build --with-perl fails on RH 8.0 - Mailing list pgsql-hackers

From P.J. \"Josh\" Rovero
Subject 7.3b3 build --with-perl fails on RH 8.0
Date
Msg-id 3DBD3092.90606@sonalysts.com
Whole thread Raw
Responses Re: 7.3b3 build --with-perl fails on RH 8.0  (snpe <snpe@snpe.co.yu>)
List pgsql-hackers
RH 8.0 has perl 5.8, here are the details:

 From config.log:

configure:4159: checking for perl
configure:4177: found /usr/bin/perl
configure:4189: result: /usr/bin/perl
configure:4198: checking for Perl archlibexp
configure:4201: result: /usr/lib/perl5/5.8.0/i386-linux-thread-multi
configure:4203: checking for Perl privlibexp
configure:4206: result: /usr/lib/perl5/5.8.0
configure:4208: checking for Perl useshrplib
configure:4211: result: true
configure:4214: checking for flags to link embedded Perl
configure:4219: result:   -L/usr/local/lib
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -lperl -lnsl -ldl
-lm -lpthread -lc -lcrypt -lutil

from gmake:
gmake[3]: Entering directory
`/localhome/rovero/postgresql-7.3b3/src/pl/plperl'
gcc -O2 -fpic -I. -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE
-I../../..
/src/include   -c -o plperl.o plperl.c
In file included from
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/op.h:480
,
                  from
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2
209,
                  from plperl.c:61:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:602: field
`_crypt_st
ruct' has incomplete type
In file included from
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:3
368,
                  from plperl.c:61:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:246: parse
error befor
e "off64_t"
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:248: parse
error befor
e "Perl_do_sysseek"
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:248: parse
error befor
e "off64_t"
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:248: warning:
data def
inition has no type or storage class
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:249: parse
error befor
e "Perl_do_tell"
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:249: warning:
data def
inition has no type or storage class
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:1378: parse
error befo
re "Perl_PerlIO_tell"
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:1378: warning:
data de
finition has no type or storage class
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:1379: parse
error befo
re "off64_t"
gmake[3]: *** [plperl.o] Error 1
gmake[3]: Leaving directory
`/localhome/rovero/postgresql-7.3b3/src/pl/plperl'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/localhome/rovero/postgresql-7.3b3/src/pl'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/localhome/rovero/postgresql-7.3b3/src'
gmake: *** [all] Error 2


--
P. J. "Josh" Rovero                                 Sonalysts, Inc.
Email: rovero@sonalysts.com    www.sonalysts.com    215 Parkway North
Work: (860)326-3671 or 442-4355                     Waterford CT 06385
***********************************************************************


pgsql-hackers by date:

Previous
From: Dennis Björklund
Date:
Subject: string freeze
Next
From: "Bruce David"
Date:
Subject: Trigger on 'create table' ?