[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug in perl 5.8?



I've upgraded to perl 5.8.0-10 and am getting this error in compiling
the current CVS version of PostgreSQL.  No-one on the PostgreSQL lists
seems to have experienced this, and I think it is caused by the perl
upgrade:

sh-2.05b$ pwd
/home/olly/pgsql.cvs/pgsql/src/pl/plperl
sh-2.05b$ make
gcc -O2 -g -fpic -I. -I/usr/lib/perl/5.8.0/CORE -I../../../src/include
-I/usr/include/tcl8.3  -c -o plperl.o plperl.c -MMD
In file included from /usr/lib/perl/5.8.0/CORE/op.h:480,
                 from /usr/lib/perl/5.8.0/CORE/perl.h:2209,
                 from plperl.c:67:
/usr/lib/perl/5.8.0/CORE/reentr.h:602: field `_crypt_struct' has
incomplete type
In file included from /usr/lib/perl/5.8.0/CORE/perl.h:3368,
                 from plperl.c:67:
/usr/lib/perl/5.8.0/CORE/proto.h:246: parse error before `off64_t'
/usr/lib/perl/5.8.0/CORE/proto.h:248: parse error before
`Perl_do_sysseek'
/usr/lib/perl/5.8.0/CORE/proto.h:248: parse error before `off64_t'
/usr/lib/perl/5.8.0/CORE/proto.h:248: warning: data definition has no
type or storage class
/usr/lib/perl/5.8.0/CORE/proto.h:249: parse error before `Perl_do_tell'
/usr/lib/perl/5.8.0/CORE/proto.h:249: warning: data definition has no
type or storage class
/usr/lib/perl/5.8.0/CORE/proto.h:1378: parse error before
`Perl_PerlIO_tell'
/usr/lib/perl/5.8.0/CORE/proto.h:1378: warning: data definition has no
type or storage class
/usr/lib/perl/5.8.0/CORE/proto.h:1379: parse error before `off64_t'
make: *** [plperl.o] Error 1


Can anyone see the reason for this problem?

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                            
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "For what shall it profit a man, if he shall gain the 
      whole world, and lose his own soul?"      Mark 8:36 



Reply to: