« Previous -
Version 34/84
(diff) -
Next » -
Current version
kerozcak, 05/10/2010 04:53 pm
Building Ryzom Core on GNU/Linux¶
(tested on Ubuntu 9.10 x86, g++ 4.4.1)
- The ryzom build scripts log to $HOME/log, so make sure that directory exists:
mkdir $HOME/log
- Add the Ryzom scripts path in your PATH variable by adding the following line in your
.bashrc(change the path with your own path):
PATH=$PATH:/home/nevrax/code/ryzom/tools/scripts/linux
- Install the following packages:
apt-get install libxml2-dev g++ libtool automake autoconf libpng12-dev libjpeg62-dev rrdtool libmysqlclient15-dev
- You may also need to fix autogen.sh to recognize ACLOCAL and LIBTOOLIZE environment variables:
cd /home/nevrax cp code/nel/autogen.sh code/nelns/autogen.sh cp code/nel/autogen.sh code/snowballs2/autogen.sh
- Run the following command:
buildmode static
- Update the SRC_DIR variable in the
code/ryzom/tools/scripts/linux/buildscript (line 52) - Update the RYZOM_PATH variable in the
code/ryzom/tools/scripts/linux/make_allscript (third line). - Update the RYZOM_PATH, NEL_INCLUDE, and PACK_SHEET_FLAGS variables in the
code/ryzom/Variables.mkfile. Add -m32 to the FLAGS_CMN variable if you are compiling on a 64-bit machine.- IMPORTANT - Make sure the PACK_SHEET_FLAGS has full path names set for the flag options.
- Fix the two -I$(HOME) lines (around line 14) to look like the following, in the files:
code/ryzom/common/src/game_share/Makefile;code/ryzom/server/src/server_share/Makefile
-I$(NEL_INCLUDE) \ -I$(RYZOM_PATH)/common/src \
- Ubuntu Users, you may need to change your default shell by running the below and selecting "No" at the menu.
sudo dpkg-reconfigure dash
- 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
~/log/
make_all
- Check Configuring and running Ryzom Core on GNU/Linux to see what you can do next.

