pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedCompiling pgsql_perl5-1.9.0
2+ messages / 2 participants
[nested] [flat]
* Compiling pgsql_perl5-1.9.0
@ 2001-03-13 15:29 Mario Pena <mario@tamiu.edu>
2001-03-13 21:00 ` Re: Compiling pgsql_perl5-1.9.0 Brian P Millett <bpm@ec-group.com>
0 siblings, 1 reply; 2+ messages in thread
From: Mario Pena @ 2001-03-13 15:29 UTC (permalink / raw)
To: pgsql-interfaces
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Compiling pgsql_perl5-1.9.0
2001-03-13 15:29 Compiling pgsql_perl5-1.9.0 Mario Pena <mario@tamiu.edu>
@ 2001-03-13 21:00 ` Brian P Millett <bpm@ec-group.com>
0 siblings, 0 replies; 2+ messages in thread
From: Brian P Millett @ 2001-03-13 21:00 UTC (permalink / raw)
To: Mario Pena <mario@tamiu.edu>; +Cc: pgsql-interfaces
Mario Pena wrote:
> 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
> 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=
The perl that you are using was compiled with cc='cc'
> /usr/ucb/cc: language optional software package not installed
Since you are on a sparc system running solaris, check the file type of /usr/ucb/cc:
bash-2.03# file /usr/ucb/cc
/usr/ucb/cc: executable /usr/bin/sh script
Yep, its a shell script that is not a compiler. Bets are that you need to fix your PATH to include
the correct 'cc' compiler.
--
Brian Millett
Enterprise Consulting Group "Shifts in paradigms
(314) 205-9030 often cause nose bleeds."
bpm@ec-group.com Greg Glenn
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-03-13 21:00 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-13 15:29 Compiling pgsql_perl5-1.9.0 Mario Pena <mario@tamiu.edu>
2001-03-13 21:00 ` Brian P Millett <bpm@ec-group.com>
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