Installation notes for Linux Desktop, eeePC, Openmoko Freerunner and source tar balls.
If you don't have a gps connected to your laptop/computer then you can use "82.240.156.91" as gpsd host for testing the gps functionality (in the config tab).
If you want to use tangoGPS on your laptop together with a Nokia N810 or an Openmoko Freerunner or connect via network to another gpsd, then simply set the gpsd host to the IP address of the device (in the config tab). That's it!
Desktop: Debian, Ubuntu, eeePC
Install the .deb package with:
dpkg -i tangogps-XXX.deb (XXX being the version number)
Additionally you need: gpsd, curl and sqlite3
In case you get an error message "libcurl.so.3 not found" install the curl package and if it still fails then do as root "ln -s /usr/lib/libcurl.so.4 /usr/lib/libcurl.so.3".
Desktop: Fedora
You can install tangoGPS directly from Fedora. Either with 'yum install tangogps' or through the package manager
Desktop: SuSE
Install the .rpm package with:
rpm -ivh tangogps-XXX.rpm
Additionally you need: gpsd, curl and sqlite3
In case you
get an error message "libcurl.so.3 not found" install the curl package
and if it still fails then do as root "ln -s /usr/lib/libcurl.so.4
/usr/lib/libcurl.so.3".
.
Under Openmoko:
The installation is easy:
pkill packagekit
opkg update
opkg install gpsd
opkg install http://www.tangogps.org/downloads/tangogps_0.9.3-r1_armv4t.ipk
That's it!
On the Openmoko Freerunner (but not 1973) you have to edit /etc/default/gpsd and set GPS_DEV="/dev/ttySAC1". Furthermore you have to power the GPS up. It is off by default.
On Debian-Openmoko-FSO everything just works:
Simply install fso-gpsd instead of gpsd and you are done.
On the Openmoko-FSO image you need to do additionally:
Edit /etc/frameworkd.conf. In the section [ogpsd], edit to read:
# path = /dev/ttySAC1
path = /dev/null
Then execute the following commands:
$ /etc/init.d/fso-frameworkd restart
$ /etc/init.d/zhone-session stop && sleep 2 && /etc/init.d/zhone-session start
On the Neo1973 (but not Freerunner) for GPS use you need to have the gllin_1.0+r350-r0_fic-gta01.ipk
installed. Additionally I strongly suggest to use my improved version of the gllin script, which can be found here. Simply save as /home/root/gllin/gllin and set permissions with 'chmod 755 /home/root/gllin/gllin'. You can then start gllin and gpsd directly from the config tab of tangoGPS (again: only Neo 1973, not Freerunner ).
Compiling from source
./configure
make
make install (or run it straight from the src/ directory)
You need to have the -dev packages for compiling a gtk+ application. Configure will complain about any missing libs thus giving you hints as to what you need to install.
#1 - Philip Hands 2008-09-02 10:02 - (Reply)
On Debian on the OpenMoko at least (and presumably on FSO soon, if not already) there is now an fso-gpsd package that acts as a compatibility layer between gpsd compatible applications, such as tangoGPS, and the FSO frameworkd.
That being the case, the above note about editing /etc/frameworkd.conf should be replaced with a recommendation to install fso-gpsd in place of *gpsd*.
#1.1 - marcus bauer 2008-09-02 10:47 - (Reply)
Thanks for the hint, the page is already updated.
#2 - tony 2009-08-18 15:09 - (Reply)
Will there be a regular android platform port of this? I don't mind helping with this. I've not done a lot of programming lately but I can come up to speed if need be.
#2.1 - marcus 2009-11-25 16:45 - (Reply)
I am lacking the time for doing it but if you want to try, go ahead. However you need to have GTK first on Android otherwise it wont make much sense.
#3 - Observer 2010-06-13 16:54 - (Reply)
Excellent GPS program...Keep up the good work...
#4 - agung 2010-07-21 17:18 - (Reply)
I can ping 82.240.156.91 so i can't use it. btw, where i can get the source code program, so i can automatically with my sms gateway program. thanx verry much to contribute on my problem.
#5 - Howard Bliss SAYS:
2010-07-22 18:01 - (Reply)
Dear Marcus:
I currently have three active computers, one with Ubuntu 9.04 and two with Ubuntu 10.04. The 9.04 computer has Tangogps installed from the repository (labeled 0.9.3-2). Its screen has the buttons across the top and bottom. This was my first try at Tangogps. The other two computers with 10.04 have Tangogps installed from the repository (labeled 0.99.3+debian-2). These screens have the buttons along the left side. Some of the Tango documentation references the top and bottom screen, others the left side screen. This causes some confusion but I am making my way by looking at functionality.
The third computer is an ASUS eeePC 701 with 4Gb hard drive and is my GPS project computer (its 10.04 is actually the Ubuntu Netbook Remix). This computer also has an 8Gb SD card. If I download maps from OSM I want to put them on the SD. If I do this how do I tell Tango where they are, and to use them? Can I get Tango to download maps directly from OSM and use them, how?
Thanks very much for the tip using the “ways and routes>get route” to cause a map download using gnuite.com. This apparently uses Google. Can I use a service that uses OSM, how? My eeepc 701 works fine with Ubuntu Netbook, wireless and sound are normal.
Thanks again,
Howard
#5.1 - marcus bauer 2010-07-23 08:40 - (Reply)
Hello Howard,
I almost forgot that the docs need to be updated. Putting it further up my list.
Maps on SD card
The quickest way to make tangoGPS use your SD card is to set a symlink. The maps are in your home directory in ~/Maps. Rename this dir, make a Maps directory on your SD card and set the symlink from your homedir: ln -s ~/Maps /your/SDcard/Maps.
Routing
The first two services use OSM but don't work as good.