[OSM-dev] building mapnik & tirex - missing dependency information
Frederik Ramm
frederik at remote.org
Wed Jun 2 22:32:30 BST 2010
Hi,
Peter Körner wrote:
> my first question is - do I really need the complete devscripts package?
You need /usr/bin/debuild to build the .debs and this usually comes from
the devscripts package.
> But nevertheless I can't get tirex to compile - it's
> missing dependency information:
>
> dpkg-shlibdeps: failure: no dependency information found for
> /usr/local/lib/libmapnik.so.0.7
This is not really a compile problem. Your package has basically been
built, only now the Debian build tools, being proper package managers,
want to do everything right and store information about required other
Debian packages in the resulting Tirex package.
To achieve this, the dh_shlibdeps utiliy finds out which libraries have
been used in compiling (/usr/local/lib/libmapnik.so.0.7) and then
helpfully tries to find the Debian package from which this library has
come - in order to record the fact that the newly created Tirex package
depends on that one. Since you have been a naughty boy and installed
Mapnik directly and not from a package, this step must fail.
I think that you might be successful by simply commenting out the
dh_shlibdeps step in debian/control. The resulting Tirex package will
not have full dependency information but should work on your system!
Better still, build a proper Mapnik Debian package which is what I
usually do.
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the dev
mailing list