Sportwatcher is the Linux equivalent of the Garmin Training Center software. You can use Sportwatcher to sync your Garmin GPS watch without resorting to booting Windows in Virtualbox. Read more
here...
I have compiled Sportwatcher 0.6 from source on Kubuntu netbook edition 9.10 Alpha 4 and these are my notes. Although you can install sportwatcher from .deb files I thought this post might be useful for somebody out there...
You can download the source from
http://www.theosys.at/download/index.html
Although there is a 0.7 source, I have problems compiling 0.7 - (I get Mapnik errors).
Step 1: Install compile utilities:
sudo apt-get install cmake build-essential apt-file
Step 2: Install dependencies for Sportwacther:
sudo apt-get install libgdal-dev kdelibs5-dev libusb-dev libmapnik-dev
Go make coffee - a lot of stuff will be downloaded. Once done, reboot - one of the components acts as a server and needs to be started.
Now we are ready to compile.
Step 3: Download source
- Download version 0.6 of Sportwatcher
- extract archive to any folder...
- open konsole (kde) and navigate to the extracted sportwatcher folder
Step 4: Compile
Issue the following command:
cmake CMakeLists.txt
if that was successfull then issue the following command:
cmake
If the compile was successfull, the executable will be in the src folder. The actual filename is called sportwatcher. You can then just click on the file while you are in the dolphin file manager (kde).
Problems and possible solutions:
If you run into errors while doing the cmake procedure which are usually dependency issues, two utilities that can help out are: apt-file and aptitude.
To install apt-file: sudo apt-get install apt-file. Then issue the following command apt-file update. You can use apt-file to figure out what package to install when cmake complains about a missing file. For example: when cmake complains about the following: ERROR: cmake/modules/FindKDE4Internal.cmake not found
Issue the following command:
apt-file search cmake/modules/FindKDE4Internal.cmake
Apt-file will then respond with "kdelibs5-dev". You can then install with:
sudo apt-get install kdelibs5-dev
Sometimes apt-file returns an empty answer. This is when you use the aptitude command for example:
cmake complains about cmake/modules/FindMapnik.cmake not found. Could not find Mapnik.
Issue the following command:
aptitude search mapnik
Look for a package that ends with -dev then install that package with sudo apt-get install ?????
Aptitude should already be on you system, so there is nothing to install to use it. Aptitude also comes with its own text based GUI - just issue the aptitude command without any parameters.