Building TerraGear in Ubuntu 910 (32- or 64-bit): Difference between revisions

Jump to navigation Jump to search
terragear-cs is now terragear
mNo edit summary
(terragear-cs is now terragear)
Line 1: Line 1:
This tutorial describes installing a '''recent subversion''' of [[TerraGear]] on Ubuntu910, terragear'''-cs'''. Do NOT try to install TerraGear [[CVS]] or an older version of TerraGear with this tutorial.
This tutorial describes installing a '''recent subversion''' of [[TerraGear]] on Ubuntu910.


''Note: This tutorial also works for OSX 10.5.8 (intel) and VBox 3.1.2r56127 but does not describe how to install VBox/Ubuntu on your mac.''
''Note: This tutorial also works for OSX 10.5.8 (intel) and VBox 3.1.2r56127 but does not describe how to install VBox/Ubuntu on your mac.''
Line 6: Line 6:


If you are familiar with "download_and_compile.sh" script from Brisa you can download this script: http://clemaez.fr/flightgear/terragear_download_and_compile.sh
If you are familiar with "download_and_compile.sh" script from Brisa you can download this script: http://clemaez.fr/flightgear/terragear_download_and_compile.sh
This script is similar to Brisa's script (only usable for Debian/Ubuntu/Mint...). This script will install terragear-cs, genapt850 and terragear-gui.
This script is similar to Brisa's script (only usable for Debian/Ubuntu/Mint...). This script will install TerraGear, genapt850 and [[TerraGear GUI]].


''How to use it ?''
''How to use it ?''
Line 31: Line 31:
         * [ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc232.zip ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc232.zip]
         * [ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc232.zip ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc232.zip]
         * git clone http://mapserver.flightgear.org/git/simgear-cs/
         * git clone http://mapserver.flightgear.org/git/simgear-cs/
         * git clone http://mapserver.flightgear.org/git/terragear-cs/
         * git clone http://mapserver.flightgear.org/git/terragear/


5. Before proceed to compile the main packages, we must understand that '''terragear-cs''' depends from '''simgear-cs''', and this last one has many dependencies to satisfy.
5. Before proceed to compile the main packages, we must understand that '''terragear''' depends from '''simgear-cs''', and this last one has many dependencies to satisfy.


         * Install '''libplib-dev''' (1.8.5-4), '''libboost1.38-dev''', '''glutg3-dev''', '''libglut3-dev''', '''libjpeg62-dev''' and '''xorg-dev''' via package manager
         * Install '''libplib-dev''' (1.8.5-4), '''libboost1.38-dev''', '''glutg3-dev''', '''libglut3-dev''', '''libjpeg62-dev''' and '''xorg-dev''' via package manager
Line 80: Line 80:
                  
                  


     After that, inside of the directory terragear-cs:
     After that, inside of the directory terragear:
         * ./autogen.sh
         * ./autogen.sh
         * ./configure (see also option below)
         * ./configure (see also option below)
Line 93: Line 93:
         * sudo make install
         * sudo make install


         Before you run some terragear-cs tools like fgfs-construct:
         Before you run some terragear tools like fgfs-construct:
         * chmod -R 777 /usr/local/share/TerraGear/default_priorities.txt
         * chmod -R 777 /usr/local/share/TerraGear/default_priorities.txt
         * chmod -R 777 /usr/local/share/TerraGear/usgsmap.txt
         * chmod -R 777 /usr/local/share/TerraGear/usgsmap.txt

Navigation menu