Thread: error compiling plperl

error compiling plperl

From
"Edward Q. Bridges"
Date:
In trying to compile the plperl extension language for
postgres, i get the below error messages.  i have not
been able to find where "errgv" and "na" are declared
nor what datatype they are.

is plperl "really" working?  or is this just an experimental
sort of thing?  has anyone gotten it to work successfully?

thanks
ed


plperl.c: In function `plperl_create_sub':
plperl.c:331: `errgv' undeclared (first use in this function)
plperl.c:331: (Each undeclared identifier is reported only once
plperl.c:331: for each function it appears in.)
plperl.c:337: `na' undeclared (first use in this function)
plperl.c: In function `plperl_call_perl_func':
plperl.c:447: `errgv' undeclared (first use in this function)
plperl.c:453: `na' undeclared (first use in this function)
plperl.c: In function `plperl_func_handler':
plperl.c:657: `na' undeclared (first use in this function)
plperl.c: In function `plperl_build_tuple_argument':
plperl.c:2195: `na' undeclared (first use in this function)
make: *** [plperl.o] Error 1





Re: error compiling plperl

From
Tom Lane
Date:
Try
    perl Makefile.PL POLLUTE=1
and go from there.  plperl seems to have a lot of portability problems
still, but that's the first thing you need with recent Perls.

            regards, tom lane

Re: error compiling plperl

From
"Edward Q. Bridges"
Date:
thanks a lot, that worked!

ed


On Tue, 19 Sep 2000 13:35:54 -0400, Tom Lane wrote:

> Try
>     perl Makefile.PL POLLUTE=1
> and go from there.  plperl seems to have a lot of portability problems
> still, but that's the first thing you need with recent Perls.
>
>             regards, tom lane
>