Having a problem compiling plperl.

Started by KMilleralmost 26 years ago2 messagesgeneral
Jump to latest
#1KMiller
kmiller@2xtreme.net

Having a problem compiling plperl.

My system...

This is perl, v5.6.0 built for i686-linux
Linux 2.2.13 i686

Output from make...

root@svr1:/usr/local/src/postgresql-7.0.2/src/pl/plperl > make

cc -c -I../../../src/include -I../../../src/backend -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fpic -I/usr/lib/perl5/5.6.0/i686-linux/CORE plperl.c
In file included from plperl.c:76:
/usr/lib/perl5/5.6.0/i686-linux/CORE/perl.h:2027: warning: `DEBUG' redefined
../../../src/include/utils/elog.h:22: warning: this is the location of the previous definition
plperl.c: In function `plperl_create_sub':
plperl.c:328: `errgv' undeclared (first use in this function)
plperl.c:328: (Each undeclared identifier is reported only once
plperl.c:328: for each function it appears in.)
plperl.c:334: `na' undeclared (first use in this function)
plperl.c: In function `plperl_call_perl_func':
plperl.c:444: `errgv' undeclared (first use in this function)
plperl.c:450: `na' undeclared (first use in this function)
plperl.c: In function `plperl_func_handler':
plperl.c:654: `na' undeclared (first use in this function)
plperl.c: In function `plperl_build_tuple_argument':
plperl.c:2192: `na' undeclared (first use in this function)
make: *** [plperl.o] Error 1

Any ideas?

TIA, -km

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: KMiller (#1)
Re: Having a problem compiling plperl.

"KMiller" <kmiller@2xtreme.net> writes:

Having a problem compiling plperl.

Try configuring with
perl Makefile.PL POLLUTE=1

Known compatibility problem with newer perls ...

regards, tom lane