Building

From CenterIM
Revision as of 00:56, 14 February 2012 by Roadkill (talk | contribs) (Created page with "= Building = Use the following command to get the latest source code (using Git): git clone -b mob git+ssh://mob@repo.or.cz/srv/git/centerim5.git To successfully compile Cente...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Building

Use the following command to get the latest source code (using Git):

git clone -b mob git+ssh://mob@repo.or.cz/srv/git/centerim5.git

To successfully compile CenterIM 5 you need to have working C++ compiler suite (including GNU make) and libpurple, ncursesw, libsigc++ libraries and development headers installed. (GNU autotools are needed if building from the Git repository.)

./bootstrap (use only if building from the Git repository)
./configure --enable-debug
make
make install

OS specific notes

Linux

Development dependecies for Debian, possibly incomplete:

libtool libpurple-dev libncursesw5-dev libglib2.0-dev libsigc++-2.0-dev autoconf libgconf2-dev autopoint g++ ncurses-dev gettext

Solaris

CenterIM 5 is regularly tested on Solaris but as of 2011-03-27 you need to use a patched libtool version or hand edit the configure file.

Both GNU C++ and Sun C++ compilers are supported. You need to use libsigc++ compiled against stdcxx4 (note: default Solaris version is built against Cstd library).