Actually there just needs to be a pg_config check in there... This will completely solve the problem in a cross platform sorta way Something like this in the Makefile LOCAL_CFLAGS=-I`pg_config --pkgincludedir` -I/usr/include ${EXTRA_FLAGS} LOCAL_LDFLAGS=`pg_config --libdir`/libpq.so Maybe a few extra things in there. But that will clean up that pathing issue and this is cross platform for properly installed postgresql K On 3/20/12 9:13 AM, "Bzzz" <lazyvirus@gmx.com> wrote:
On Tue, 20 Mar 2012 08:57:56 -0500 Ken Rice <krice@freeswitch.org> wrote:
That's not a good way to solve the problem... The problem after a quick look is hardcoded paths for pgsql...
Hmm, I didn't check but there's also usually a configure option to point to unusual paths (some' like: --with-thelibIwant=/....)