[OSM-dev] tirex and mapnik 3, make deb fails

Stephan Knauss osm at stephans-server.de
Mon Jun 30 23:58:38 UTC 2014


I try to compile tirex (mapnik backend) against Mapnik 3.
All done on ubuntu 14.04.

Unfortunately it fails.

make runs fine, but doing "make deb" after that produces errors.

First problem was that it complained to not find mapnik-config.
After patching the Makefile to contain the results of the mapnik-config  
call it successfully continued to break at another step.

I have no idea about debian package creation. Can someone suggest a patch  
to resolve this issue?
Sounds like it does not like I did make && make install on mapnik

changing this line in debian/rules allowed me to ignore the error:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

does it matter that the packages have this version id in the name?  
"_0.4.1precise1_"
Will it conflict with my ubuntu setup which is trusty?

Log:

dh_shlibdeps
dpkg-shlibdeps: error: no dependency information found for  
/usr/local/lib/libmapnik.so.3.0 (used by debian/tirex-backend- 
mapnik/usr/lib/tirex/backends/mapnik)
dh_shlibdeps: dpkg-shlibdeps -Tdebian/tirex-backend-mapnik.substvars  
debian/tirex-backend-mapnik/usr/lib/tirex/backends/mapnik returned exit  
code 2
make: *** [binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit  
status 2
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc -I failed
make: *** [deb] Error 29



More information about the dev mailing list