plperl with 5.7.0

From: Alexander Klimov <ask(at)wisdom(dot)weizmann(dot)ac(dot)il>
To: pgsql-bugs(at)postgresql(dot)org
Subject: plperl with 5.7.0
Date: 2001-03-11 11:40:08
Message-ID: Pine.SUN.4.21.0103111335420.18181-100000@dardar.wisdom.weizmann.ac.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi.

I use bleadperl and try to compile plperl with it:
SunOS iridium 5.6 Generic_105181-20 sun4u sparc SUNW,Ultra-5_10
gcc version 3.1 20010308 (experimental)
perl5 (revision 5.0 version 7 subversion 0)
pgsql from CVS

configure --prefix=${PREFIX}/pgsql --with-tcl --with-perl --with-python
--with-openssl --with-CXX && make

....
make[4]: Entering directory
`/export/home/ask/build/postgresql-cvs/src/pl/plperl'
gcc -c -I../../../src/include -I/usr/local/ssl/include -D_REENTRANT
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC
-I/usr/local/bperl/lib/5.7.0/sun4-solaris-thread-multi/CORE plperl.c
In file included from plperl.c:80:
/usr/local/bperl/lib/5.7.0/sun4-solaris-thread-multi/CORE/perl.h:2172: 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:240: warning: passing arg 2 of `perl_parse' from incompatible
pointer type
plperl.c:248: `my_perl' undeclared (first use in this function)
plperl.c: In function `plperl_create_sub':
plperl.c:317: `my_perl' undeclared (first use in this function)
plperl.c: In function `plperl_init_shared_libs':
plperl.c:385: `my_perl' undeclared (first use in this function)
plperl.c:385: warning: passing arg 3 of `Perl_newXS' from incompatible
pointer type
plperl.c:386: warning: passing arg 3 of `Perl_newXS' from incompatible
pointer type
plperl.c: In function `plperl_call_perl_func':
plperl.c:397: `my_perl' undeclared (first use in this function)
plperl.c: In function `plperl_func_handler':
plperl.c:499: `my_perl' undeclared (first use in this function)
plperl.c: In function `plperl_build_tuple_argument':
plperl.c:2158: `my_perl' undeclared (first use in this function)
make[4]: *** [plperl.o] Error 1
make[4]: Leaving directory
`/export/home/ask/build/postgresql-cvs/src/pl/plperl'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/export/home/ask/build/postgresql-cvs/src/pl/plperl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/home/ask/build/postgresql-cvs/src/pl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/home/ask/build/postgresql-cvs/src'
make: *** [all] Error 2

Regards,
ASK

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2001-03-11 21:35:39 pygresql returns incorrect result with fetchone
Previous Message pgsql-bugs 2001-03-10 14:37:04 PG 7.0.3SuSE7-1: /usr/include/pgsql/os.h points to nowhere