Ok, that suggestion is correct! I compiled with

python scons/scons.py  PGSQL_INCLUDES=/usr/include/postgresql \
PGSQL_LIBS=/usr/lib

and after installing the mapnik library the generate_image.py from the osm 
mapnik tree accesses the database and a lot of stuff is drawn.

Great. Thanks Steve, Artem and Cartinus!

On Tue, 18 Mar 2008, Cartinus wrote:

> On Tuesday 18 March 2008 17:32:05 ivom wrote:
>> When I run scons/scons.py -h I see amongst other stuff
>>
>> Checking for C library pq... no
>>
>> INPUT_PLUGINS: Input drivers to include
>>      (all|none|comma-separated list of names)
>>      allowed names: postgis shape raster gdal
>>      default: all
>>      actual: postgis shape raster gdal
>>
>> does this mean i have the postgis.input plug-in or not?
>
> This means you don't have it, but you do want it.
>
> I know you're not running Debian, but your problem seems the same as I had. I
> wrote my solution in the wiki:
> http://wiki.openstreetmap.org/index.php/Mapnik#Compiling_the_new_Mapnik_0.5_from_source_on_Debian_Etch_.28stable.29
>
> I.O.W., you need to use PGSQL_INCLUDES, so scons can find libpq.
>
> --
> m.v.g.,
> Cartinus
> _______________________________________________
> 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