From: Mario Pena <mario@tamiu.edu>
To: pgsql-interfaces@postgresql.org
Subject: Compiling pgsql_perl5-1.9.0
Date: Tue, 13 Mar 2001 09:29:43 -0600
Message-ID: <3AAE3CE7.A36D6BF6@tamiu.edu> (raw)
Hello I am having problems with the Perl Module pgsql_perl5-1.8.1.
This is the output of perl -v
mario@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@sol (~/post/pgsql_perl5-1.8.1)
This is the output of perl -V:
mario@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@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@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@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@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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: mario@tamiu.edu
Subject: Re: Compiling pgsql_perl5-1.9.0
In-Reply-To: <3AAE3CE7.A36D6BF6@tamiu.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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