Scripted Compilation on Linux Debian/Ubuntu: Difference between revisions

Jump to navigation Jump to search
Preparation for deploying a shorter version of the script.
(Preparation for deploying a shorter version of the script.)
Line 14: Line 14:
  mkdir -p next
  mkdir -p next
  cd stable
  cd stable
  ../download_and_compile.sh -sx
  ../download_and_compile.sh -s
  cd ../next
  cd ../next
  ../download_and_compile.sh -p n -x
  ../download_and_compile.sh -p n  


=== Change Log ===
Changes in 1.9.14
# Version bump for 2.99.9 now 3.0.0
# changed logging to log entire output of a sub-process rather than write individual lines of output to a logfile.
# logs are versioned.
# fix to support a change in fgdata version when fgdata is a symlink
# Automatic j option # of cores + 1
# fixed stable fgrun build
# stable is now 2.12.0 for fgfs & simgear, 2.12.1 for fgdata
# fixed broken stable build for 2.12.0
# Added section on setup
# once built, unless specifically requested by parameter OSG or PLIB: Don't rebuild OSG or plib Don't update OSG or plib sources
# self testing with ./download_and_compile.sh test. 
=== Proposed changes for 1.9.15 ===
# build fltk and boost libraries
# fgpanel support
# add support for: --apt-get-update --package --no-package --update --no-update --configure --no-configure
# add option items for options in flightgear's cmakelists.txt
# multiple targets and option values in the command line: support any combination of upper/lower case build targets with version numbers, branch and debug and other options. options selected would apply until overriden by another option on the command line.
for example: 
../download_and_compile.sh --nodebug fltk-1.3.2 boost-1.55.0 osg-3.2.0 --branch release/3.0.0  --debug simgear flightgear fgpanel --branch master --nodebug openrti
   




Line 87: Line 60:
* Mirror: [http://assistenza.larasrl.net/brisa/fgfs/download_and_compile.sh download_and_compile.sh] (not recently updated)
* Mirror: [http://assistenza.larasrl.net/brisa/fgfs/download_and_compile.sh download_and_compile.sh] (not recently updated)


* Next version of the script: [https://www.gitorious.org/fg/fgmeta/raw/next:download_and_compile.sh download_and_compile.sh]
*The script is maintained in the FlightGear main repository. Remember to update this script whenever a new FlightGear version is released, so that you'll be able to download the latest stable revision.
This one may not work. It's a preview of what will be on master after the changes are tested.
(Sometimes, the next version may even be an earlier version of the script.)
Note that the next branch of the script is not needed to build the next branch of flightgear.  The script on master should be able to do that for you.
 
The script is maintained in the FlightGear main repository. Remember to update this script whenever a new FlightGear version is released, so that you'll be able to download the latest stable revision.


There is also another option for building FlightGear and all its dependencies in an automated fashion, please refer to: http://geoffmclane.com/fg/fgfs-052.htm
There is also another option for building FlightGear and all its dependencies in an automated fashion, please refer to: http://geoffmclane.com/fg/fgfs-052.htm
Line 120: Line 88:
chmod 755 download_and_compile.sh
chmod 755 download_and_compile.sh
</pre>
</pre>
For the daring, you can try out the absolute latest development version of the script. This version usually has been tested to build or rebuild at least one variant of flightgear, probably several.  However, it has not been tested by more than one user. 
See: [[Talk:Scripted_Compilation on Linux Debian/Ubuntu]] for more information


You have two options now: build the latest ''stable'' FlightGear release or build the ''current development'' version (bleeding edge).
You have two options now: build the latest ''stable'' FlightGear release or build the ''current development'' version (bleeding edge).
Line 237: Line 202:
* FGRUN (to compile and install only Fgrun)
* FGRUN (to compile and install only Fgrun)
* FGO (to compile and install only Fgo!)
* FGO (to compile and install only Fgo!)
* FGCOM (to compile and install only Fgcom)
* FGCOM (to compile and install only Fgcom) (DEPRECATED - NOW PART OF FLIGHTGEAR and OPENRADAR)
* FGCOMGUI (to compile and install only FgComGui)
* FGCOMGUI (to compile and install only FgComGui) (DEPRECATED - NOW PART OF FLIGHTGEAR and OPENRADAR)
* ATLAS (to compile and install only Atlas)
* ATLAS (to compile and install only Atlas)


Line 249: Line 214:


=== Compiling last stable versions (Experimental) ===
=== Compiling last stable versions (Experimental) ===
Even if the script fetches data and sources from bleeding edge developers repositories (which sometimes do not compile), you can still force the script to download latest known versions of the software that were compiling successfully by adding the -s option.
Even if the script fetches data and sources from bleeding edge developers repositories (which sometimes do not compile), you can still force the script to download latest known versions of the software that were compiling successfully by adding the -s option.
<pre>
<pre>
./download_and_compile.sh -s
./download_and_compile.sh -s
930

edits

Navigation menu