392
edits
mNo edit summary |
m (added langages) |
||
Line 6: | Line 6: | ||
If you don't want to make your hands dirty, have a look at this: http://wiki.flightgear.org/index.php/Scripted_Compilation_on_Linux_Debian/Ubuntu | If you don't want to make your hands dirty, have a look at this: http://wiki.flightgear.org/index.php/Scripted_Compilation_on_Linux_Debian/Ubuntu | ||
== Requirements and Preparations == | == Requirements and Preparations == | ||
Line 22: | Line 23: | ||
During installation packages ''simgear-dev'' and ''openscenegraph-dev'' *must not* be installed. They can safely be re-installed after compilation. | During installation packages ''simgear-dev'' and ''openscenegraph-dev'' *must not* be installed. They can safely be re-installed after compilation. | ||
==== Add backports.org repository ==== | ==== Add backports.org repository ==== | ||
(only needed on Etch) | (only needed on Etch) | ||
Line 36: | Line 38: | ||
Do not forget to update after adding! <BR> | Do not forget to update after adding! <BR> | ||
More mirrors can be found on: http://www.backports.org/debian/README.mirrors.html | More mirrors can be found on: http://www.backports.org/debian/README.mirrors.html | ||
== Fetch the Sources == | == Fetch the Sources == | ||
Line 73: | Line 76: | ||
While data (CVS: ~ 2 GB / 1.9.1: 230 MB) gets downloaded we have plenty of time to... | While data (CVS: ~ 2 GB / 1.9.1: 230 MB) gets downloaded we have plenty of time to... | ||
== Build and install == | == Build and install == | ||
Because we are going to install versions different to the ones in the repositries it is hardly recommended to install FG-CVS in a place independet to the base system such as /usr/local/fg-cvs, /opt/fg-cvs or in a subdirectory of your $HOME. I suggest to make this directory writeable by the user that there is no need to become root for the 'make install' commands. I'll use ''$prefix | Because we are going to install versions different to the ones in the repositries it is hardly recommended to install FG-CVS in a place independet to the base system such as /usr/local/fg-cvs, /opt/fg-cvs or in a subdirectory of your $HOME. I suggest to make this directory writeable by the user that there is no need to become root for the 'make install' commands. I'll use ''$prefix'' as a placeholder for this, so in the following instructions one have to replace it by the local path. | ||
Subsequent the commands to build each source. Execute them in the according source directory, except for OSG. | Subsequent the commands to build each source. Execute them in the according source directory, except for OSG. | ||
Line 83: | Line 87: | ||
make | make | ||
make install | make install | ||
'''OpenSceneGraph'''<BR> | '''OpenSceneGraph'''<BR> | ||
Line 105: | Line 110: | ||
make | make | ||
make install | make install | ||
'''Trial run:''' | '''Trial run:''' | ||
Line 111: | Line 116: | ||
$prefix/bin/fgfs --fg-root=/path/to/data | $prefix/bin/fgfs --fg-root=/path/to/data | ||
== fgrun == | == fgrun == | ||
Line 117: | Line 121: | ||
*libfltk1.1-dev | *libfltk1.1-dev | ||
*fluid | *fluid | ||
Fetch the source: | Fetch the source: | ||
svn co http://fgrun.svn.sourceforge.net/svnroot/fgrun/trunk fgrun | svn co http://fgrun.svn.sourceforge.net/svnroot/fgrun/trunk fgrun | ||
Build it: <BR> | Build it: <BR> | ||
Line 129: | Line 131: | ||
make | make | ||
make install | make install | ||
{{Languages|Building_Flightgear_-_Debian}} | |||
{{Building}} |
edits