« Previous -
Version 76/84
(diff) -
Next » -
Current version
demarii, 07/01/2010 09:12 pm
Building Ryzom Core on GNU/Linux¶
Building the server with "make_all/build" system¶
- Install the following packages:
sudo apt-get install libxml2-dev g++ libtool automake autoconf libpng12-dev libjpeg62-dev rrdtool libmysqlclient15-dev flex libxmu-dev
- If you're using ubuntu 10.04 or 9.10 you may still need to install bison as nel has yacc references:
sudo apt-get install bison
Note: You will also need to install libwww-dev. In Ubuntu lucid this package doesn't seem to exist. You can however use the package from Karmic or download the source.
libwww-dev depends on:
libexpat1-dev (in repository use apt-get)
libwww-ssl0 (not in repository) package from Karmic or
libwww0 (not in repository) package from Karmic
Choose libwww-ssl0 if you want SSL support or libwww0 if you don't need SSL.
- To install the above manually downloaded packages use dpkg
sudo dpkg -i libwww-ssl0_5.4.0_build2_i386.deb
Do the same for libwww-ssl0 or libwww0, libwww-dev replacing the file name with the correct one for each package. Then use your package manager to install libexpat1-dev
- Install luabind.
- Get the source code
- Tell where the Ryzom source code directory is:
Note: Change the below path to the path where you cloned the source.
export RYZOM_PATH="/home/user/ryzom/code/ryzom"
- Run the following command:
$RYZOM_PATH/tools/scripts/linux/buildmode static
You will see the following. Be sure "Static linking" line is set "ON".
Compilation modes : Debug mode : OFF Static linking : ON Dynamic linking : OFF Silent compilation : OFF
- Run the following script that will compile NeL and Ryzom Core Services. It's a very slow process because it compiles lot of things. You can follow the process and see errors in
$RYZOM_PATH/log/
$RYZOM_PATH/tools/scripts/linux/make_all
Note: If 'make_all' fails at the end, you may need to execute this as 'root'. In ubuntu 10.4 try entering the following, make sure your $RYZOM_PATH is still correct and try running make_all again.
sudo su - cd $RYZOM_PATH
Note: For those who are failing at this stage in the process, and receiving Error Log messages as detailed in the Forums. cannot find -lnetnet or Error in compiling the following steps worked for me.
- Follow the steps outlined in [[BuildForLinuxCmake]] to build and install the NeL and NeLNS libraries. - Create a copy of the $RYZOM_PATH/tools/scripts/linux/make_all script, and comment out the entries for BUILD NEL and BUILD NELNS - Run this modified make_all script
- Check Configuring and running Ryzom Core on GNU/Linux to see what you can do next.
Building the client with "make_all/build" system — DEPRECATED¶
Note: This method might not work, please follow for steps of the CMake method to build the client
- If you already compile the server with the method above, you just have to continue the process to compile the client
- Install the following packages:
sudo apt-get install libcurl4-openssl-dev libluabind-dev libfreetype6-dev libx11-dev libgl1-mesa-dev libxxf86vm-dev libopenal-dev libalut-dev libogg-dev libvorbis-dev
cd $RYZOM_PATH/client CFLAGS="-DFINAL_VERSION=1 -DNL_STATIC=1" CXXFLAGS="-DFINAL_VERSION=1 -DNL_STATIC=1" $RYZOM_PATH/tools/scripts/linux/build init nel --disable-samples --disable-tools --enable-sound CFLAGS="-DFINAL_VERSION=1 -DNL_STATIC=1" CXXFLAGS="-DFINAL_VERSION=1 -DNL_STATIC=1" $RYZOM_PATH/tools/scripts/linux/build nel CFLAGS="-DFINAL_VERSION=1 -DNL_STATIC=1" CXXFLAGS="-DFINAL_VERSION=1 -DNL_STATIC=1" $RYZOM_PATH/tools/scripts/linux/build nel install cd src/client_sheets/; make update; cd ../.. cd src/seven_zip/; make update; cd ../.. make update cd src/client_sheets/; make; cd ../.. cd src/seven_zip/; make; cd ../.. make

