pgsql_perl5-1.9.0 install problem

From: Mark Johannessen <mfj(at)3of4(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: pgsql_perl5-1.9.0 install problem
Date: 2002-03-07 21:23:16
Message-ID: 4.3.2.7.0.20020307131406.00a9e440@mail.3of4.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hope you can help on this ....

I've read the README and am trying to install pgsql_perl5-1.9.0 on a linux box.

I can Makefile:

=====
[nnn(at)ns1 pgsql_perl5-1.9.0]$ perl Makefile.PL
Configuring Pg
Remember to actually read the README file !
OS: linux
Writing Makefile for Pg
[nnn(at)ns1 pgsql_perl5-1.9.0]$
=====

... but when I make ....

=====
[nnn(at)ns1 pgsql_perl5-1.9.0]$ make
cc -c -I/usr/include/pgsql/libpq-fe.h -Dbool=char -DHAS_BOOL
-I/usr/local/includ
e -O2 -m486 -fno-strength-reduce -DVERSION=\"1.9.0\"
-DXS_VERSION=\"1.9.0\" -
fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE Pg.c
make: cc: Command not found
make: *** [Pg.o] Error 127
[nnn(at)ns1 pgsql_perl5-1.9.0]$
=====

Here's perl -v and perl -V:

========
[nnn(at)ns1 pgsql_perl5-1.9.0]$ perl -v

This is perl, version 5.005_03 built for i386-linux

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.

[nnn(at)ns1 pgsql_perl5-1.9.0]$

=====
[nnn(at)ns1 pgsql_perl5-1.9.0]$ perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=linux, osvers=2.2.5-22smp, archname=i386-linux
uname='linux porky.devel.redhat.com 2.2.5-22smp #1 smp wed jun 2
09:11:51 ed
t 1999 i686 unknown '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-O2 -m486 -fno-strength-reduce',
gccversion=egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)
cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
stdchar='char', d_stdstdio=undef, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lc -lposix -lcrypt
libc=, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Characteristics of this binary (from libperl):
Built under linux
Compiled at Feb 2 2000 15:35:58
@INC:
/usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux
/usr/lib/perl5/site_perl/5.005

=====

I have permissions to create a database and can log in:

=====
[nnn(at)ns1 pgsql_perl5-1.9.0]$ psql my_db
Welcome to the POSTGRESQL interactive sql monitor:
Please read the file COPYRIGHT for copyright terms of POSTGRESQL
[PostgreSQL 6.5.3 on i686-pc-linux-gnu, compiled by gcc egcs-2.91.66]

type \? for help on slash commands
type \q to quit
type \g or terminate with semicolon to execute query
You are currently connected to the database: city_council

my_db=>
=====

Finally - here's my linux version:

=====
Linux version 2.2.14-5.0 (root(at)porky(dot)devel(dot)redhat(dot)com) (gcc version
egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)) #1 Tue Mar 7 20:53:41 EST 2000
Detected 233866953 Hz processor.
=====

I have libpq.so and libpq-fe.h.

Can you spot the problem with make?

Thank you.

Mark Johannessen

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Badger 2002-03-07 22:14:08 Re: Beating Oracle
Previous Message Tom Lane 2002-03-07 17:15:46 Re: HeapTuple layout