pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPlperl make fails with Error1 at plperl.o (7.0.3)
2+ messages / 2 participants
[nested] [flat]
* Plperl make fails with Error1 at plperl.o (7.0.3)
@ 2000-12-10 22:25 Michael Miyabara-McCaskey <mykarz@miyabara.com>
0 siblings, 1 reply; 2+ messages in thread
From: Michael Miyabara-McCaskey @ 2000-12-10 22:25 UTC (permalink / raw)
To: pgsql-admin; pgsql-interfaces@postgresql.org; +Cc: 'turing2000' <turing2000@mail.ru>
Hello all, I'm resending the message sent by "turing2000" on November 16th.
Because I'm having the exact same problem.
My configuration is as follows: RedHat 7.0, originally installed the RPM
version of PostgreSQL 7.0.2, then downloaded source and upgraded to 7.0.3...
Now that I've gotten further along in my project I have need of a Procedural
Language, and I figured PL/Perl would be easy...
I have been mistaken... as it refuses to compile despite my best efforts.
The error below is EXACTLY the same as what I am getting.
Any help would be appreciated.
-Michael Miyabara-McCaskey
> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of turing2000
> Sent: Thursday, November 16, 2000 8:25 AM
> To: pgsql-admin@postgresql.org
> Subject: [ADMIN]
>
>
>
> Deal ( question ) consist of:
>
> [plperl]# make
> mkdir blib
> mkdir blib/lib
> mkdir blib/arch
> mkdir blib/arch/auto
> mkdir blib/arch/auto/plperl
> mkdir blib/lib/auto
> mkdir blib/lib/auto/plperl
> gcc -c -I../../../src/include -I../../../src/backend
> -fno-strict-aliasing -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.10\"
> -DXS_VERSION=\"0.10\" -fpic
> -I/usr/local/perl/lib/5.6.0/i686-linux/CORE plperl.c
> In file included from plperl.c:76:
> /usr/local/perl/lib/5.6.0/i686-linux/CORE/perl.h:467:
> warning: `USE_LOCALE' redefined
> ../../../src/include/config.h:214: warning: this is the
> location of the previous definition
> In file included from plperl.c:76:
> /usr/local/perl/lib/5.6.0/i686-linux/CORE/perl.h:2027:
> warning: `DEBUG' redefined
> ../../../src/include/utils/elog.h:22: warning: this is the
> location of the previous definition
> plperl.c: In function `plperl_create_sub':
> plperl.c:328: `errgv' undeclared (first use in this function)
> plperl.c:328: (Each undeclared identifier is reported only once
> plperl.c:328: for each function it appears in.)
> plperl.c:334: `na' undeclared (first use in this function)
> plperl.c: In function `plperl_call_perl_func':
> plperl.c:444: `errgv' undeclared (first use in this function)
> plperl.c:450: `na' undeclared (first use in this function)
> plperl.c: In function `plperl_func_handler':
> plperl.c:654: `na' undeclared (first use in this function)
> plperl.c: In function `plperl_build_tuple_argument':
> plperl.c:2192: `na' undeclared (first use in this function)
> make: *** [plperl.o] Error 1
> >
>
> What is that may be?
>
> turing2000
>
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [INTERFACES] Plperl make fails with Error1 at plperl.o (7.0.3)
@ 2000-12-10 23:55 Tom Lane <tgl@sss.pgh.pa.us>
parent: Michael Miyabara-McCaskey <mykarz@miyabara.com>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2000-12-10 23:55 UTC (permalink / raw)
To: mykarz@miyabara.com; +Cc: pgsql-admin@postgresql.org, pgsql-interfaces@postgresql.org, "'turing2000'" <turing2000@mail.ru>
"Michael Miyabara-McCaskey" <mykarz@miyabara.com> writes:
>> plperl.c: In function `plperl_create_sub':
>> plperl.c:328: `errgv' undeclared (first use in this function)
>> plperl.c:328: (Each undeclared identifier is reported only once
>> plperl.c:328: for each function it appears in.)
>> plperl.c:334: `na' undeclared (first use in this function)
>> plperl.c: In function `plperl_call_perl_func':
>> plperl.c:444: `errgv' undeclared (first use in this function)
>> plperl.c:450: `na' undeclared (first use in this function)
>> plperl.c: In function `plperl_func_handler':
>> plperl.c:654: `na' undeclared (first use in this function)
>> plperl.c: In function `plperl_build_tuple_argument':
>> plperl.c:2192: `na' undeclared (first use in this function)
>> make: *** [plperl.o] Error 1
In 7.0.*, for some versions of Perl you must do
perl Makefile.PL POLLUTE=1
make
make install
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-12-10 23:55 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-12-10 22:25 Plperl make fails with Error1 at plperl.o (7.0.3) Michael Miyabara-McCaskey <mykarz@miyabara.com>
2000-12-10 23:55 ` Tom Lane <tgl@sss.pgh.pa.us>
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