Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 7 and Version 8 of dev/LinuxTardis


Ignore:
Timestamp:
Sep 17, 2008, 10:43:33 PM (16 years ago)
Author:
FelixSchulthess
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • dev/LinuxTardis

    v7 v8  
    1 [[OutdatedPage]]
    2 = Solaris on Tardis =
    3 [[TracNav(TracNav/TOC_install)]]
     1= ETH Tardis =
    42
    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]]
    84
    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)
     5On the ETH Tardis computers, most of the required software is already installed. This makes the installation very simple.
     6
     7== Get the Source Code ==
     8First 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].
    119{{{
    12 $ svn co https://svn.orxonox.net/orxonox/trunk orxonox/trunk
     10$ svn co https://svn.orxonox.net/orxonox/trunk trunk
    1311}}}
    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.
     12You will then be asked for the username and password, that you got from us.
     13
     14Furthermore, 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:
    1515{{{
    16 $ ./autogen.sh
    17 $ ./configure --with-tardis
    18 $ make -j3
     16$ svn co https://svn.orxonox.net/data/Media media
    1917}}}
    20   3. now you are ready to work with the source code
     18Now make sure, you have set the correct path to your media directory in the file orxonox.ini.
    2119
    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 ==
     21Just cd to the trunk directory, then execute configure and make:
    2522{{{
    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
    2829}}}
    29   2. Execute the script (to get the trunk):
    30 {{{
    31 $ ./tardis-scratch-checkout.pl
    32 }}}
    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/myBranche
    36 }}}
    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 to
    49 {{{
    50 $ make -j3
    51 }}}
    52 which will automatically use 3 processes to compile Orxonox and since most of the tardis are hyper-threaded Orxonox compiles very fast.