|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
install on Ubuntu KarmicHi,
I successfully used Mapnik on Ubuntu 9.4. Lately I upgraded to 9.10. During update there was a complain about python-mapnic package. I just reinstalled this and libmapnik0.6 packeges. Testing in python: >>> import mapnik Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.6/dist-packages/mapnik/__init__.py", line 54, in <module> from _mapnik import * ImportError: libicudata.so.38: cannot open shared object file: No such file or directory >>> and yes, there are only libicuXXX.so.40 files in Karmic libicu38 is not available in this release. Should I create symlinks? Building from source did not work either: $python scons/scons.py {...} g++ -o plugins/input/kismet/kismet_datasource.os -c -DHAVE_LIBXML2 -DHAVE_PYCAIRO -ansi -Wall -pthread -ftemplate-depth-100 -DLINUX -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -DSVN_REVISION=1357 -O3 -finline-functions -Wno-inline -DNDEBUG -DSHAPE_MEMORY_MAPPED_FILE -fPIC -D_REENTRANT -Iagg/include -Iinclude -I. -I/usr/include -I/usr/local/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/postgresql -I/usr/include/pycairo -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng12 plugins/input/kismet/kismet_datasource.cpp plugins/input/kismet/kismet_datasource.cpp: In member function ‘void kismet_datasource::run(const std::string&, unsigned int)’: plugins/input/kismet/kismet_datasource.cpp:272: error: ‘sscanf’ was not declared in this scope scons: *** [plugins/input/kismet/kismet_datasource.os] Error 1 scons: building terminated because of errors. Thanks for any help Peter _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Re: install on Ubuntu KarmicHi Peter,
Should you be using 0.6.1 ? Regards, Artem 2009/11/6 Peter Busai <peter.busai@...> Hi, _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Re: install on Ubuntu Karmic> Testing in python:
> >>> import mapnik Same here, there seems to be a problem with the dependencies. > Building from source did not work either: > $python scons/scons.py I was able to compile 0.61. I just had minor troubles with the Boost installation. Did you run configure before and did it report any missing libraries? --Dennis _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
|
|
|
Re: install on Ubuntu KarmicOn Nov 6, 2009, at 2:08 AM, Peter Busai wrote: > scons: *** [plugins/input/kismet/kismet_datasource.os] Error 1 > scons: building terminated because of errors. > Peter, this is just a problem compiling the KISMET plugin. Edit the 'config.py' in your source directory and remove 'kismet' from the list of INPUT_PLUGINS Dane _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Re: install on Ubuntu KarmicOn Nov 6, 2009, at 3:51 AM, Dennis Luxen wrote: > I was able to compile 0.61. I just had minor troubles with the Boost > installation. Did you run configure before and did it report any > missing > libraries? Dennis, What problems did you run into with the boost libraries? Dane _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Re: install on Ubuntu KarmicOn Nov 6, 2009, at 5:48 AM, Peter Busai wrote: >>>> import mapnik > Problem loading plugin library: /usr/local/lib/mapnik/input/ > sqlite.input > (libtool error: file not found) >>> Yup, sqlite lite might be the dependency that broke in the Karmic Upgrade. Note that this error is not fatal it just means that Mapnik can't use SQLite datasources, and "not found" actually means that the library was found but will not work likely because of linking errors. But all you need to do to fix the error is re-install (so that plugin will get overwritten with a new working one- that is linked correctly), or just remove it: sudo rm /usr/local/lib/mapnik/input/sqlite.input Then '>>> import mapnik' should work without complaining. Dane _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
|
|
|
Re: install on Ubuntu KarmicThanks Dane. That did it.
Peter Dane Springmeyer írta: >> Problem loading plugin library: /usr/local/lib/mapnik/input/sqlite.input >> (libtool error: file not found) > > But all you need to do to fix the error is re-install (so that plugin > will get overwritten with a new working one- that is linked > correctly), or just remove it: > > sudo rm /usr/local/lib/mapnik/input/sqlite.input > > Then '>>> import mapnik' should work without complaining. > > Dane > > _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
| Free embeddable forum powered by Nabble | Forum Help |