[OSM-dev] Mapnik: Problems setting up Postgresql

Artem Pavlenko artem at mapnik.org
Tue Mar 6 23:05:30 GMT 2007


Nick,

Try passing PGSQL_INCLUDES=/path/to/postgresql/include and  
PGSQL_LIBS=/pathto/postgresql/libs to scons

Cheers,
Artem

On 6 Mar 2007, at 22:55, Nick Whitelegg wrote:

> Hello everyone,
>
> Thanks for the responses - have managed to get round the problem now.
>
> Still something a bit odd trying to recompile Mapnik with postgresql
> installed. The scons.py script isn't picking up the libpq.so  
> library (I have
> this in /usr/lib; I installed the postgresql-dev package). Any  
> reason for
> this? This is similar to an error I got before I upgraded to etch  
> regarding
> the boost libraries... they *were* there but the scons script  
> wasn't picking
> them up.
>
> Checking for main() in C library m... yes
> Checking for main() in C library ltdl... yes
> Checking for main() in C library png... yes
> Checking for main() in C library tiff... yes
> Checking for main() in C library z... yes
> Checking for main() in C library jpeg... yes
> Checking for main() in C library proj... yes
> Checking for main() in C library pq... no
> Checking for main() in C++ library boost_thread... yes
> Checking for main() in C++ library boost_filesystem... yes
> Checking for main() in C++ library boost_regex... yes
> Checking for main() in C++ library boost_program_options... no
> Checking for main() in C++ library boost_program_options-gcc-mt... no
>
> Thanks,
> Nick
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>





More information about the dev mailing list