Re: PL/Perl without shared libperl.a

From: Alan Young <alany(at)harleypig(dot)idiglobal(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: PL/Perl without shared libperl.a
Date: 2001-05-11 20:16:52
Message-ID: 01051114220300.01047@harleypig.idiglobal.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 11 May 2001, Tom Lane wrote:
> I believe you could actually use a non-shared libperl.a on Intel Linux;
> just dike out the test for shared-ness in plperl's Makefile.PL.
> The reason it's there is we couldn't think of a direct test for
> position-independent code, which is the real requirement...

Can you tell me how to fix this particular problem in compiling plperl? I've
tried both a threading and non-threading compile of perl as well as a
shared and non-shared compile (both 5.6.0 and 5.6.1) and get the same response
everytime.

The only hint I can find says that you can't do a threaded and shared perl at
the same time, but none of the discussions mentioned plperl and it was 2 years
old.

Thanks for your time.

In file included from plperl.c:80:
/usr/lib/perl5/5.6.1/i686-linux-thread-multi/CORE/perl.h:469: warning: `USE_LOCALE' redefined
../../../src/include/config.h:38: warning: this is the location of the previous definition
In file included from plperl.c:80:
/usr/lib/perl5/5.6.1/i686-linux-thread-multi/CORE/perl.h:2155: warning: `DEBUG' redefined
../../../src/include/utils/elog.h:23: warning: this is the location of the previous definition
plperl.c: In function `plperl_init_all':
plperl.c:195: `my_perl' undeclared (first use in this function)
plperl.c:195: (Each undeclared identifier is reported only once
plperl.c:195: for each function it appears in.)
plperl.c: In function `plperl_init_safe_interp':
plperl.c:243: warning: passing arg 2 of `perl_parse' from incompatible pointer type
plperl.c:251: `my_perl' undeclared (first use in this function)
plperl.c: In function `plperl_create_sub':
plperl.c:320: `my_perl' undeclared (first use in this function)
plperl.c: In function `plperl_init_shared_libs':
plperl.c:387: `my_perl' undeclared (first use in this function)
plperl.c:387: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type
plperl.c:388: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type
plperl.c: In function `plperl_call_perl_func':
plperl.c:399: `my_perl' undeclared (first use in this function)
plperl.c: In function `plperl_func_handler':
plperl.c:500: `my_perl' undeclared (first use in this function)
plperl.c: In function `plperl_build_tuple_argument':
plperl.c:2159: `my_perl' undeclared (first use in this function)
make[1]: *** [plperl.o] Error 1
make[1]: Leaving directory `/home/src/postgresql-7.1/src/pl/plperl'
make: *** [all] Error 2

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mathijs Brands 2001-05-11 20:18:38 Re: Re: How to store gif or jpeg? Thanks!
Previous Message Tom Lane 2001-05-11 20:16:30 Re: name truncation problem in 7.0.0