Compiling pgsql_perl5-1.9.0

From: Mario Pena <mario(at)tamiu(dot)edu>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Compiling pgsql_perl5-1.9.0
Date: 2001-03-13 15:29:43
Message-ID: 3AAE3CE7.A36D6BF6@tamiu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hello I am having problems with the Perl Module pgsql_perl5-1.8.1.

This is the output of perl -v
mario(at)sol (~/post/pgsql_perl5-1.8.1) 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.

mario(at)sol (~/post/pgsql_perl5-1.8.1)

This is the output of perl -V:
mario(at)sol (~/post/pgsql_perl5-1.8.1) perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris
uname='sunos localhost 5.8 sun4u sparc sunw,ultra-1 '
hint=previous, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-xO3 -xdepend', gccversion=
cppflags=''
ccflags =''
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=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R
/usr/perl5/5.00503/sun4-solaris/CORE'
cccdlflags='-KPIC', lddlflags='-G'

Characteristics of this binary (from libperl):
Built under solaris
Compiled at Dec 22 1999 00:00:57
@INC:
/usr/perl5/5.00503/sun4-solaris
/usr/perl5/5.00503
/usr/perl5/site_perl/5.005/sun4-solaris
/usr/perl5/site_perl/5.005
.
mario(at)sol (~/post/pgsql_perl5-1.8.1)

I am running postgres 7.0.2.

When I try to compile the module I get the following error message:

mario(at)sol (~/post/pgsql_perl5-1.8.1) perl Makefile.PL

Configuring Pg
Remember to actually read the README file !
$POSTGRES_HOME not defined. Searching for PostgreSQL...
Found PostgreSQL in /usr/local/pgsql
Checking if your kit is complete...
Looks good
Writing Makefile for Pg
mario(at)sol (~/post/pgsql_perl5-1.8.1) 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 blib/lib/Pg.pm (blib/lib/auto/Pg)
/usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503
/usr/perl5/5.00503/ExtUtils/xsubpp -typemap
/usr/perl5/5.00503/ExtUtils/typemap -typemap typemap Pg.xs >xstmp.c &&
mv xstmp.c Pg.c
cc -c -I/usr/local/pgsql/include -xO3 -xdepend -DVERSION=\"1.8.1\"
-DXS_VERSION=\"1.8.1\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE
Pg.c
/usr/ucb/cc: language optional software package not installed
gmake: *** [Pg.o] Error 1
mario(at)sol (~/post/pgsql_perl5-1.8.1)

I have no idea why this is happening.

Any advice would be of great assistance. Hope to hear from you soon.

Best Regards,
Mario Pena
Texas A&M International University

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jia L Han 2001-03-13 16:44:12 Re: ecpg?
Previous Message Gunnar R|nning 2001-03-13 11:38:51 Re: JDBC autocommit versus own commits performance