On Sat, 2008-11-15 at 22:58 +0530, Waruna De Silva wrote:
> Hi all, 
> 
> Previously i was using mapnik with out, any errors, but when i updated
> my Ubuntu 8.04 to 8.10 ,

Mapnik is packaged for Ubuntu already which might save you some trouble:
http://packages.ubuntu.com/intrepid/libmapnik0.5


>  i am 
> getting following errors, it seems like module version mis match. 
> 
> /usr/lib/python2.5/site-packages/mapnik/__init__.py:31:
> RuntimeWarning: Python C API version mismatch for module _mapnik: This
> Python has API version 1013, module _mapnik has version 1012.
>   from _mapnik import *

That looks like _mapnik was built for python-2.4 instead of python-2.5

> i build mapnik again and try 
> and i also run the scons.py as well , but i didnt work

Did you clean the old objects (with: scons -c) before building the new
ones? It might be worth making sure that you don't have any stray copies
of python-2.4 development headers around which could be picked up by
mistake.

The 'scons' output should tell you which version it is building for:

[EMAIL PROTECTED] mapnik]$ scons                     
scons: Reading SConscript files ...                
Building on Linux ...                              
pkg-config --exists cairomm-1.0                    
Checking for C library m... (cached) yes           
Checking for C library ltdl... (cached) yes
Checking for C library png... (cached) yes
Checking for C library tiff... (cached) yes
Checking for C library z... (cached) yes
Checking for C library jpeg... (cached) yes
Checking for C library proj... (cached) yes
Checking for C library pq... (cached) yes
Checking for C++ library icuuc... (cached) yes
Checking for C++ library icudata... (cached) yes
Checking for C++ library gdal... (cached) yes
Checking for C++ library boost_system-mt... (cached) no
Checking for C++ library boost_filesystem-mt... (cached) yes
Checking for C++ library boost_regex-mt... (cached) yes
Checking for C++ library boost_iostreams-mt... (cached) yes
Checking for C++ library boost_program_options-mt... (cached) yes
Checking for C++ library boost_thread-mt... (cached) yes
Bindings Python version... 2.5
Python 2.5 prefix... /usr
^^^^^^^^^^

        Jon


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

Reply via email to