Slackware 8.1, linux 2.4.18 i586, gcc version 2.95.3 20010315 (release)

This is perl, v5.6.1 built for i386-linux (is this too old?)

parts from config.log
configure:4214: checking for perl
configure:4232: found /usr/local/bin/perl
configure:4244: result: /usr/local/bin/perl
configure:4253: checking for Perl archlibexp
configure:4256: result: /usr/lib/perl5/i386-linux
configure:4258: checking for Perl privlibexp
configure:4261: result: /usr/lib/perl5
configure:4263: checking for Perl useshrplib
configure:4266: result: false
configure:4269: checking for flags to link embedded Perl
configure:4274: result:   -L/usr/local/lib
/usr/lib/perl5/i386-linux/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/i386-linux/CORE -lperl -lnsl -ldl -lm -lc -lcrypt
-lutil

ac_cv_path_PERL=/usr/local/bin/perl



make[4]: Leaving directory
`/usr/local/src/postgresql-7.4beta3/src/pl/tcl/modules'
make[3]: Leaving directory
`/usr/local/src/postgresql-7.4beta3/src/pl/tcl'
make[3]: Entering directory
`/usr/local/src/postgresql-7.4beta3/src/pl/plperl'
gcc -O2 -g -fpic -I. -I/usr/lib/perl5/i386-linux/CORE
-I../../../src/include   -c -o plperl.o plperl.c -MMD
plperl.c: In function `plperl_create_sub':
plperl.c:306: warning: passing arg 1 of `perl_call_pv' from incompatible
pointer type
plperl.c:306: warning: passing arg 2 of `perl_call_pv' makes pointer
from integer without a cast
plperl.c:306: too few arguments to function `perl_call_pv'
plperl.c:317: `thr' undeclared (first use in this function)
plperl.c:317: (Each undeclared identifier is reported only once
plperl.c:317: for each function it appears in.)
plperl.c: In function `plperl_call_perl_func':
plperl.c:425: warning: passing arg 1 of `perl_call_sv' from incompatible
pointer type
plperl.c:425: warning: passing arg 2 of `perl_call_sv' makes pointer
from integer without a cast
plperl.c:425: too few arguments to function `perl_call_sv'
plperl.c:437: `thr' undeclared (first use in this function)
plperl.c: In function `plperl_build_tuple_argument':
plperl.c:810: warning: passing arg 1 of `perl_eval_pv' from incompatible
pointer type
plperl.c:810: warning: passing arg 2 of `perl_eval_pv' makes pointer
from integer without a cast
plperl.c:810: too few arguments to function `perl_eval_pv'
make[3]: *** [plperl.o] Error 1
make[3]: Leaving directory
`/usr/local/src/postgresql-7.4beta3/src/pl/plperl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/postgresql-7.4beta3/src/pl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/postgresql-7.4beta3/src'
make: *** [all] Error 2

any ideas?
need any other info?


thanks in advance,
Robert Treat
-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


24 Sep 2003 11:20:19 -0400
Robert Treat <xzilla@users.sourceforge.net>
compile failure with beta3 and --with-perl
Robert Treat <xzilla@users.sourceforge.net> writes:
> Slackware 8.1, linux 2.4.18 i586, gcc version 2.95.3 20010315 (release)
> This is perl, v5.6.1 built for i386-linux (is this too old?)

Hm.  On HPUX 10.20, I can report that CVS tip plperl seems to work with
perl 5.8.0 (at least it can execute a simple function).  Using 5.6.1
instead, it builds without complaint and I can "createlang plperl", but
executing the perl_max example from the docs causes a core dump inside
the Perl interpreter.

I have some recollection that I never could get 5.6.1 to work with
plperl on this machine, so this isn't necessarily a regression.

It's odd that you see a compile failure though.  Are you sure you have
used matching header files and Perl libraries?

			regards, tom lane

Wed, 24 Sep 2003 18:20:45 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: compile failure with beta3 and --with-perl 