install gosm offline OpenStreetMap map browser on ubuntu 12.04...

Asked by marcobra (Marco Braida)

Need to install gosm http://gosm.sourceforge.net/screenshots.html
is a package to have an offline OpenStreetMap (http://en.wikipedia.org/wiki/OpenStreetMap) maps

to get OpenStreetMap on my ubuntu 12.04 pc...
I look for a ppa i cannot find it...

I tried to compile from source via

mkdir ~/src
cd ~/src
svn co https://gosm.svn.sourceforge.net/svnroot/gosm gosm
cd ~/src/gosm
sudo ln -s /usr/lib/libwebkitgtk-1.0.so.0.13.2 /usr/lib/libwebkitgtk-1.0
make

but i have some trouble with lib

/usr/bin/ld: cannot find -lwebkitgtk-1.0

but i have not found any ...

So i create the ~/src directory with:

mkdir ~/src
cd ~/src

then going to http://sourceforge.net/projects/gosm/files/gosm/debian/

i download the gosm.0.0.9.tar.gz i saved it to ~/src and i extract it

tar xvfz gosm.0.0.9.tar.gz

Then in my system i need to install:

sudo apt-get install libssl0.9.8 libwebkit-dev libcurl3 gpsd

then i need to link

sudo ln -s /usr/lib/libwebkitgtk-1.0.so.0.13.2 /usr/lib/libwebkit-1.0.so.1

./gosm

and it seems works...

Need to know if there is any ppa with this useful package in it...

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

https://launchpad.net/ubuntu/+ppas?name_filter=gosm

No PPA, you can use checkinstall to make a deb for your binaries.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

Thank andrew.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Thanks actionparsnip, that solved my question.