Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 37 and Version 38 of dev/LinuxUbuntu


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

Legend:

Unmodified
Added
Removed
Modified
  • dev/LinuxUbuntu

    v37 v38  
    11[[TracNav(TracNav/TOC_install)]]
    2 = Ubuntu Linux =
     2= Debian GNU/Linux =
    33
    4 ''Last checked (dependencies reviewed) (r1571): 9. June. 2008 by [wiki:BenjaminKnecht Beni] on Ubuntu 8.04 (Hardy Heron)''
     4''Edited: 15. Sep. 2008 by [wiki:FelixSchulthess Felix]''[[br]]
     5''Checked (dependencies reviewed) (r1571): 9. Jun. 2008 by [wiki:BenjaminKnecht Beni] on Ubuntu 8.04 (Hardy Heron)
    56
    6 Unfortunately there 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
    8 == Dependencies and third party libs ==
     9== Dependencies ==
    910
    10 For developers we recommend to install the latest version of [http://ogre3d.org/index.php?option=com_content&task=view&id=412&Itemid=132 Ogre]. However, you might run into problems compiling Ogre.
    11 
    12 Packages: cmake, libogre-dev, libois-dev, libenet-dev, libboost-filesystem-dev, libboost-thread-dev, libfreeimage-dev, libzzip-dev, liblua5.1-0-dev, tcl8.4-dev
    13 
    14 To install use the following command or just use your favorite packet manager.
     11To install all tools and libraries Orxonox needs, use the following command
    1512{{{
    16   $ sudo aptitude install build-essential cmake libogre-dev libois-dev libnet1-dev libboost-filesystem-dev libboost-thread-dev libfreeimage-dev libzzip-dev libenet-dev libalut-dev libvorbis-dev liblua5.1-0-dev tcl8.4-dev
     13  $ 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
    1714}}}
    1815
    19 == Get our source ==
    20 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].
    2118{{{
    22 $ svn co http://svn.orxonox.net/orxonox/trunk orxonox-trunk
     19$ svn co http://svn.orxonox.net/orxonox/trunk trunk
    2320}}}
    24 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:
    2522{{{
    26 $ svn co https://svn.orxonox.net/orxonox/trunk orxonox-trunk
     23$ svn co https://svn.orxonox.net/orxonox/trunk trunk
    2724}}}
    28 You will be asked for your username and password, that you got from us.
     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:
     27{{{
     28$ svn co https://svn.orxonox.net/data/Media media
     29}}}
     30Now make sure, you have set the correct path to your media directory in the file orxonox.ini.
    2931
    30 We have a seperate data repository. Download it via SVN as well. For instance use this command:
    31 {{{
    32 $ svn co http://svn.orxonox.net/data/Media Media
    33 }}}
    34 
    35 == Compile ==
    36 
     32== Compiling ==
     33Just cd to the trunk directory, then execute configure and make:
    3734{{{
    3835$ cd orxonox-trunk
     
    4441}}}
    4542
    46 If you get errors running cmake you most certainly forgot to install a package. Run ./cmakeclearcache after you installed the missing packages and run cmake again.
     43== Possible Bugs ==
     44=== Strange Sound ===
     45Install normally and run it with the Alsa-OSS-wrapper
     46{{{
     47$ sudo aptitude install alsa-oss
     48...
     49$ aoss ./run
     50}}}
     51
     52=== Running ===
    4753
    4854If ./run doesn't work check out ''bin/orxonox.ini'' and compare the given data-path with the one you downloaded the data repository to. If the paths don't match, change it in the orxonox.ini and try ./run again.
    4955
    50 == Possible Bugs ==
    5156=== Graphics ===
    5257Using the "radeon" driver with your ATI graphics card (on Gutsy) will result in ugly shadow bugs in Ogre. Use flgrx instead.
    5358
    5459=== Ogre ===
    55 If you haven't installed Ogre with the package manager, you'll have to change the path in ''orxonox-dir/bin/plugin.cfg'' from ''/usr/lib/OGRE'' to ''/usr/local/lib/OGRE''.
    56 
    57 
    58 -----
    59 
    60 [[OutdatedPage]]
    61 
    62 ''tutorial works (patrick, 04/16/07)''
    63 
    64 === Ubuntu Versions ===
    65 Installing Orxonox was tested on Ubuntu Dapper Drake (6.06), Edgy Eft (6.10) and Feisty Fawn (7.04).
    66 
    67 === Installing the Libraries ===
    68 
    69 {{{
    70 wraith user $ sudo aptitude 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
    71 ...
    72 }}}
    73 
    74 === Installing developer tools ===
    75 
    76 {{{
    77 wraith user $ sudo aptitude install subversion automake1.9 g++
    78 }}}
    79 
    80 === Getting the Source & Data ===
    81 
    82 Check out the source and Data via svn anonymous, this will download the hole project to the directory orxonox-dir
    83 {{{
    84 wraith user $ svn co http://svn.orxonox.net/orxonox.OLD/trunk orxonox-dir/trunk
    85 wraith user $ svn co http://svn.orxonox.net/data/trunk orxonox-dir/data/trunk
    86 }}}
    87 You won't be able to commit (check in) anything with the anonymous repository. You have to ask us for user/pass combination. If you have already an account check it out like this:
    88 {{{
    89 wraith user $ svn co https://svn.orxonox.net/orxonox.OLD/trunk orxonox-dir/trunk
    90 wraith user $ svn co https://svn.orxonox.net/data/trunk orxonox-dir/data/trunk
    91 }}}
    92 You will be asked for user name and password, that you have from us.
    93 
    94 
    95 === Compiling ===
    96 Just change into the trunk directory, execute configure and make....
    97 {{{
    98 wraith user $ cd ./orxonox-dir/trunk/
    99 wraith user $ ./autogen.sh
    100 wraith user $ ./configure
    101 ...
    102 wraith user $ make
    103 }}}
    104 
    105 === Playing ===
    106 {{{
    107 wraith user $ cd ./orxonox-dir/trunk/src
    108 wraith user $ ./orxonox
    109 
    110 }}}
    111 Select the data file orxonox/data/trunk/data.oxd in the menu and play!
    112 
    113 
    114 === Ubuntu package (OUTDATED) ===
    115 Instead of compiling Orxonox you can also get the Ubuntu packages here [http://people.ee.ethz.ch/~psachs]
    116 
    117 or you can add the following source to /etc/apt/sources.list:
    118 {{{
    119 deb http://people.ee.ethz.ch/~psachs edgy games
    120 }}}
    121 
    122 === Known Bugs ===
    123 If you have an ATI card you probably have to start Orxonox with the following command (If you compiled it yourself its ./orxonox instead of orxonox):
    124 {{{
    125 env R300_SPAN_DISABLE_LOCKING="true" orxonox
    126 }}}
    127 
    128 If you get an error message (while compiling) that 'msr.h' is missing you have to copy it from the following path. (If you have a different kernel version the path may differ)
    129 {{{
    130 sudo cp /usr/src/linux-headers-2.6.17-10/include/asm-i386/msr.h /usr/include/asm-i386/msr.h
    131 }}}
    132 
    133 If you get an error message '/usr/bin/ld cannot find -llualib' use the following command to solve the problem:
    134 {{{
    135 cd /usr/lib/
    136 sudo ln -s  liblualib50.a liblualib.a
    137 }}}
     60If you haven't installed Ogre with the package manager, you'll have to change the path in ''trunk/bin/plugin.cfg'' from ''/usr/lib/OGRE'' to ''/usr/local/lib/OGRE''.