Re: DBD::PgSPI 0.02 - Mailing list pgsql-hackers

From alex@pilosoft.com
Subject Re: DBD::PgSPI 0.02
Date
Msg-id Pine.LNX.4.44.0412060206000.16633-100000@bawx.pilosoft.com
Whole thread Raw
In response to Re: DBD::PgSPI 0.02  (Michael Fuhr <mike@fuhr.org>)
Responses Re: DBD::PgSPI 0.02
List pgsql-hackers
On Sun, 5 Dec 2004, Michael Fuhr wrote:

> On Mon, Dec 06, 2004 at 01:38:27AM -0500, alex@pilosoft.com wrote:
> > On Sun, 5 Dec 2004, Michael Fuhr wrote:
> > 
> > > Using PostgreSQL 8.0.0rc1 and Perl 5.8.6 on FreeBSD 4.10-STABLE and
> > > Solaris 9, I had to make a couple of changes to get DBD::PgSPI to
> > > build:
> > > 
> > > 1. Add -I$POSTGRES_HOME/include/server to Makefile.PL.  Otherwise
> > > the build fails with:
> >
> > You should point POSTGRES_HOME to "src" directory of your pgsql tree.
> 
> Why should the module need the PostgreSQL source code?  It builds
> fine using the headers under the PostgreSQL install directory (e.g.,
> /usr/local/pgsql/include), at least with 8.0.0rc1.
I don't think the headers I need (postgres.h funcapi.h) are installed in a 
normal install. At least they aren't on my machine. Intrinsically, this 
module needs to know a little bit more about pgsql internals (such as 
TupleDesc definition) than just something that uses libpq...

If I'm wrong, please correct me.

-alex



pgsql-hackers by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: DBD::PgSPI 0.02
Next
From: alex@pilosoft.com
Date:
Subject: Re: DBD::PgSPI 0.02