Forum OpenACS Q&A: Re: I need help compiling nspostgres-4.0. Im stuck!

Collapse
Posted by Vinod Kurup on
Hi,

It's having trouble finding the postgresql headers, specifically libpq-fe.h. You have to figure out where on your distro this file is located.

On Debian, it's in /usr/include/postgresql , so in the Makefile, I set:

PGINC = /usr/include/postgresql

You may also have to change PGLIB to point to the Postgresql shared libraries on your distro. On Debian, I use:

PGLIB = /usr/lib/postgresql/lib

Good luck!