pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedplperl does not build on RH7.1
4+ messages / 3 participants
[nested] [flat]
* plperl does not build on RH7.1
@ 2003-12-21 20:23 Stefan Holzheu <stefan.holzheu@bitoek.uni-bayreuth.de>
2003-12-21 21:20 ` plperl does not build on RH7.1 Stefan Holzheu <stefan.holzheu@bitoek.uni-bayreuth.de>
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Holzheu @ 2003-12-21 20:23 UTC (permalink / raw)
To: pgsql-admin
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
-----------------------------
^ permalink raw reply [nested|flat] 4+ messages in thread
* plperl does not build on RH7.1
2003-12-21 20:23 plperl does not build on RH7.1 Stefan Holzheu <stefan.holzheu@bitoek.uni-bayreuth.de>
@ 2003-12-21 21:20 ` Stefan Holzheu <stefan.holzheu@bitoek.uni-bayreuth.de>
2003-12-21 22:56 ` Re: plperl does not build on RH7.1 Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Holzheu @ 2003-12-21 21:20 UTC (permalink / raw)
To: pgsql-admin
In the previous message I have forgotten to give some important information:
postgresql 7.4
perl 5.6.1
> 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
-----------------------------
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: plperl does not build on RH7.1
2003-12-21 20:23 plperl does not build on RH7.1 Stefan Holzheu <stefan.holzheu@bitoek.uni-bayreuth.de>
2003-12-21 21:20 ` plperl does not build on RH7.1 Stefan Holzheu <stefan.holzheu@bitoek.uni-bayreuth.de>
@ 2003-12-21 22:56 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 4+ messages in thread
From: Tom Lane @ 2003-12-21 22:56 UTC (permalink / raw)
To: Stefan Holzheu <stefan.holzheu@bitoek.uni-bayreuth.de>; +Cc: pgsql-admin
Stefan Holzheu <stefan.holzheu@bitoek.uni-bayreuth.de> writes:
> In the previous message I have forgotten to give some important information:
> postgresql 7.4
> perl 5.6.1
>> 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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: plperl does not build on RH7.1
@ 2003-12-22 08:20 Holzheu <holzheu@bitoek.uni-bayreuth.de>
0 siblings, 0 replies; 4+ messages in thread
From: Holzheu @ 2003-12-22 08:20 UTC (permalink / raw)
To: pgsql-admin
--------- Original-Nachricht --------
Von: Tom Lane <tgl@sss.pgh.pa.us>
An: Stefan Holzheu <stefan.holzheu@bitoek.uni-bayreuth.de>
Cc: ADMIN <pgsql-admin@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.
>
> 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
>
>
>
>
>
>
>
________________________________________________
Message sent using UebiMiau 2.7.2
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2003-12-22 08:20 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-12-21 20:23 plperl does not build on RH7.1 Stefan Holzheu <stefan.holzheu@bitoek.uni-bayreuth.de>
2003-12-21 21:20 ` Stefan Holzheu <stefan.holzheu@bitoek.uni-bayreuth.de>
2003-12-21 22:56 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-12-22 08:20 Re: plperl does not build on RH7.1 Holzheu <holzheu@bitoek.uni-bayreuth.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox