Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 20 and Version 21 of dev/LinuxDebian


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

Legend:

Unmodified
Added
Removed
Modified
  • dev/LinuxDebian

    v20 v21  
    22= Debian GNU/Linux =
    33
    4 ''Last checked: 13. Feb. 2008 by [wiki:simonwenner Nowic] on Debian Lenny (Testing)''
     4''Edited: 15. Sep. 2008 by [wiki:FelixSchulthess Felix]''[[br]]
     5''Checked: 13. Feb. 2008 by [wiki:simonwenner Nowic] on Debian Lenny (Testing)''
    56
    6 Unfortunately here is not yet a Debian package available for Orxonox. We're eager to release one, though.
     7Unfortunately there is no Debian package available for Orxonox yet. We're eager to release one, though. Until then, you can get a copy of Orxonox' source code and build it on your own.
    78
    89== Dependencies ==
    910
    10 To install all tools and libraries use the following command
     11To install all tools and libraries Orxonox needs, use the following command
    1112{{{
    1213  $ sudo aptitude install build-essential cmake libogre-dev libois-dev libboost-thread-dev libopenal-dev libalut-dev libenet-dev libfreeimage-dev libzzip-dev liblua5.1-0-dev tcl8.4-dev
    1314}}}
    1415
    15 == Get the source ==
    16 Check out the source via anonymous subversion login. This will download the whole project to the directory orxonox-dir.
     16== Get the Source Code ==
     17Now get a copy of the code by checking out the trunk via anonymous subversion login. This will download the latest stable version to the directory ''trunk''. If you have trouble using SVN, go [wiki:SVN here].
    1718{{{
    18 $ svn co http://svn.orxonox.net/orxonox/trunk orxonox-trunk
     19$ svn co http://svn.orxonox.net/orxonox/trunk trunk
    1920}}}
    20 You won't be able to commit your own code (check in) with the anonymous subversion repository. You have to ask us for a username/password combination. If you already have an account, check it out like this:
     21You won't be able to contribute your own code (check in) with the anonymous subversion repository. You have to ask us for a username/password combination. If you already have an account, check the code out like this:
    2122{{{
    22 $ svn co https://svn.orxonox.net/orxonox/trunk orxonox-trunk
     23$ svn co https://svn.orxonox.net/orxonox/trunk trunk
    2324}}}
    24 You will be asked for your username and password, that you got from us.
    25 
    26 We have a seperate data repository. Download it via SVN as well:
     25You will then be asked for the username and password, that you got from us.
     26Furthermore, you will need to check out the media repository. This repository contains all the graphics, fonts and sounds for Orxonox. To check it out, do:
    2727{{{
    28 $ svn co http://svn.orxonox.net/data/Media Media
     28$ svn co https://svn.orxonox.net/data/Media media
    2929}}}
     30Now make sure, you have set the correct path to your media directory in the various ini-files of Orxonox.
    3031
    3132== Compile ==
    32 
     33Just cd to the trunk directory, then execute configure and make:
    3334{{{
    3435$ cd orxonox-trunk
     
    4849$ aoss ./run
    4950}}}
    50 
    51 -----
    52 
    53 [[OutdatedPage]]
    54 
    55 === Debian Sarge ===
    56 Orxonox does not run on the official version of Debian Sarge because libqt4 is missing. Maybe using a backport of QT4 from http://backports.org/ could solve this problem (this has not yet been tested).
    57 
    58 === Debian Etch ===
    59 Installing Orxonox on Debian Etch 4.0 works fine. Installing on Debian Testing (Lenny) and Debian SID (aka Unstable Debian) should work too (this has not yet been tested).
    60 
    61 === Installing the Libraries ===
    62 
    63 {{{
    64 wraith root # apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libqt4-dev libglut3-dev libglew-dev libopenal-dev libvorbis-dev libavformat-dev libcurl3-dev liblualib50-dev
    65 ...
    66 }}}
    67 
    68 Users of the proprietary Nvidia driver need additional the nvidia opengl files:
    69 {{{
    70 wraith root # apt-get install nvidia-glx-dev
    71 }}}
    72 === Installing Developer Tools ===
    73 
    74 {{{
    75 wraith root # apt-get install subversion automake1.9 g++
    76 }}}
    77 
    78 === Getting the Source Code ===
    79 
    80 Check out the source via anonymous subversion login. This will download the whole project to the directory orxonox-dir.
    81 {{{
    82 wraith user $ svn co http://svn.orxonox.net/orxonox/trunk orxonox-dir/trunk
    83 wraith user $ svn co http://svn.orxonox.net/data/trunk orxonox-dir/data/trunk
    84 }}}
    85 You won't be able to commit your own code (check in) with the anonymous subversion repository. You have to ask us for a username/password combination. If you already have an account, check it out like this:
    86 {{{
    87 wraith user $ svn co https://svn.orxonox.net/orxonox/trunk orxonox-dir/trunk
    88 wraith user $ svn co https://svn.orxonox.net/data/trunk orxonox-dir/data/trunk
    89 }}}
    90 You will be asked for your username and password, that you got from us.
    91 
    92 
    93 === Compiling ===
    94 Just change into the trunk directory, then execute configure and make....
    95 {{{
    96 wraith user $ cd ./orxonox/trunk/
    97 wraith user $ ./autogen.sh
    98 wraith user $ ./configure
    99 ...
    100 wraith user $ make
    101 }}}
    102 
    103 === Playing ===
    104 {{{
    105 wraith user $ cd ./orxonox/trunk/src
    106 wraith user $ ./orxonox
    107 }}}
    108 Select the data file orxonox/data/trunk/data.oxd in the menu and play!
    109 
    110 === Profiling ===
    111 If you want to profile Orxonox (measure its performance) you will probably want to view the statistics in a special program like kprof.
    112 {{{
    113 wraith root # apt-get install kprof
    114 }}}
    115 A word of warning: Orxonox runs much much slower with profiling enabled.
    116 {{{
    117 wraith user # cd ./orxonox/trunk/
    118 wraith user # ./configure --enable-profile
    119 ...
    120 wraith user # make
    121 ...
    122 wraith user # cd src
    123 wraith user # ./orxonox
    124 }}}
    125 Orxonox now runs very slowly and writes its profiling statistics to a file called gmon.out. Remember that _only_ the Orxonox functionalities you use while profiling will be profiled (since the profile log is written while the program is been executed). [[br]]
    126 After you exit Orxonox, you can parse the output file and then open it in kprof:
    127 {{{
    128 wraith user # gprof -b ./orxonox > text.out
    129 wraith user # kprof -f text.out
    130 }}}
    131 For more documentation see the [wiki:DevelopmentResources development resources].