RE: [GENERAL] perl dbi:pg

From: "Joseph" <lters(at)mrtc(dot)com>
To: "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net>
Cc: "Pgsql-Odbc(at)Postgresql(dot)Org" <pgsql-odbc(at)postgresql(dot)org>
Subject: RE: [GENERAL] perl dbi:pg
Date: 2001-04-10 23:12:14
Message-ID: JBEPLLKEDKIHJBCHDDOGMEPCCAAA.lters@mrtc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-odbc

Thanks for your help.
I think I got the right perl package now, however I still have a problem
compiling the DBD:pg

make
cc -c -I/install/postgresql/postgresql-snapshot/src/interfaces/libpq -I/usr/
local/lib/perl5/site_perl/5.6.0/i686-linux/auto/DBI -fno-strict-aliasing -I/
usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSI
ON=\"0.96\" -DXS_VERSION=\"0.96\" -fpic -I/usr/local/lib/perl5/5.6.0/i686-li
nux/CORE Pg.c
In file included from Pg.h:17,
from Pg.xs:13:
/install/postgresql/postgresql-snapshot/src/interfaces/libpq/libpq-fe.h:27:
postgres_ext.h: No such file or directory
make: *** [Pg.o] Error 1

DBD-Pg-0.96

This is the enviroment var:
POSTGRES_INCLUDE=/install/postgresql/postgresql-snapshot/src/interfaces/libp
q

> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org
> [mailto:pgsql-general-owner(at)postgresql(dot)org]On Behalf Of Brett W. McCoy
> Sent: Tuesday, April 10, 2001 9:11 AM
> To: Joseph
> Cc: Pgsql-General
> Subject: Re: [GENERAL] perl dbi:pg
>
>
> On Tue, 10 Apr 2001, Joseph wrote:
>
> > I got the pgsql_perl5-1.9.0.tar.gz from CPAN.
> > I set the variables POSTGRES_LIB=/usr/local/pgsql/lib/libpq.so
> > and POSTGRES_INCLUDE=/path_to_/libpq-fe.h
> > However then it complains that it can't find postgres_ext.h
>
> POSTGRES_LIB and POSTGRES_INCLUDE must point to directories, not files.
>
> Keep in mind that this is NOT DBD::Pg -- you are using the native Perl
> interface. DBD::Pg is a different module on CPAN.
>
> -- Brett
> http://www.chapelperilous.net/btfwk/
> ------------------------------------------------------------------------
> Writing about music is like dancing about architecture.
> -- Frank Zappa
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Homayoun Yousefi'zadeh 2001-04-10 23:38:28 Re: JDBC and Perl compiling problems w/ postgresql-7.1rc4
Previous Message Peter Eisentraut 2001-04-10 23:03:55 Re: LOs and pg_dump, restore, vacuum for 7.1

Browse pgsql-odbc by date

  From Date Subject
Next Message Brett W. McCoy 2001-04-11 01:47:03 RE: [GENERAL] perl dbi:pg
Previous Message Williams, Ryan 2001-04-10 21:09:43 Insalling the ODBC driver on Windows