On 28 Feb 2008, at 12:23, Xin wrote:

Hi,

I am having issue compiling the Postgres input plugin.

Default compile does not compile postgis. Setting it to 'all' or 'shape,raster,postgres' doesn't work either.

Looking at postgres input's make file, I thought it could be a PGSQL_LIB issue.

The default is ofcourse /usr/lib.

My libs are in /usr/lib/postgresql/8.3/lib

So I tried setting it to the above folder:
> python scons/scons.py PGSQL_LIBS=/usr/lib/postgresql/8.3/lib


You need provide PGSQL_INCLUDES=/usr/include/postgresql (or whatever is correct for your setup)

Artem


and...

>  ls plugins/input/postgis/
connection.hpp connection_manager.hpp Makefile.am postgis.cpp postgisfs.cpp postgis.hpp property_index.hpp resultset.hpp SConscript

I'm ran out of ideas. :(

Any help is much appreciated.

Cheers,
Xin

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to