Re: DBD::PgSPI 0.02

Michael Fuhr <mike@fuhr.org>

From: Michael Fuhr <mike@fuhr.org>
To: alex@pilosoft.com
Cc: pgsql-hackers@postgresql.org
Date: 2004-12-06T07:35:55Z
Lists: pgsql-hackers, pgsql-general
On Mon, Dec 06, 2004 at 02:16:19AM -0500, alex@pilosoft.com wrote:
> On Sun, 5 Dec 2004, Michael Fuhr wrote:
> 
> > 1. Add -I$POSTGRES_HOME/include/server to Makefile.PL.  Otherwise the
> > build fails with:
>
> On second thought: Apparently that if I do 'make install-all-headers' I 
> would get the files I need in include/server. I didn't know this - make 
> install won't install by default. I'll add proper path to makefile for 
> next release (sooner than 3 years this time ;)

I don't know if you want to incorporate this into your Makefile.PL,
but you can get the header and library paths with:

pg_config --includedir
pg_config --includedir-server
pg_config --libdir

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/