CTPP2 installation
CTPP2 supports wide list of operating systems: various Linuxes, FreeBSD, OpenBSD, NetBSD and Sun Solaris. For Solaris, Linux and FreeBSD you can also download precompiled binaries.
Building from source
To build the library under the POSIX-systems you need: GNU gcc compiler 2.95.4 or above, Sun C++ 5.9 compiler or above and cmake building system version 2.4.2 or above.
Download library tarball source:
wget http://ctpp.havoc.ru/download/ctpp2-2.X.X.tar.gz
Unzip, configure, build and install:
gunzip -c ctpp2-2.X.X.tar.gz | tar xvf -
cd ctpp2-2.X.X
cmake .
make
make install
You may set some flags for cmake:
1. ENABLE_OPTIMIZATION - enable code optimization.
2. DEBUG_MODE - enable extra debug output (use it only for testing).
3. GETTEXT_SUPPORT - enable libgettext support.
You can also set shell variable CXXFLAGS.
Setup from precompiled packages
Choose operating system:
|