Changes between Version 31 and Version 32 of dev/LinuxGentoo
- Timestamp:
- Sep 17, 2008, 9:13:19 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
dev/LinuxGentoo
v31 v32 6 6 7 7 This Tutorial assumes that you are using x86. If you are using amd64 just substitute the keyword. 8 === Preparation (required libs) ===9 8 10 Orxonox used Ogre with CEGUI for rendering, OIS for input handling, eNet for network support Boost for threading and cMake as build-system. Every needed package is in portage. 11 Add USE-Flags 9 === Prerequisites === 10 11 Orxonox uses Ogre with CEGUI for rendering, OIS for input handling, eNet for network support Boost for threading and cMake as build-system. You will have to install these packages. Every needed package is in portage. 12 13 Add USE-Flags: 12 14 {{{ 13 15 # echo "dev-games/cegui devil expat" >> /etc/portage/package.use 14 16 # echo "dev-games/ogre cegui devil lua threads" >> /etc/portage/package.use 15 17 }}} 16 some packages are unstable, for portage to use them 18 Some packages are unstable, for portage to use them do: 17 19 {{{ 18 20 # echo "dev-games/ogre-1.4.5 ~x86" >> /etc/portage/package.keywords 19 21 # echo "dev-games/ois-1.0 ~x86" >> /etc/portage/package.keywords 20 22 }}} 21 emerge the packages. cegui and boost are dependencies of ogre, so they wont be installed explicitly. 22 As of May \'08 TCL is a mandatory dependency 23 Then, emerge the packages. CEGUI and Boost are dependencies of Ogre, so they will not be installed explicitly. TCL is also mandatory. 23 24 {{{ 24 25 # emerge cmake ogre ois tcl 25 26 # CFLAGS="-fPIC" emerge enet 26 27 }}} 27 eNet need to be compile with -fPIC to be included as shared library ([wiki:NicolasSchlumberger nico]: Dec '07)28 eNet needs to be compiled with -fPIC to be included as shared library ([wiki:NicolasSchlumberger nico]: Dec '07). 28 29 29 30 === Getting the Source Code === 30 First of all you have to install subversion on your system: Make sure, that you have '''ssl''' included in your ''make.conf'' file:[[br]] 31 '''/etc/make.conf''' 31 If you have not done so already, you need to install Subversion on your system. To do this, make sure that you have '''ssl''' included in your '''make.conf''' file:, which is normally located at '''/etc/make.conf''': 32 32 {{{ 33 33 ... … … 35 35 ... 36 36 }}} 37 now emerge subversion 37 Now emerge subversion: 38 38 {{{ 39 39 # emerge subversion 40 40 }}} 41 Check out the source via anonymous subversion login. This will download the whole project to the directory orxonox-dir.41 Now 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]. 42 42 {{{ 43 43 $ svn co http://svn.orxonox.net/orxonox/trunk orxonox-trunk 44 44 }}} 45 You won't be able to co mmit 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 itout like this:45 You 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: 46 46 {{{ 47 47 $ svn co https://svn.orxonox.net/orxonox/trunk orxonox-trunk 48 48 }}} 49 You will be asked for yourusername and password, that you got from us.49 You will then be asked for the username and password, that you got from us. 50 50 51 51