Try: export PATH=$PATH:/path/to/pg_config ./scons/scons.py configure
etc Regards, Artem 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

