Hi, as suggested below I tried to reinstall Mapnik the way recommended at http://trac.mapnik.org/wiki/UbuntuInstallation.
There occured two minor errors: > Install optional GIS utilities used for plugins >> $ sudo apt-get install libgdal-dev python2.5-gdal \ >> postgresql-8.3-postgis postgresql-8.3 postgresql-server-dev-8.3 >> postgresql-contrib-8.3 > > > Paket libgdal-dev ist ein virtuelles Paket, das bereitgestellt wird von: > libgdal1-dev 1.5.4-2~intrepid3 > Sie sollten eines explizit zum Installieren auswählen. > E: Paket libgdal-dev hat keinen Installationskandidaten So I had to replace 'libgdal-dev' with 'libgdal1-dev' and > Paket python2.5-gdal ist ein virtuelles Paket, das bereitgestellt wird > von: > python-gdal 1.5.4-2~intrepid3 > Sie sollten eines explizit zum Installieren auswählen. > E: Paket python2.5-gdal hat keinen Installationskandidaten 'python2.5-gdal' with 'python-gdal'. Then I updated the source to rev. 1106 and continued the tutorial. The command $ python scons/scons.py returned this error and that's exactly where I'm stuck.. > /usr/bin/ld: cannot find -lboost_system-mt > collect2: ld gab 1 als Ende-Status zurück > scons: *** [src/libmapnik.so] Error 1 > scons: building terminated because of errors. Unfortunately I didn't study information technologies, just cartography. Please keep this in mind ;) I was very grateful for your help! Thanks a lot! Klaus Am Wed, 01 Apr 2009 16:01:49 +0200 hat Dane Springmeyer <[email protected]> geschrieben: > Okay, that was my hunch. > > The real error is that you can't import 'Map' from the python bindings, > so I doubt they were installed, or they were installed and just did not > end up on your PYTHONPATH. > > I would go back to the source code and do: > > $ sudo python scons/scons.py install > > again. > > Dane > > On Apr 1, 2009, at 1:35 AM, [email protected] wrote: > >> Hi Dane, >> >> Thanks! >> >> I tried out what you suggested -- and got this: >> >> >> $ python >> Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49) >> [GCC 4.3.2] on linux2 >> Type "help", "copyright", "credits" or "license" for more information. >>>>> from mapnik import Map >> Traceback (most recent call last): >> File "<stdin>", line 1, in <module> >> ImportError: cannot import name Map >>>>> m = Map(600, 300) >> Traceback (most recent call last): >> File "<stdin>", line 1, in <module> >> NameError: name 'Map' is not defined >>>>> quit() >> $ >> >> >> So the problem is still there.. >> >> Klaus >> >> >> >> >>> If you do have that line at the top of your script them post back the >>> result of doing this in a python interpreter: >>> >>> >>> from mapnik import Map >>> >>> m = Map(600,300) >>> >>> Let me know if that gives you any errors. _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

