« Previous - Version 52/84 (diff) - Next » - Current version
rti, 05/15/2010 09:16 pm
removed bison from the apt-get install command since having bison available seems to cause an unwanted regeneration of config file parser implementation


Building Ryzom Core on GNU/Linux

Building the server with "make_all/build" system

  • Install the following packages:
apt-get install libxml2-dev g++ libtool automake autoconf libpng12-dev libjpeg62-dev rrdtool libmysqlclient15-dev
  • 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

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:
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