Skip site navigation (1) Skip section navigation (2)

failure while make the command (make test) with pgsql_perl on solaris7 - sparc20

From: Tatzreiter Josef <contact(at)tatzreiter(dot)com>
To: "'pgsql-interfaces(at)postgresql(dot)org'" <pgsql-interfaces(at)postgresql(dot)org>
Subject: failure while make the command (make test) with pgsql_perl on solaris7 - sparc20
Date: 1999-09-28 10:37:21
Message-ID: 01BF09AE.35E590E0.contact@tatzreiter.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
dear ladies and gentleman

i have a sirious problem with the perl interface for postgresql

when i will make the < make test > then i failure occured with the 
following output
make: Fatal error: Command failed for target `test_dynamic'


please would you be so kind and send me an email with a comment what i make 
false.

all the dependend information will you find below

best regards and thank so lot

joseph tatzreiter
mailto:contact(at)tatzreiter(dot)com

************************************************************************  
***********************************
perl Makefile.PL
Configuring Pg
Remember to actually read the README file !
Found PostgreSQL in /usr/local
Writing Makefile for Pg


make
gcc -c -I/usr/local/include -I/usr/local/include -O     -DVERSION=\"1.8.1\" 
 -DXS_VERSION=\"1.8.1\" -fPIC 
-I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE  Pg.c
In file included from /usr/local/include/postgres.h:43,
                 from /usr/local/include/libpq/pqcomm.h:18,
                 from /usr/local/include/libpq-int.h:28,
                 from Pg.xs:17:
/usr/local/include/utils/elog.h:19: warning: `DEBUG' redefined
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:1474: warning: this 
is the location of the previous definition

Running Mkbootstrap for Pg ()
chmod 644 Pg.bs
LD_RUN_PATH="/usr/local/lib" gcc -o blib/arch/auto/Pg/Pg.so 
-R/usr/local/lib -G -L/usr/local/lib Pg.o    -L/usr/local/lib -lpq
chmod 755 blib/arch/auto/Pg/Pg.so
cp Pg.bs blib/arch/auto/Pg/Pg.bs
chmod 644 blib/arch/auto/Pg/Pg.bs
Manifying blib/man3/Pg.3

make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503 
test.pl
*** Error code 139
make: Fatal error: Command failed for target `test_dynamic'



pgsql_perl - Version
5-1.8.1

Machine
SunOS sparc20 5.7 Generic sun4m sparc SUNW,SPARCstation-20

POSTGRESQL - VERSION

Welcome to the POSTGRESQL interactive sql monitor:
  Please read the file COPYRIGHT for copyright terms of POSTGRESQL
[PostgreSQL 6.5.0 on sparc-sun-solaris2.7, compiled by gcc egcs-2.91.60]

perl -v

This is perl, version 5.005_03 built for sun4-solaris

Copyright 1987-1999, 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.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.7, archname=sun4-solaris
    uname='sunos 5.7 generic_patch sun4u sparc sunw,ultra-1 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.8.1
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Built under solaris
  Compiled at Jun 27 1999 20:12:35
  @INC:
    /usr/local/lib/perl5/5.00503/sun4-solaris
    /usr/local/lib/perl5/5.00503
    /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.005

pgsql-interfaces by date

Next:From: Constantin TeodorescuDate: 1999-09-28 10:41:07
Subject: Re: [INTERFACES] problem running pgaccess
Previous:From: Ansley, MichaelDate: 1999-09-28 10:10:35
Subject: RE: [INTERFACES] Re: [HACKERS] Latest tree

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group