« Previous -
Version 56/84
(diff) -
Next » -
Current version
tnxgalaxy, 05/23/2010 12:02 am
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
- 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
- Get the source code
- Tell where the Ryzom directory is:
export RYZOM_PATH="/home/user/code/ryzom"
- Run the following command:
$RYZOM_PATH/tools/scripts/linux/buildmode static
Be sure it's "ON" on the "Static linking" line.
- 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
- Check Configuring and running Ryzom Core on GNU/Linux to see what you can do next.
Building the client with "make_all/build" system¶
- 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 libwww-dev libluabind-dev libfreetype6-dev libx11-dev libgl1-mesa-dev libxxf86vm-dev libopenal-dev libalut-dev libogg-dev libvorbis-dev
- If luabind is missing or too old in your distribution, you might want to checkout InstallingLuabind.
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

