[CLUE-Tech] trouble with installation of DBD-PG

joel cjabbe at uswest.net
Sun Feb 4 09:40:30 MST 2001


jason at matchingmoms.com wrote:

> I'm trying to install version 0.93 or 0.95 of DBD:Pg.  I'm getting the
> following error with either one: root /usr/lib/perl5/5.005/DBD-Pg-0.93
> 14:14:52>perl Makefile.PL
> Configuring Pg
> Remember to actually read the README file !
> OS: linux
> Using DBI 1.14 installed in
> /usr/local/lib/site_perl/i386-linux/auto/DBI
> Writing Makefile for DBD::Pg
> root /usr/lib/perl5/5.005/DBD-Pg-0.93 14:14:59>make
> cc -c
> -I/usr/lib:/usr/lib/perl5/5.005/DBD-Pg-0.93:/usr/include:/usr/include/linux
> -I/usr/local/lib/site_perl/i386-linux/auto/DBI -Dbool=char -DHAS_BOOL
> -D_REENTRANT -DDEBIAN -I/usr/local/include -O2    -DVERSION=\"0.93\"
> -DXS_VERSION=\"0.93\" -fPIC -I/usr/lib/perl5/5.005/i386-linux/CORE
> Pg.c
> In file included from Pg.xs:13:
> Pg.h:13: libpq-fe.h: No such file or directory
> make: *** [Pg.o] Error 1 ---------- root
> /usr/lib/perl5/5.005/DBD-Pg-0.93 14:15:02>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.
> ----------- root /usr/lib/perl5/5.005/DBD-Pg-0.93 14:17:48>perl -V
> Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
>   Platform:
>     osname=linux, osvers=2.2.15pre14, archname=i386-linux
>     uname='linux them 2.2.15pre14 #2 smp mon mar 13 14:29:00 est 2000
> i686 unknown '
>     hint=recommended, useposix=true, d_sigaction=define
>     usethreads=undef useperlio=undef d_sfio=undef
>   Compiler:
>     cc='cc', optimize='-O2 ', gccversion=2.95.2 20000313 (Debian
> GNU/Linux)
>     cppflags='-Dbool=char -DHAS_BOOL -D_REENTRANT -DDEBIAN
> -I/usr/local/include'
>     ccflags ='-Dbool=char -DHAS_BOOL -D_REENTRANT -DDEBIAN
> -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 -lndbm -lgdbm -ldbm -ldb -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 Apr 30 2000 12:08:38
>   @INC:
>     /usr/lib/perl5/5.005/i386-linux
>     /usr/lib/perl5/5.005
>     /usr/local/lib/site_perl/i386-linux
>     /usr/local/lib/site_perl
>     /usr/lib/perl5
>     .------------  postgres /usr/lib/perl5/5.005/DBI 14:20:25>psql
> 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 2.95.2]

Well, first off, there is a MUCH newer version of Postgres available. It
up to v7.03.

The  file you need should be in /usr/local/pgsql/include or
thereabouts.  You should have an environment variable POSTGRES_INCLUDE
pointing there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue-tech/attachments/20010204/68078377/attachment.html


More information about the clue-tech mailing list