Building from sources
RainbruRPG is mostly written in C++ using autoconf
. As we try to reduce the amount of work to be done, instead of writing all source code from scratch, we use external dependencies.
As a side effect and due to dependency hell
, not all platforms are yet supported, especially those that not conform to the posix
standards (including but not limited to win32, win64 and mac os).
Here is a list of libraries you will need to build RainbruRPG from sources :
: This table may be outdated
, please check the DEPENDENCIES
file in SVN repository to a development version.
In many *nix
platforms, your distribution's package manager may have a pre-compiled binary version of these libraries, please check it.
Building and installing
Basically, you only need to perform the following commands in the RainbruRPG's root directory in any *nix
platforms to build and install the client. Then you may test it with the
$ make check
# make install
: The $-prefixed command are executed as normal user, the #-prefixed one must be ran with superuser privileges (as root). You may use the
command on Ubuntu
command is needed to build the client with debug symbols
and full logging information.
The prefix option
command will install libraries, binaries and datafiles in
subdirectories. RainbruRPG will assume this directory to
on all systems. If you want to install RainbruRPG in another directory, please use the
configure options :
$ ./configure --prefix=/opt/games/
Here is a hint for a common error.
error while loading shared libraries
Due to your intallation prefix, ld
, the linker cannot find the installed library. If you ran
successfully maybe ld
do not search in your chosen installation prefix. Try to run these command as root (remove sharp character) to fix this issue :
# echo "/usr/local/lib" > /etc/ld.so.conf.d/rainbrurpg.conf
The first command will add a little file in a well known
directory while the second will update the ld
runtime linker configuration.
If you cannot get a working client, please contact us either through the Help forum
or by mail (please use the Send feedback
link at the bottom of all pages of this wiki).
- 15 Jan 2013