Truble with version 1.9.0 of pgsql_perl5

From: "Igor N(dot) Avtaev" <ain(at)usi(dot)ru>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Truble with version 1.9.0 of pgsql_perl5
Date: 2000-08-17 11:28:46
Message-ID: 399BCC6E.3524C7E6@usi.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi! Help me please!

I have compilation error. What can I do? Thank you.

-------------------------------
$ POSTGRES_INCLUDE=/opt/var/pgsql/include
$ POSTGRES_LIB=/opt/var/pgsql/lib
$ LD_LIBRARY_PATH=/opt/var/pgsql/lib
$ export POSTGRES_INCLUDE POSTGRES_LIB LD_LIBRARY_PATH
-------------------------------
$ perl Makefile.PL
Configuring Pg
Remember to actually read the README file !
OS: svr4
Checking if your kit is complete...
Looks good
Writing Makefile for Pg
-------------------------------
$ gmake
mkdir ./blib
mkdir ./blib/lib
mkdir ./blib/arch
mkdir ./blib/arch/auto
mkdir ./blib/arch/auto/Pg
mkdir ./blib/lib/auto
mkdir ./blib/lib/auto/Pg
mkdir ./blib/man3
cp Pg.pm ./blib/lib/Pg.pm
AutoSplitting Pg (./blib/lib/auto/Pg)
/opt/bin/perl -I/opt/lib/perl5/i386-svr4/5.00404 -I/opt/lib/perl5
/opt/lib/perl5/ExtUtils/xsubpp -typemap /opt/lib/perl5/ExtUtils/typemap
-typemap typemap Pg.xs >Pg.tc && mv Pg.tc Pg.c
/bin/cc -c -I/opt/var/pgsql/include -I/usr/include -I/usr/ucbinclude
-I/usr/local/include -O -DVERSION=\"1.9.0\" -DXS_VERSION=\"1.9.0\"
-Kpic -I/opt/lib/perl5/i386-svr4/5.00404/CORE Pg.c
UX:acomp: WARNING: "Pg.c", line 258: end-of-loop code not reached
UX:acomp: WARNING: "Pg.c", line 278: end-of-loop code not reached
UX:acomp: WARNING: "Pg.c", line 575: end-of-loop code not reached
UX:acomp: WARNING: "Pg.c", line 595: end-of-loop code not reached
UX:acomp: WARNING: "Pg.c", line 615: argument is incompatible with
prototype: arg #2
UX:acomp: WARNING: "Pg.c", line 617: end-of-loop code not reached
UX:acomp: ERROR: "Pg.xs", line 435: undefined symbol: PL_sv_undef
UX:acomp: ERROR: "Pg.xs", line 435: operands have incompatible
types: op ":"
UX:acomp: WARNING: "Pg.c", line 1220: end-of-loop code not reached
UX:acomp: ERROR: "Pg.xs", line 666: undefined symbol: PL_sv_undef
UX:acomp: WARNING: "Pg.xs", line 666: assignment type mismatch
UX:acomp: WARNING: "Pg.c", line 1704: end-of-loop code not reached
UX:acomp: WARNING: "Pg.c", line 1730: end-of-loop code not reached
UX:acomp: WARNING: "Pg.c", line 1755: end-of-loop code not reached
gmake: *** [Pg.o] Error 1

------------------------------------------------
SCO Unixware 2.1.3, SCO Unixware SDK
Database: PostgreSQL 7.0.2
Version of pgsql_perl5 - 1.9.0
------------------------------------------------
$ perl -v
This is perl, version 5.004_04 built for i386-svr4

Copyright 1987-1997, Larry Wall

Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5.0 source
kit.

$ perl -V
Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
Platform:
osname=svr4, osvers=, archname=i386-svr4
uname='unix_sv sparky 4.2mp 2.1 i386 x86at '
hint=recommended, useposix=true, d_sigaction=define
bincompat3=y useperlio=undef d_sfio=undef
Compiler:
cc='/bin/cc', optimize='-O', gccversion=
cppflags='-I/usr/include -I/usr/ucbinclude -I/usr/local/include'
ccflags ='-I/usr/include -I/usr/ucbinclude -I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=4, usemymalloc=y, prototype=define
Linker and Libraries:
ld='/bin/cc', ldflags ='-L/usr/ccs/lib -L/usr/ucblib
-L/usr/local/lib -L/usr/gnu/lib'
libpth=/usr/local/lib /usr/gnu/lib /shlib /lib /usr/lib /usr/ccs/lib
/usr/ucblib
libs=-lsocket -lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lucb -lx
libc=/shlib/libc.so.1.1, so=so
useshrplib=true, libperl=libperl.so.4.4
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-Kpic', lddlflags='-G -L/usr/ccs/lib -L/usr/ucblib
-L/usr/local/lib -L/usr/gnu/lib'

Characteristics of this binary (from libperl):
Built under svr4
Compiled at Jan 5 1998 18:54:56
@INC:
/opt/lib/perl5/i386-svr4/5.00404
/opt/lib/perl5
/opt/lib/perl5/site_perl/i386-svr4
/opt/lib/perl5/site_perl
.

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Robert Rothe 2000-08-17 13:33:58 Re: ODBC Example with VB5?
Previous Message Ashley Clark 2000-08-17 02:12:01 Re: ODBC Example with VB5?