Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Initial Version and Version 1 of dev/LinuxGentoo


Ignore:
Timestamp:
Apr 21, 2005, 2:16:18 AM (20 years ago)
Author:
patrick
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • dev/LinuxGentoo

    v1 v1  
     1= Get it Running =
     2
     3== Gentoo ==
     4
     5=== Installing the Libraries ===
     6Install the following libraries:
     7 * SDL main, media-libs/libsdl, web: [http://www.libsdl.org/index.php link]
     8 * SDL image, media-libs/sdl-image, web: [http://www.libsdl.org/index.php link]
     9 * SDL true type fonts, media-libs/sdl-ttf, web: [http://www.libsdl.org/index.php link]
     10 * SDL mixer, media-libs/sdl-mixer, web: [http://www.libsdl.org/index.php link]
     11
     12Here are the explicit commands to enter:
     13{{{
     14wraith root # emerge media-libs/libsdl
     15...
     16wraith root # emerge media-libs/sdl-image
     17...
     18wraith root # emerge media-libs/sdl-ttf
     19...
     20wraith root # emerge media-libs/sdl-mixer
     21...
     22}}}
     23Gentoo is now ready to compile and run orxonox :) [[br]]
     24
     25
     26
     27=== Getting the Source ===
     28First of all you will have to install subversion on your system: Make sure, that you have '''ssl''' included in your ''make.conf'' file:[[br]]
     29'''/etc/make.conf'''
     30{{{
     31 ...
     32 USE="..., ssl, ..."
     33 ...
     34}}}
     35now emerge the subversion program
     36{{{
     37wraith user # emerge subversion
     38}}}
     39Check out the source via svn anonymous, this will download the hole project to the directory orxonox-dir
     40{{{
     41wraith user # svn co http://svn.orxonox.ethz.ch/reporx/orxonox orxonox-dir
     42}}}
     43You 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:
     44{{{
     45wraith user # svn co https://svn.orxonox.ethz.ch/reporx/orxonox orxonox-dir
     46}}}
     47You will be asked for user name and password, that you have from us.
     48
     49
     50=== Compiling ===
     51Just change into the trunk directory, execute configure and make....
     52{{{
     53wraith user # cd ./orxonox/trunk/
     54wraith user # ./configure
     55...
     56wraith user # make
     57...
     58wraith user # cd src
     59wraith user # ./orxonox
     60}}}
     61
     62=== Profiling ===
     63If you want to profile (performance measureing) orxonox you will probably want to view the statistics in a special program like kprof. On Gentoo systems you can just emerge it:
     64{{{
     65wraith root # emerge kprof
     66}}}
     67Orxonox runs much much slower with profiling enabled, so don't be embarassed!
     68{{{
     69wraith user # cd ./orxonox/trunk/
     70wraith user # ./configure --enable-profile
     71...
     72wraith user # make
     73...
     74wraith user # cd src
     75wraith user # ./orxonox
     76}}}
     77Ok. Orxonox runs now (very slow) and writes its profiling stats to a file called gmon.out. Remember that _only_ those functinalities, that you are using while running the program will be profiled (since the profile log is written while the program is been executed). [[br]]
     78After you exit the application, you will have to parse the output file and then you are able to open it in kprof application:
     79{{{
     80wraith user # gprof -b ./orxonox > text.out
     81wraith user # kprof -f text.out
     82}}}
     83For more documentation see the DevelopmentResources.