Hello Dane, the problem was that scons wasn't finding my pg_config. So I had to add my Postgres/bin Directory to my path. Then it compiled with necessary postgis plugin...
Thanks for you help! ... I already sent my "HowTo" to this list! Cheers! On Wed, Mar 10, 2010 at 12:46 AM, Dane Springmeyer <[email protected]>wrote: > Sounds like you've now got duplicate mapnik libraries installed (or > partially installed). > > The Mapnik python bindings automatically (at compile time) get installed > with a knowledge of where the postgis plugin lives. Under normal > circumstances this is: > > /usr/local/lib/mapnik/input/postgis.input > > If you have that file things are installed correctly. But if you are > running a different version of Python than you installed with originally > then another version of Mapnik's python bindings might be on your > PYTHONPATH that does not know about that location... > > Tracking down duplicate installs should fix this. > > Dane > > > > On Mar 9, 2010, at 2:08 AM, Dom Lehr wrote: > > Hello, >> >> I m starting to feel a lil stupid... Anyways, when I try to run >> generate_tiles.py, I get : >> >> [r...@hanosm1 mapnik_app]# python2.5 generate_tiles.py >> render_tiles( (8.4813576818000005, 53.0103701114, 8.9830477728000009, >> 53.606166416400001) /opt/mapnik_app/osm.xml /opt/geodata/ 0 5 Bremen ) >> Traceback (most recent call last): >> File "generate_tiles.py", line 210, in <module> >> render_tiles(bbox, mapfile, tile_dir, 0, 5, "Bremen") >> File "generate_tiles.py", line 129, 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) >> RuntimeError: Could not create datasource. No plugin found for type >> 'postgis' (encountered during parsing of layer 'leisure') >> >> I installed postgres 8.3 using postgresql-8.3.9-1-linux-x64.bin PostGIS >> using edb_postgis_1_3_5_pg83.bin. I also installed the matching libraries: >> [r...@hanosm1 PostGIS]# rpm -qa | grep postg >> postgresql-8.3.9-1PGDG.rhel5 >> postgresql-devel-8.3.9-1PGDG.rhel5 >> postgresql-libs-8.3.9-1PGDG.rhel5 >> postgresql-server-8.3.9-1PGDG.rhel5 >> >> Does anyone have an idea? >> >> Thanks a lot! >> >> Dom >> _______________________________________________ >> 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

