PL/Perl compilation error

From: Alex Guryanow <gav(at)nlr(dot)ru>
To: pgsql-general(at)postgresql(dot)org
Subject: PL/Perl compilation error
Date: 2000-09-02 08:47:58
Message-ID: 9533.000902@nlr.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Hi,

I have just installed Perl 5.6.0 and PostgreSQL 7.0.2. After successfull installation of both these
programs I tried to make PL/Perl support. After running the commands from Postgres manual I have
received the following errors

[root(at)eaccess plperl]# perl Makefile.PL
Writing Makefile for plperl
[root(at)eaccess plperl]# make
cc -c -I../../../src/include -I../../../src/backend -fno-strict-aliasing -D_LAR
GEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.10\" -DXS_VERSION=\"0
.10\" -fpic -I/usr/local/lib/perl5/5.6.0/i686-linux/CORE plperl.c
In file included from plperl.c:76:
/usr/local/lib/perl5/5.6.0/i686-linux/CORE/perl.h:467: warning: `USE_LOCALE' red
efined
../../../src/include/config.h:213: warning: this is the location of the previous
definition
In file included from plperl.c:76:
/usr/local/lib/perl5/5.6.0/i686-linux/CORE/perl.h:2027: warning: `DEBUG' redefin
ed
../../../src/include/utils/elog.h:22: warning: this is the location of the previ
ous 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
[root(at)eaccess plperl]#

What I'm doing wrong?

Regards,
Alex

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Just Me 2000-09-02 09:12:56 ODBC problems solved with latest drivers
Previous Message cn 2000-09-02 02:05:28 Can Multiple Transactions Work In Cascade Triggers And Functions?

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2000-09-02 16:31:11 (Slightly) broken makefiles
Previous Message t-ishii 2000-09-02 08:14:33 Re: Important 7.0.* fix to ensure buffers are released