Installation on UNIX / MacOS X
This package uses the standard autoconf/automake mechanism. Unpack the source code, then change to the directory and
run configure and make. configure supports the following extra arguments:
--enable-debug(default: disabled) create binaries with debugging information--disable-crypto(default: enabled) OpenSSL crypto library not available: do not build libppbase_crypto--disable-fcgi(default: enabled) disable FastCGI support in libppbase_cgi--disable-xercesc(default: enabled) Xerces-C not available: do not build libppbase_soap
Example:
$ ./configure --enable-debug $ make $ sudo make install
Installation on Windows
Build tool is Microsoft Visual Studio / Visual C++ 2010. The following environment variables must be set before starting Visual Studio:
fcgi_rootpath to the FastCGI installationgettext_rootpath to the gettext installationopenssl_rootpath to the OpenSSL installationxercesc_rootpath to the Xerces-C installation
Example
FastCGI: usefcgi-2.4.0.tar.gzfrom http://www.fastcgi.com/
To create binaries do:- in
fcgi-2.4.0\includecopyfcgi_config_x86.htofcgi_config.h - open msvc command line, go to
fcgi-2.4.0\libfcgiand runnmake /f libfcgi.mak cfg=debugandnmake /f libfcgi.mak cfg=release
- in
gettext: usegettext-0.14.4-bin.zip,gettext-0.14.4-dep.zipandgettext-0.14.4-lib.zipfrom http://gnuwin32.sourceforge.net/packages/gettext.htmOpenSSL: useopenssl-1.0.0a.tar.gzfrom http://www.openssl.org/Xerces-C: usexerces-c-3.1.1-x86-windows-vc-10.0.ziporxerces-c-3.1.1-x86_64-windows-vc-10.0.zipfrom http://xerces.apache.org/xerces-c/download.cgi
Building: run visual studio, open the solution file win32\libppbase.sln and build the solution
Installing: no procedure available yet