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

Re: Bug in perl 5.8?



On Sat, 2002-08-31 at 10:55, Brendan O'Dea wrote:
> On Fri, Aug 30, 2002 at 11:02:30PM +0100, Oliver Elphick wrote:
...
> >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 did gcc -E to check; it is including /usr/lib/perl/5.8.0/CORE/config.h

> I fetched the current postgresql source package and
> 
>     configure --with-perl && make -C src/pl/plperl
> 
> compiled fine.

Yes, it's the upstream CVS that fails; it's quite a lot different from
the current sid package.  The compilation worked OK with perl 5.6,
though.

-- 
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
                 ========================================
     " ...Take heed, and beware of covetousness; for a man's
      life consisteth not in the abundance of the things 
      which he possesseth."       Luke 12:15 



Reply to: