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

Re: Bug in perl 5.8?



On Fri, Aug 30, 2002 at 11:02:30PM +0100, Oliver Elphick wrote:
>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:

Is it possible that the compile is including a different version of
crypt.h than the one in /usr/include?  Or config.h from a different
location to perl's CORE directory?

I fetched the current postgresql source package and

    configure --with-perl && make -C src/pl/plperl

compiled fine.

--bod



Reply to: