Thread: ...
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
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 > >
>> 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 For recent Perls, you need to configure plperl correctly: perl Makefile.PL POLLUTE=1 make all make install The POLLUTE hack won't be necessary anymore in 7.1, but for now it is. regards, tom lane