Difference between revisions of "Linux development"
Worldcitizen (talk | contribs) |
Worldcitizen (talk | contribs) |
||
Line 29: | Line 29: | ||
= Prebuild binairies = | = Prebuild binairies = | ||
− | The following prebuild rpm | + | The following prebuild (svn version) rpm packages exist: |
+ | |||
+ | [http://software.opensuse.org/ymp/Application:Geo/openSUSE_10.3/navit.ymp 1-Click Install for openSUSE 10.3] | ||
+ | |||
+ | [http://software.opensuse.org/ymp/Application:Geo/openSUSE_11.0/navit.ymp 1-Click Install for openSUSE 11.0] | ||
+ | |||
+ | [http://software.opensuse.org/ymp/Application:Geo/openSUSE_11.1/navit.ymp 1-Click Install for openSUSE 11.1] | ||
+ | |||
+ | [http://software.opensuse.org/ymp/Application:Geo/openSUSE_Factory/navit.ymp 1-Click Install for openSUSE Factory] | ||
+ | |||
+ | [http://download.opensuse.org/repositories/Application:/Geo/Fedora_10 The rpm package for Fedora 10] | ||
+ | |||
= Configuring the beast = | = Configuring the beast = | ||
This is [[Configuring Navit|an entirely different matter]], young padawan. Good luck :) | This is [[Configuring Navit|an entirely different matter]], young padawan. Good luck :) |
Revision as of 18:01, 11 May 2009
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)
Contents
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.
cd ~
Now, let's grab the code from SVN. This assumes that you have subversion installed.
svn co https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit/ navit
Compiling
Go to the directory where you checked out the svn repository:
cd navit
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
Prebuild binairies
The following prebuild (svn version) rpm packages exist:
1-Click Install for openSUSE 10.3
1-Click Install for openSUSE 11.0
1-Click Install for openSUSE 11.1
1-Click Install for openSUSE Factory
Configuring the beast
This is an entirely different matter, young padawan. Good luck :)