Re: DBD::PgSPI 0.02

From: alex(at)pilosoft(dot)com
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: DBD::PgSPI 0.02
Date: 2004-12-06 07:10:07
Message-ID: Pine.LNX.4.44.0412060206000.16633-100000@bawx.pilosoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Sun, 5 Dec 2004, Michael Fuhr wrote:

> On Mon, Dec 06, 2004 at 01:38:27AM -0500, alex(at)pilosoft(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message alex 2004-12-06 07:16:19 Re: DBD::PgSPI 0.02
Previous Message Rolf stvik 2004-12-06 07:01:47 Re: 3rd RFD: comp.databases.postgresql (was:

Browse pgsql-hackers by date

  From Date Subject
Next Message alex 2004-12-06 07:16:19 Re: DBD::PgSPI 0.02
Previous Message Michael Fuhr 2004-12-06 06:51:03 Re: [HACKERS] DBD::PgSPI 0.02