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=undefCompiler: 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
252000 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)