Thank you! That worked first time.

Dane Springmeyer wrote:
> On Nov 26, 2009, at 9:04 AM, Artem Pavlenko wrote:
>
>> Try:
>>
>> export PATH=$PATH:/path/to/pg_config
>> ./scons/scons.py configure
>>
>
>
> Exactly, and and Scons supports:
>
> python scons/scons.py PG_CONFIG=/path/to/pg_config
>
> More info see: 
> http://trac.mapnik.org/wiki/UsingScons#SummaryofChangesbetween0.5.xand0.6.0 
>
>
> 'pg_config' being the program supplied by postgres that details the 
> postgres install configuration.
>
> On ubuntu, for example, this requires installing the postgres-dev 
> package, which is 'postgresql-server-dev-8.4'
>
> More info see: http://trac.mapnik.org/wiki/UbuntuInstallation
>
> Dane
>
>
>
>>
>> 2009/11/26 Richard Ive <[email protected]>
>> Hi all,
>>
>> I'm having an issue running the ./genereate_tiles.py script now. I 
>> get this error:
>>
>> [r...@maps mapnik]# ./generate_tiles.py
>> render_tiles( (-180.0, -90.0, 180.0, 90.0) 
>> /home/richard/software/mapnik-osm/mapnik/osm.xml 
>> /home/richard/mapnik-osm/mapnik/tiles/ 0 5 World )
>> Traceback (most recent call last):
>>   File "./generate_tiles.py", line 195, in ?
>>     render_tiles(bbox, mapfile, tile_dir, 0, 5, "World")
>>   File "./generate_tiles.py", line 126, in render_tiles
>>     renderer = RenderThread(tile_dir, mapfile, queue, printLock, 
>> maxZoom)
>>   File "./generate_tiles.py", line 59, in __init__
>>     mapnik.load_map(self.m, mapfile, True)
>> UserWarning: Could not create datasource. No plugin found for type 
>> 'postgis' (encountered during parsing of layer 'leisure')
>>
>> I've looked in /usr/local/lib/mapnik/input/ and the postgis.input 
>> file is missing.
>>
>> [r...@maps mapnik]# ll /usr/local/lib/mapnik/input/
>> total 428
>> -rwxr-xr-x 1 root root 119809 Nov 26 20:27 raster.input
>> -rwxr-xr-x 1 root root 305988 Nov 26 20:27 shape.input
>> [r...@maps mapnik]#
>>
>> Weirdly when I ran the scons build and install it never listed 
>> "Checking for C library pq... no" - so It obviously didn't fail.
>>
>>
>> Any ideas?
>>
>> Regards,
>> Richard Ive.
>>
>> _______________________________________________
>> 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
>
>

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

Reply via email to