Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-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

pgsql-odbc by date

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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group