« Previous - Version 45/84 (diff) - Next » - Current version
vl, 05/11/2010 04:28 pm


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 bison
  • 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
cd $RYZOM_PATH/client
make update
make all

Other methods

Autoconf

First, compile and install NeL using autoconf/automake :

cd code/nel
./autogen.sh
./configure
make
sudo make install

You can put some parameters for configure such --prefix=/usr if you want install it to /usr (for a list of all parameters use ./configure --help).

Once NeL is compiled and installed in both static and shared, you can compile the client using static NeL libs.

cd code/ryzom
make update
make

You should have a binary file "client" in code/ryzom/client/src which has to be copied in the same folder as client.cfg and other client datas.

CMake

You should take a look at BuildForLinuxCmake