This is a small reference guide for compiling and running Navit on an Ubuntu Linux laptop. It is intended as a quick reference, and assumes that you are somewhat used to compiling software already. This guide also assumes that you want to run the bleeding-edge SVN (development) version. If you find any missing detail/step, feel free to add it to this page. --Kiddo 16:05, 7 November 2008 (CET)
Taking care of dependencies
See the Dependencies page for a list of software packages required to build Navit. If any are missing, please update those pages.
First, let's make sure we are in our home directory: this is only for the sake of making this tutorial simple to follow. You can save that directory anywhere you want, but you will have to adapt the rest of the instructions of this guide to your particular case.
Now, let's grab the code from SVN. This assumes that you have subversion installed.
Go to the directory where you checked out the svn repository:
Start the make dance:
./autogen.sh && ./configure && make
It is better to use autogen and configure before make, due to the heavy flux of changes in the svn version. Also, putting them all in one command ensures that they go through the next step only if the previous step succeeded. In the end, hopefully, you get a fully compiled navit binary in the navit/ subfolder (so basically, it looks like ~/navit/navit/navit. Yeah.)
Running the compiled binary
Here, I am skipping the usual "make install" (in my case, "sudo checkinstall make install") step, because I don't care about installing navit systemwide. I run navit directly from its svn folder, and it makes things much simpler (and safer).
To execute navit, you can simply click on the binary file (if you are sure it is compiled properly) and it should launch. If you prefer to launch it from a terminal, you need to go into the directory containing the binary, first, like so:
cd ~/navit/navit/ ./navit
The following prebuild (svn version) rpm packages exist:
Configuring the beast
This is an entirely different matter, young padawan. Good luck :)