pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Truble with version 1.9.0 of pgsql_perl5
2+ messages / 2 participants
[nested] [flat]

* Truble with version 1.9.0 of pgsql_perl5
@ 2000-08-17 11:28 Igor N. Avtaev <ain@usi.ru>
  2000-08-19 05:06 ` Re: Truble with version 1.9.0 of pgsql_perl5 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Igor N. Avtaev @ 2000-08-17 11:28 UTC (permalink / raw)
  To: 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
    .





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Truble with version 1.9.0 of pgsql_perl5
  2000-08-17 11:28 Truble with version 1.9.0 of pgsql_perl5 Igor N. Avtaev <ain@usi.ru>
@ 2000-08-19 05:06 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2000-08-19 05:06 UTC (permalink / raw)
  To: Igor N. Avtaev <ain@usi.ru>; +Cc: pgsql-interfaces

"Igor N. Avtaev" <ain@usi.ru> writes:
> I have compilation error. What can I do? Thank you.

> $ perl Makefile.PL

Try "perl Makefile.PL POLLUTE=1", which is what building postgres
7.0.2 would normally do...

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2000-08-19 05:06 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-08-17 11:28 Truble with version 1.9.0 of pgsql_perl5 Igor N. Avtaev <ain@usi.ru>
2000-08-19 05:06 ` 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