In order to compile and install log4sendpp on your system, type the following in the base directory of the log4sendpp distribution:
%
./configure
%
make
%
make install
There are some options for configure you might be interested in:
By default log4sendpp uses standard 8bit wide strings (std::string
and const char* to be more precise) when sending messages. If you need
basic support for
Unicode and it's 16bit or 32bit wide characters
you must add this parameter when invoking configure
.
This option generates and installs the api documentation. doxygen must be installed in this case.
If you want to generate and install the handbook, you must provide this parameter. docbook must be installed in this case.
Some environments don't use runtime type information to reduce the size of the footprint of the binaries. In this case the according debugging information is omitted.
Some environments don't use exceptions for similar reasons.
Older compilers may not support namespaces properly. If you need such a compiler for a given environment you might try to disable namespaces for all built-in parts and maybe get enough of the files compile to build a basic test library.
In this case log4sendpp
resides in the global namespace. This may lead to problems
when using other libraries which contain classes like Exception
or String
.
This option enables CppUnit as test framework.
This option enables Boost.Test as test framework.
Since log4sendpp uses autoconf and automake you should have no trouble compiling it. Should you run into problems please report them to the Bug Tracker.
Once you have compiled the sources you should run the built-in checks to verify the correct behaviour on your platform:
%
make check