mapnik-python does not build against default python
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mapnik (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Jaunty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I was simulating the upgrade from the packaged mapnik 0.5.1 (0.5.1-3ubuntu2) to the newly released mapnik 0.6.0 on Jauny (9.04 development branch) and noticed that python26 is the default Python on jauny while the mapnik package gets installed in the 'site-packages' folder of python2.5
Or at least this is what happened with the steps I followed which were:
$ sudo apt-get build-deps python-mapnik
$ sudo apt-get install python-mapnik
$ python
>>> import mapnik
# error not found
While the package likely should have been installed in '/usr/lib/
I put the python2.5 spot on the PYTHONPATH then it worked.
Then I commenced installing mapnik 0.6.0 which went into '/usr/lib/
tags: |
added: verification-done removed: verification-needed |
Whoops, just realized this may have been fixed yesterday (perhaps moments before I tested)
Also it should clarify that I don't know what version of Python the package build against, all I mean to indicate is that the location of installation was wrong. It would be interesting if it did actually compile against the python25 headers (and boost compiled against 2.5 headers) since it still seemed to work when I simply put it on my PYTHONPATH.