pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedError on compiling the perl interface for postgres
2+ messages / 2 participants
[nested] [flat]
* Error on compiling the perl interface for postgres
@ 2000-08-25 14:27 André Luis <andreluis@syscomputing.com.br>
2000-08-28 13:58 ` Re: Error on compiling the perl interface for postgres Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: André Luis @ 2000-08-25 14:27 UTC (permalink / raw)
To: pgsql-interfaces
Hi,
I'm having a problem that i couldn't get rid yet. I've installed all the
postgres 6.5 ok, and it's working very well. But i can't compile the perl
interface. Returns the following:
$ make
cc -c -I/usr/local/pgsql/include -fno-strict-aliasing -I/usr/local/include -
D_LA
RGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.8.0\" -DXS_VERSI
ON=\
"1.8.0\" -fpic -I/usr/local/lib/perl5/5.6.0/i686-linux/CORE Pg.c
Pg.xs: In function `XS_Pg_PQprint':
Pg.xs:583: `na' undeclared (first use in this function)
Pg.xs:583: (Each undeclared identifier is reported only once
Pg.xs:583: for each function it appears in.)
Pg.xs: In function `XS_PG_results_fetchrow':
Pg.xs:1253: `sv_undef' undeclared (first use in this function)
Pg.xs: In function `XS_PG_results_print':
Pg.xs:1293: `na' undeclared (first use in this function)
make: *** [Pg.o] Error 1
Information about my system:
$ perl -v
This is perl, v5.6.0 built for i686-linux
$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.2.16, archname=i686-linux
uname='linux berlim 2.2.16 #1 tue aug 15 15:59:52 brt 2000 i686 unknown
'
config_args='-de'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=unde
f
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux
(egcs-1.1.2
release)
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccflags
='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_F
ILE_OFFSET_BITS=64'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize
=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Aug 25 2000 10:24:57
@INC:
/usr/local/lib/perl5/5.6.0/i686-linux
/usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/i686-linux
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl
.
Thanks very much!!
André Luis
SYS Computing (www.syscomputing.com.br)
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Error on compiling the perl interface for postgres
2000-08-25 14:27 Error on compiling the perl interface for postgres André Luis <andreluis@syscomputing.com.br>
@ 2000-08-28 13:58 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2000-08-28 13:58 UTC (permalink / raw)
To: André Luis <andreluis@syscomputing.com.br>; +Cc: pgsql-interfaces
=?iso-8859-1?B?QW5kcukgTHVpcw==?= <andreluis@syscomputing.com.br> writes:
> I'm having a problem that i couldn't get rid yet. I've installed all the
> postgres 6.5 ok, and it's working very well. But i can't compile the perl
> interface. Returns the following:
You can probably get the perl5 interface to compile against newer Perls
if you do "perl Makefile.PL POLLUTE=1", then make. Better yet, update
to Postgres 7.0.*, where that's done for you.
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-08-28 13:58 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-08-25 14:27 Error on compiling the perl interface for postgres André Luis <andreluis@syscomputing.com.br>
2000-08-28 13:58 ` 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