Changes between Version 10 and Version 11 of dev/LinuxGentoo
- Timestamp:
- Oct 27, 2006, 11:59:14 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
dev/LinuxGentoo
v10 v11 16 16 }}} 17 17 18 From now on you should be able to play Orxonox, and if you have subversion installed and a login, you will also be able to develop ->read on.18 From now on you should be able to play Orxonox, and if you have subversion installed and a login, you will also be able to develop. 19 19 20 20 === Installing the Libraries === … … 25 25 * SDL_net, media-libs/sdl-net, web http://www.libsdl.org/SDL_net 26 26 27 Here are the explicitcommands to enter:27 Here are the commands to enter: 28 28 {{{ 29 29 wraith root # emerge media-libs/libsdl … … 36 36 ... 37 37 }}} 38 Gentoo is now ready to compile and run orxonox :)[[br]]38 Gentoo is now ready to compile and then run Orxonox.[[br]] 39 39 40 40 41 42 === Getting the Source === 43 First of all you will have to install subversion on your system: Make sure, that you have '''ssl''' included in your ''make.conf'' file:[[br]] 41 === Getting the Source Code === 42 First of all you have to install subversion on your system: Make sure, that you have '''ssl''' included in your ''make.conf'' file:[[br]] 44 43 '''/etc/make.conf''' 45 44 {{{ … … 48 47 ... 49 48 }}} 50 now emerge the subversion program49 now emerge subversion 51 50 {{{ 52 51 wraith user # emerge subversion 53 52 }}} 54 Check out the source via svn anonymous, this will download thehole project to the directory orxonox-dir53 Check out the source via anonymous subversion login. This will download the whole project to the directory orxonox-dir 55 54 {{{ 56 55 wraith user # svn co http://svn.orxonox.net/orxonox orxonox-dir 57 56 }}} 58 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 accountcheck it out like this:57 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: 59 58 {{{ 60 59 wraith user # svn co https://svn.orxonox.net/orxonox orxonox-dir 61 60 }}} 62 You will be asked for user name and password, that you havefrom us.61 You will be asked for your username and password, that you got from us. 63 62 64 63 65 64 === Compiling === 66 Just change into the trunk directory, execute configure and make....65 Just change into the trunk directory, then execute configure and make.... 67 66 {{{ 68 67 wraith user # cd ./orxonox/trunk/ … … 76 75 }}} 77 76 77 78 78 === Profiling === 79 If you want to profile (performance measuring) Orxonoxyou will probably want to view the statistics in a special program like kprof. On Gentoo systems you can just emerge it:79 If you want to profile Orxonox (measure its performance) you will probably want to view the statistics in a special program like kprof. On Gentoo systems you can just emerge it: 80 80 {{{ 81 81 wraith root # emerge kprof 82 82 }}} 83 Orxonox runs much much slower with profiling enabled , so don't be embarassed!83 Orxonox runs much much slower with profiling enabled. 84 84 {{{ 85 85 wraith user # cd ./orxonox/trunk/ … … 91 91 wraith user # ./orxonox 92 92 }}} 93 O k. Orxonox now runs very slow and writes its profiling stats to a file called gmon.out. Remember that _only_ those functionalities, that you are using while running the programwill be profiled (since the profile log is written while the program is been executed). [[br]]94 After you exit the application, you will have to parse the output file and then you are able to open it in kprof application:93 Orxonox now runs very slow and writes its profiling stats to a file called gmon.out. Remember that _only_ the functionalities you use while profiling will be profiled (since the profile log is written while the program is been executed). [[br]] 94 After you exit the Orxonox, you can parse the output file and then be able to open it in kprof: 95 95 {{{ 96 96 wraith user # gprof -b ./orxonox > text.out 97 97 wraith user # kprof -f text.out 98 98 }}} 99 For more documentation see the DevelopmentResources.99 For more documentation see the [wiki:DevelopmentResources development resources].