| | 1 | [[OutdatedPage]] |
| | 2 | = Solaris on Tardis = |
| | 3 | [[TracNav(TracNav/TOC_install)]] |
| | 4 | |
| | 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. |
| | 8 | |
| | 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) |
| | 11 | {{{ |
| | 12 | $ svn co https://svn.orxonox.net/orxonox/trunk orxonox/trunk |
| | 13 | }}} |
| | 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. |
| | 15 | {{{ |
| | 16 | $ ./autogen.sh |
| | 17 | $ ./configure --with-tardis |
| | 18 | $ make -j3 |
| | 19 | }}} |
| | 20 | 3. now you are ready to work with the source code |
| | 21 | |
| | 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. |
| | 25 | {{{ |
| | 26 | $ wget https://svn.orxonox.net/orxonox/trunk/scripts/tardis-scratch-checkout.pl |
| | 27 | $ chmod 755 tardis-scratch-checkout.pl |
| | 28 | }}} |
| | 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. |