[OSM-dev] osm2pgsql installs default.style to /usr/share/osm2pgsql but searches in /usr/share

Manuel Reimer Manuel.Spam at nurfuerspam.de
Fri Jun 24 18:45:11 BST 2011


Frederik Ramm wrote:
> Yes. It would be great if you could make sure that you don't
> accidentally break the Debian package build (which may or may not do
> something special with the default.style).

It already *is* broken. By the bug discussed in this thread. Even for debian the 
current way of building breaks things:

<http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/88adcbb2d029b221>

But the "fix" suggested there seems to be a hack. This should be fixed in the 
build system. Or in other words: "OSM2PGSQL_DATADIR" should contain the right 
path while compiling. Most probably a simple fix. I just have to find the time 
to look into this.

> Most people prefer making a
> package and installing that, over a direct "make install".

So do I. What I'm trying to do here is to write a build script for Slackware ;-)

Yours

Manuel




More information about the dev mailing list