RE: - Mailing list pgsql-general
From | Callis, Adam |
---|---|
Subject | RE: |
Date | |
Msg-id | FD79C9F7FA9DD311862700508B6F3F4F02433A55@usashexch02.corp.us.uu.net Whole thread Raw |
In response to | (Winston Williams <WWilliams@Dentrix.com>) |
List | pgsql-general |
Hello, on my Solaris 2.6, Perl 5.6.0 I was able to get it to compile The commands are as follows -> perl Makefile.PL POLLUTE=1 gmake gmake install Once I get it that far, I have to set my enviroment var LD_RUN_PATH = /usr/local/pgsql/lib LD_LIBRARY_PATH = /usr/local/pgsql/lib PGLIB = /usr/local/pgsql/lib PGDATA = /usr/local/pgsql/data Then I run createlang plperl template1 Then I run postmaster and it runs just fine. I created the default function -> totalcomp and when I run it I get this -> Can't locate 6.0/.6.0/ in @INC (@INC contains: /usr/local/lib/perl5/5.6.0/sun4-solaris /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at -e line 1. ERROR: creation of function failed : (in cleanup) Can't call method "0 /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at -e line 1. " without a package or object reference at -e line 1. Anyone else this far that can help me through it? Thanks Adam -----Original Message----- From: oberpwd@anubis.network.com To: turing2000@mail.ru Cc: pgsql-general@postgresql.org Sent: 11/27/00 10:30 AM Subject: Re: [GENERAL] I ran into these same errors with Perl-5.6.0. Has anyone built PLPerl with Perl-5.6.0? (I ended up going back to Perl 5.005_03). Wade Oberpriller > > Sorry for my previos letter, it was wrong. > > Deal ( question ) are 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's that may be? > > turing2000 > >
pgsql-general by date: