Building FlightGear - Debian: Difference between revisions

m
3.4.0-RC1 --> RC2
m (OSG cmake fix)
m (3.4.0-RC1 --> RC2)
Line 1: Line 1:
{{WIP|Article is being updated for the 3.4 release. At the moment building <u>3.4</u> will result in release candidate 3.4.0-RC1.}} <!-- die RC1es nicht vergessen! -->
{{WIP|Article is being updated for the 3.4 release. At the moment building <u>3.4</u> will result in release candidate 3.4.0-RC2.}} <!-- die RCs nicht vergessen! -->


HowTo build [[FlightGear]] stable (<u>[[Changelog_3.4|3.4]]</u>) or bleeding edge development version, hereinafter simply called <u>[[GIT]]</u>, on [http://www.debian.org/ Debian] GNU/Linux Stable (<u>Wheezy</u>). Users of Testing or Unstable at least have to change package names (version numbering) accordingly.
HowTo build [[FlightGear]] stable (<u>[[Changelog_3.4|3.4]]</u>) or bleeding edge development version, hereinafter simply called <u>[[GIT]]</u>, on [http://www.debian.org/ Debian] GNU/Linux Stable (<u>Wheezy</u>). Users of Testing or Unstable at least have to change package names (version numbering) accordingly.
Line 38: Line 38:
Because we are going to install versions different to the ones in the Debian repositories, it is recommended to install FlightGear in a place independent of the base system, such as <code>/usr/local/FG-3.4</code> or <code>$HOME/FG-3.4</code>. This way also has the advantage of easily managing several FlightGear versions, even with different versions of OpenSceneGraph and/or plib, simply by altering the installation prefix. I suggest to make this directory writeable by the user so there is no need to become root for the <code>make -j2 install</code> commands. We'll use <code>$FG_INSTALL_DIR</code> as a [http://www.cmiss.org/cmgui/wiki/SettingEnvironmentVariablesInBash placeholder] for this directory. <br />
Because we are going to install versions different to the ones in the Debian repositories, it is recommended to install FlightGear in a place independent of the base system, such as <code>/usr/local/FG-3.4</code> or <code>$HOME/FG-3.4</code>. This way also has the advantage of easily managing several FlightGear versions, even with different versions of OpenSceneGraph and/or plib, simply by altering the installation prefix. I suggest to make this directory writeable by the user so there is no need to become root for the <code>make -j2 install</code> commands. We'll use <code>$FG_INSTALL_DIR</code> as a [http://www.cmiss.org/cmgui/wiki/SettingEnvironmentVariablesInBash placeholder] for this directory. <br />
Another placeholder will be <code>$FG_SRC_DIR</code>, it stands for the absolute path to the directory which is supposed to keep the folders of the various source codes. So, in the instructions below, you have to replace these with the local paths or even <code>export</code> them (in every terminal you're using them) for the process:
Another placeholder will be <code>$FG_SRC_DIR</code>, it stands for the absolute path to the directory which is supposed to keep the folders of the various source codes. So, in the instructions below, you have to replace these with the local paths or even <code>export</code> them (in every terminal you're using them) for the process:
  export FG_INSTALL_DIR=$HOME/FG-3.4-RC1 && mkdir $FG_INSTALL_DIR
  export FG_INSTALL_DIR=$HOME/FG-3.4-RC2 && mkdir $FG_INSTALL_DIR
  export FG_SRC_DIR=$HOME/src && mkdir $FG_SRC_DIR
  export FG_SRC_DIR=$HOME/src && mkdir $FG_SRC_DIR


Line 133: Line 133:
<u>3.4</u> only: Please have a look at the [http://www.flightgear.org/download/mirror/ mirror list] for a server close to your location.
<u>3.4</u> only: Please have a look at the [http://www.flightgear.org/download/mirror/ mirror list] for a server close to your location.
  cd $FG_INSTALL_DIR
  cd $FG_INSTALL_DIR
  <nowiki>wget ftp://ftp.snt.utwente.nl/pub/software/flightgear/ftp/Shared/FlightGear-data-3.4.0-RC1.tar.bz2</nowiki>
  <nowiki>wget ftp://ftp.snt.utwente.nl/pub/software/flightgear/ftp/Shared/FlightGear-data-3.4.0-RC2.tar.bz2</nowiki>
  tar xjf FlightGear-data-3.4.0-RC1.tar.bz2
  tar xjf FlightGear-data-3.4.0-RC2.tar.bz2


<u>GIT</u> only:
<u>GIT</u> only:
392

edits