[OSM-talk] failed to build mapnik with postgres support

Cartinus cartinus at xs4all.nl
Sun May 4 01:47:02 BST 2008


On Sunday 04 May 2008 00:30:22 Hanno Böck wrote:
> Hi,
>
> I'm trying to compile mapnik on gentoo with postgis support.
> scons always says:
> Checking for C library proj... yes
> Checking for C library iconv... no
> Checking for C library pq... no
>
> So it seems it doesn't find the pq library.

You are not telling us how you run scons. So the first obvious question is:

Are you just doing?
$ python scons/scons.py
# python scons/scons.py install


Or are you telling it where to look for the libraries?
$ python scons/scons.py PGSQL_INCLUDES=/usr/include/postgresql ...
# python scons/scons.py install PGSQL_INCLUDES=/usr/include/postgresql ...


-- 
m.v.g.,
Cartinus




More information about the talk mailing list