On Sun, 5 Dec 2004, Michael Fuhr wrote:

> On Mon, Dec 06, 2004 at 01:38:27AM -0500, [EMAIL PROTECTED] 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


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to