Building the SOAP server
Building the SOAP server requires that you first install and build the external SOAP tools, and then build the C&C SOAP server.
Installing the external packages
You first need to create an ext directory inside the unpacked candc directory (at the same level as bin). The ext directory is expected to contain the external packages that the C&C tools need to create the server binaries.
% cd <path>/candc % mkdir ext
The <path> is the full path of where you unpacked the C&C package.
To build the SOAP client/server version of the tools, you will need to install the GSoap package developed by Robert van Engelen, which is available from: http://www.cs.fsu.edu/~engelen/soap.html. We have used GSoap 2.7.9f which works with our current system (but the latest version, if not 2.7.9f, should work also). You should use the source code release, not a precompiled binary version for a particular platform. Copy the gzipped tar file (or zip file) into the candc/ext directory and then unpack it:
% cd ext % tar -xvzf gsoap_2.7.9f.tar.gz
GSoap should be compiled with the same C++ compiler which you will use for compiling the C&C tools. This involves running the configure script and specifying the candc/ext directory as the destination for libraries and header files:
% cd gsoap-2.7 % ./configure --prefix=<path>/candc/ext
and then running make and make install:
% make % make install
It is important to do this as two separate steps rather than just running make install, otherwise GSoap won't build correctly.
On completing these steps, you should have bin, lib and include directories inside the ext directory. The ext/bin directory will have a program called soapcpp2, which is needed to build bin/soap_server.
Building the SOAP server and client
To build the SOAP server itself, go back a level to the candc directory (where you first built the C&C tools) and type make soap:
% cd <path>/candc % make soap
This will build the SOAP server bin/soap_server and the client bin/soap_client.