Changes between Version 7 and Version 8 of dev/LinuxTardis
- Timestamp:
- Sep 17, 2008, 10:43:33 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
dev/LinuxTardis
v7 v8 1 [[OutdatedPage]] 2 = Solaris on Tardis = 3 [[TracNav(TracNav/TOC_install)]] 1 = ETH Tardis = 4 2 5 There are generally two ways to install Orxonox (from the source code) onto the System 6 The first one is the default approach and requires you to have a copy and all subversion files on your account. 7 The second approach requires you to check out orxonox every time you switch your workstation. 3 ''Edited: 15. Sep. 2008 by [wiki:FelixSchulthess Felix]''[[br]] 8 4 9 === Home Directory Approach === 10 1. Download the source code with subversion either from (https://svn.orxonox.net/orxonox/trunk) or (http://svn.orxonox.net/orxonox/trunk) 5 On the ETH Tardis computers, most of the required software is already installed. This makes the installation very simple. 6 7 == Get the Source Code == 8 First get a copy of the code by checking out the trunk via subversion. This will download the latest stable version to the directory ''trunk''. If you have trouble using SVN, go [wiki:SVN here]. 11 9 {{{ 12 $ svn co https://svn.orxonox.net/orxonox/trunk orxonox/trunk10 $ svn co https://svn.orxonox.net/orxonox/trunk trunk 13 11 }}} 14 2. Enter the checked out directory and configure it. This requires a special switch (--with-tardis), that automatically sets all environment flags for you at configure time. 12 You will then be asked for the username and password, that you got from us. 13 14 Furthermore, you will need to check our data repository. This repository contains all the graphics, fonts and sounds and other third-party datafor Orxonox. To check it out use the command: 15 15 {{{ 16 $ ./autogen.sh 17 $ ./configure --with-tardis 18 $ make -j3 16 $ svn co https://svn.orxonox.net/data/Media media 19 17 }}} 20 3. now you are ready to work with the source code 18 Now make sure, you have set the correct path to your media directory in the file orxonox.ini. 21 19 22 23 === Tardis local Approach === 24 1. Download the script https://svn.orxonox.net/orxonox/trunk/scripts/tardis-scratch-checkout.pl. You will probably have to change the permissions of the file, so you can execute it. 20 == Compiling == 21 Just cd to the trunk directory, then execute configure and make: 25 22 {{{ 26 $ wget https://svn.orxonox.net/orxonox/trunk/scripts/tardis-scratch-checkout.pl 27 $ chmod 755 tardis-scratch-checkout.pl 23 $ cd trunk 24 $ cmake . 25 ... 26 $ make 27 ... 28 $ ./run 28 29 }}} 29 2. Execute the script (to get the trunk):30 {{{31 $ ./tardis-scratch-checkout.pl32 }}}33 This will automatically check out the trunk to /scratch/{username}/orxonox/trunk. [[br]] If you'd like to check out a branch, you can use the script like this:34 {{{35 $ ./tardis-scratch-checkout.pl branches/myBranche36 }}}37 38 === Comparison of the Methods ===39 || / || Home-Account || Tardis-Local ||40 || Checkout || once per account || once per tardis and account ||41 || Compiling || network -> slow || local -> much faster ||42 || Linking || very slow (30 seconds+)|| fast ||43 || Space || user account || scratch ||44 45 46 I recommend the tardis local approach, even if you have to compile Orxonox again and again.47 48 To be faster there is also the possibility to49 {{{50 $ make -j351 }}}52 which will automatically use 3 processes to compile Orxonox and since most of the tardis are hyper-threaded Orxonox compiles very fast.