pgsql_perl5-1.9.0 install problem - Mailing list pgsql-interfaces

From Mark Johannessen
Subject pgsql_perl5-1.9.0 install problem
Date
Msg-id 4.3.2.7.0.20020307131406.00a9e440@mail.3of4.com
Whole thread Raw
List pgsql-interfaces
<font face="Times New Roman, Times">Hope you can help on this ....<br /><br /> I've read the README and am trying to
installpgsql_perl5-1.9.0 on a linux box.<br /><br /> I can Makefile:<br /><br /> =====<br /> [nnn@ns1
pgsql_perl5-1.9.0]$perl Makefile.PL<br /> Configuring Pg<br /> Remember to actually read the README file !<br /> OS:
linux<br/> Writing Makefile for Pg<br /> [nnn@ns1 pgsql_perl5-1.9.0]$<br /> =====<br /><br /> ... but when I make
....<br/><br /> =====<br /> [nnn@ns1 pgsql_perl5-1.9.0]$ make<br /> cc -c -I/usr/include/pgsql/libpq-fe.h -Dbool=char
-DHAS_BOOL-I/usr/local/includ<br /> e -O2 -m486 -fno-strength-reduce    -DVERSION=\"1.9.0\" -DXS_VERSION=\"1.9.0\" -<br
/>fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE  Pg.c<br /> make: cc: Command not found<br /> make: *** [Pg.o] Error
127<br/> [nnn@ns1 pgsql_perl5-1.9.0]$<br /> =====<br /><br /> Here's perl -v and perl -V:<br /><br /> ========<br />
[nnn@ns1pgsql_perl5-1.9.0]$ perl -v<br /><br /> This is perl, version 5.005_03 built for i386-linux<br /><br />
Copyright1987-1999, Larry Wall<br /><br /> Perl may be copied only under the terms of either the Artistic License or
the<br/> GNU General Public License, which may be found in the Perl 5.0 source kit.<br /><br /> Complete documentation
forPerl, including FAQ lists, should be found on<br /> this system using `man perl' or `perldoc perl'.  If you have
accessto the<br /> Internet, point your browser at <a eudora="autourl"
href="http://www.perl.com/">http://www.perl.com/</a>,the Perl Home Page.<br /><br /> [nnn@ns1 pgsql_perl5-1.9.0]$<br
/><br/> =====<br /> [nnn@ns1 pgsql_perl5-1.9.0]$ perl -V<br /> Summary of my perl5 (5.0 patchlevel 5 subversion 3)
configuration:<br/>   Platform:<br />     osname=linux, osvers=2.2.5-22smp, archname=i386-linux<br />     uname='linux
porky.devel.redhat.com2.2.5-22smp #1 smp wed jun 2 09:11:51 ed<br /> t 1999 i686 unknown '<br />     hint=recommended,
useposix=true,d_sigaction=define<br />     usethreads=undef useperlio=undef d_sfio=undef<br />   Compiler:<br />    
cc='cc',optimize='-O2 -m486 -fno-strength-reduce', gccversion=egcs-2.91.66<br /> 19990314/Linux (egcs-1.1.2 release)<br
/>    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'<br />     ccflags ='-Dbool=char -DHAS_BOOL
-I/usr/local/include'<br/>     stdchar='char', d_stdstdio=undef, usevfork=false<br />     intsize=4, longsize=4,
ptrsize=4,doublesize=8<br />     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12<br />    
alignbytes=4,usemymalloc=n, prototype=define<br />   Linker and Libraries:<br />     ld='cc', ldflags ='
-L/usr/local/lib'<br/>     libpth=/usr/local/lib /lib /usr/lib<br />     libs=-lnsl -ldl -lm -lc -lposix -lcrypt<br />
   libc=, so=so, useshrplib=false, libperl=libperl.a<br />   Dynamic Linking:<br />     dlsrc=dl_dlopen.xs, dlext=so,
d_dlsymun=undef,ccdlflags='-rdynamic'<br />     cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'<br /><br /><br
/>Characteristics of this binary (from libperl):<br />   Built under linux<br />   Compiled at Feb  2 2000 15:35:58<br
/>  @INC:<br />     /usr/lib/perl5/5.00503/i386-linux<br />     /usr/lib/perl5/5.00503<br />    
/usr/lib/perl5/site_perl/5.005/i386-linux<br/>     /usr/lib/perl5/site_perl/5.005<br />     <br /> =====<br /><br /> I
havepermissions to create a database and can log in:<br /><br /> =====<br /> [nnn@ns1 pgsql_perl5-1.9.0]$ psql my_db<br
/>Welcome to the POSTGRESQL interactive sql monitor:<br />   Please read the file COPYRIGHT for copyright terms of
POSTGRESQL<br/> [PostgreSQL 6.5.3 on i686-pc-linux-gnu, compiled by gcc egcs-2.91.66]<br /><br />    type \? for help
onslash commands<br />    type \q to quit<br />    type \g or terminate with semicolon to execute query<br />  You are
currentlyconnected to the database: city_council<br /><br /> my_db=><br /> =====<br /><br /> Finally - here's my
linuxversion:<br /><br /> =====<br /> Linux version 2.2.14-5.0 (root@porky.devel.redhat.com) (gcc version
egcs-2.91.66<br/>  19990314/Linux (egcs-1.1.2 release)) #1 Tue Mar 7 20:53:41 EST 2000<br /> Detected 233866953 Hz
processor.<br/> =====<br /><br /> I have libpq.so and libpq-fe.h.<br /><br /> Can you spot the problem with make?<br
/><br/> Thank you.<br /><br /> Mark Johannessen</font> 

pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: HeapTuple layout
Next
From: Bruce Badger
Date:
Subject: Re: Beating Oracle