185
edits
(Translation link updates.) |
(add prerequisites section since dnc doesn't automatically pull these needed tools if they are not already installed.) |
||
Line 16: | Line 16: | ||
Apart from its main purpose, <tt>download_and_compile.sh</tt> can be used to find hopefully up-to-date build-dependency information for FlightGear and related software. You would do so by inspecting [https://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/download_and_compile.sh the script] at the point where it installs packages.<ref name="note-inspecting-download-and-compile-sh-to-gather-build-dependency-information">Look for strings such as <tt>zlib1g-dev</tt>, <tt>libglew-dev</tt> or <tt>qt5-default</tt>.</ref> | Apart from its main purpose, <tt>download_and_compile.sh</tt> can be used to find hopefully up-to-date build-dependency information for FlightGear and related software. You would do so by inspecting [https://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/download_and_compile.sh the script] at the point where it installs packages.<ref name="note-inspecting-download-and-compile-sh-to-gather-build-dependency-information">Look for strings such as <tt>zlib1g-dev</tt>, <tt>libglew-dev</tt> or <tt>qt5-default</tt>.</ref> | ||
== Prerequisites == | |||
Before embarking on building your own FlightGear binaries, you must have already installed the necessary tools to compile the source code with. These preliminary tools are | |||
* build-essential | |||
* git | |||
* subversion | |||
* cmake | |||
* automake | |||
They can be installed quite simply by running the following command line. | |||
$ sudo apt-get install build-essential git subversion cmake automake | |||
Once these tools are installed, the download_and_compile.sh script can be run. It will install possibly needed additional tools and libraries as it runs. | |||
== <span id="disk-space-requirements-and-build-time"></span> Disk space requirements and build time == | == <span id="disk-space-requirements-and-build-time"></span> Disk space requirements and build time == |
edits