| From: | Neil Conway <neilc(at)samurai(dot)com> |
|---|---|
| To: | Igor Shevchenko <igor(at)followupmarketer(dot)com> |
| Cc: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: posgresql 7.3beta3 compile error in src/pl/plperl (perl extension) |
| Date: | 2002-11-01 18:27:42 |
| Message-ID: | 87vg3hkuw1.fsf@mailbox.samurai.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Igor Shevchenko <igor(at)followupmarketer(dot)com> writes:
> I've got a compile-time error when trying to build postgresql 7.3beta3 with
> perl:
> gcc -O2 -fpic -I. -I/usr/lib/perl5/5.8.0/i686-linux-thread-multi-64int-ld/CORE
> -I../../../src/include -c -o plperl.o plperl.c
> In file included from
> /usr/lib/perl5/5.8.0/i686-linux-thread-multi-64int-ld/CORE/op.h:480,
> from
> /usr/lib/perl5/5.8.0/i686-linux-thread-multi-64int-ld/CORE/perl.h:2209,
> from plperl.c:61:
> /usr/lib/perl5/5.8.0/i686-linux-thread-multi-64int-ld/CORE/reentr.h:602: field
> `_crypt_struct' has incomplete type
This is a bug in Perl 5.8.0. To workaround it, add '-D_GNU_SOURCE' to
the CFLAGS for PL/Perl.
I'm planning to send in a patch that works around this problem for 7.3
final, but I haven't got a chance yet (if someone feels like doing it,
go right ahead).
Cheers,
Neil
--
Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Stephan Szabo | 2002-11-01 18:47:09 | Re: Bug with child tables referencing parent table? |
| Previous Message | Tom Lane | 2002-11-01 16:03:48 | Re: problem with TRUNCATE TABLE in plpgsql function |