Re: postgres/perl problem in 7.3b5 - Mailing list pgsql-general

From Neil Conway
Subject Re: postgres/perl problem in 7.3b5
Date
Msg-id 87isz9c7xd.fsf@mailbox.samurai.com
Whole thread Raw
In response to postgres/perl problem in 7.3b5  (Jeff Davis <list-pgsql-general@empires.org>)
Responses Re: postgres/perl problem in 7.3b5  (Jeff Davis <list-pgsql-general@empires.org>)
Re: postgres/perl problem in 7.3b5  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general
Jeff Davis <list-pgsql-general@empires.org> writes:
> gcc -O2 -fpic -I. -I/usr/lib/perl/5.8.0/CORE -I../../../src/include   -c -o
> plperl.o plperl.c
> 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:61:
> /usr/lib/perl/5.8.0/CORE/reentr.h:602: field `_crypt_struct' has incomplete
> type

Yes, this is a known problem (I believe the culprit is a bug in Perl
5.8.0 on Linux). I think Tom has decided on a reasonable workaround
for the problem, so it should be fixed in rc1.

You can workaround this by adding '-D_GNU_SOURCE' to the CFLAGS for
PL/Perl.

Cheers,

Neil

--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: postgres/perl problem in 7.3b5
Next
From: Joe Conway
Date:
Subject: Re: BYTEA problem - ERROR: Bad input string for type bytea