teg@redhat.com (Trond Eivind Glomsrød) writes:
> Olivier PRENANT <ohp@pyrenet.fr> writes:
>> It fails because the perl symbols sv-undef and na have been renamed to
>> PL_sv_undef and PL_na;
> FWIW, the postgresql in Red Hat Rawhide is built with perl 5.6.0
> and didn't need any patches to make it build.
The stopgap solution is to sayperl Makefile.PL POLLUTE=1
(in the interfaces/perl5 directory) and then build as usual. This
should happen automatically if you are using Postgres 7.0, but you
could do it manually if you have an older release.
There is a cleaner long-term solution but it involves more work...
regards, tom lane