Discussion:
plperl does not build on RH7.1
(too old to reply)
Stefan Holzheu
2003-12-21 20:23:09 UTC
Permalink
Is there a way to build plperl on RH7.1?

Here the error output:

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'


Thanks in advance

Stefan
--
-----------------------------
Dr. Stefan Holzheu
Tel.: 0921/55-5720
Fax.: 0921/55-5799
BITOeK Wiss. Sekretariat
Universitaet Bayreuth
D-95440 Bayreuth
-----------------------------


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ***@postgresql.org so that your
message can get through to the mailing list cleanly
Stefan Holzheu
2003-12-21 21:20:37 UTC
Permalink
In the previous message I have forgotten to give some important information:

postgresql 7.4
perl 5.6.1
Post by Stefan Holzheu
Is there a way to build plperl on RH7.1?
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: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: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'
Thanks in advance
Stefan
--
-----------------------------
Dr. Stefan Holzheu
Tel.: 0921/55-5720
Fax.: 0921/55-5799
BITOeK Wiss. Sekretariat
Universitaet Bayreuth
D-95440 Bayreuth
-----------------------------


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
Tom Lane
2003-12-21 22:56:06 UTC
Permalink
Post by Stefan Holzheu
postgresql 7.4
perl 5.6.1
Post by Stefan Holzheu
Is there a way to build plperl on RH7.1?
You need this patch:

2003-11-24 08:16 petere

* configure, configure.in, src/include/pg_config.h.in,
src/interfaces/ecpg/ecpglib/connect.c,
src/interfaces/ecpg/ecpglib/misc.c, src/port/thread.c,
src/tools/thread/thread_test.c: Rename USE_THREADS to
ENABLE_THREAD_SAFETY to avoid name clash with Perl. Fixes
compilation failure with --enable-thread-safety --with-perl and
Perl 5.6.1.

Or, don't do --enable-thread-safety.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org
Holzheu
2003-12-22 08:20:42 UTC
Permalink
--------- Original-Nachricht --------
Von: Tom Lane <***@sss.pgh.pa.us>
An: Stefan Holzheu <***@bitoek.uni-bayreuth.de>
Cc: ADMIN <pgsql-***@postgresql.org>
Betreff: Re: [ADMIN] plperl does not build on RH7.1
Datum: 22/12/03 00:34

Thanks, Tom. I will try after Christmas.
Post by Tom Lane
2003-11-24 08:16 petere
* configure, configure.in, src/include/pg_config.h.in,
src/interfaces/ecpg/ecpglib/connect.c,
src/interfaces/ecpg/ecpglib/misc.c, src/port/thread.c,
src/tools/thread/thread_test.c: Rename USE_THREADS to
ENABLE_THREAD_SAFETY to avoid name clash with Perl. Fixes
compilation failure with --enable-thread-safety --with-perl and
Perl 5.6.1.
Or, don't do --enable-thread-safety.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
________________________________________________
Message sent using UebiMiau 2.7.2


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Loading...