Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2015 11:23:41 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Frans Schreuder <fransschreuder@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: libosmscout
Message-ID:  <20150625092341.GA16994@c720-r276659>
In-Reply-To: <558BB76F.90602@gmail.com>
References:  <20150625080200.GA2397@c720-r276659> <558BB76F.90602@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello Frans,

Thanks for the recipie; I have had to make the following small changes:

the normal --prefix is in FreeBSD /usr/local

El día Thursday, June 25, 2015 a las 10:10:23AM +0200, Frans Schreuder escribió:

> Hello Matthias,
> 
> If you download the tools from
> https://github.com/fransschreuder/OSMScout-ubuntu, you can compile the
> following tools:
> 
> git clone https://github.com/fransschreuder/OSMScout-ubuntu.git
> 
> cd OSMScout-ubuntu/OSMScout/libosmscout/
> ./autogen.sh
> ./configure --prefix=/usr
> make
> sudo make install
> sudo ldconfig
> 

in FreeBSD one must set PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ as
env;

> cd OSMScout-ubuntu/OSMScout/libosmscout-import/
> ./autogen.sh
> ./configure --prefix=/usr
> make
> sudo make install
> sudo ldconfig
> 
> cd OSMScout-ubuntu/OSMScout/Import/
> ./autogen.sh
> ./configure --prefix=/usr
> make
> sudo make install
> 
> osmscout-import <mapfile.osm.pbf>

the tool 'osmscout-import' uses /bin/sh (which is in Linux a bash), I
have had to modify the shebang to /usr/local/bin/bash

will test how it works, later.

	matthias

-- 
Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/  +49-176-38902045
askubuntu.com says to me:
You've earned the "Tumbleweed" badge (Asked a question with zero score, no answers, no comments,
and low views for a week) for "BQ E4.5 r22: setup an alarm from a script run by user phablet or
its cron job".



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150625092341.GA16994>