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_root
path to the FastCGI installationgettext_root
path to the gettext installationopenssl_root
path to the OpenSSL installationxercesc_root
path to the Xerces-C installation
Example
FastCGI
: usefcgi-2.4.0.tar.gz
from http://www.fastcgi.com/
To create binaries do:- in
fcgi-2.4.0\include
copyfcgi_config_x86.h
tofcgi_config.h
- open msvc command line, go to
fcgi-2.4.0\libfcgi
and runnmake /f libfcgi.mak cfg=debug
andnmake /f libfcgi.mak cfg=release
- in
gettext
: usegettext-0.14.4-bin.zip
,gettext-0.14.4-dep.zip
andgettext-0.14.4-lib.zip
from http://gnuwin32.sourceforge.net/packages/gettext.htmOpenSSL
: useopenssl-1.0.0a.tar.gz
from http://www.openssl.org/Xerces-C
: usexerces-c-3.1.1-x86-windows-vc-10.0.zip
orxerces-c-3.1.1-x86_64-windows-vc-10.0.zip
from 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