Ubuntu/GSOAP

From NorduGrid

Jump to: navigation, search

Building gSOAP

Copied from NDGF Technical Wiki

In the following we assume that $GSVERSION denotes the version number of gSOAP.

Download the latest gSOAP source rpm from the NorduGrid FTP server. Convert it to a tar-ball using alien and untar twice:

export GSVERSION=2.7.8a
alien --to-tgz gsoap-$GSVERSION-2ng.src.rpm
tar -xvzf gsoap-$GSVERSION.tgz
tar -xvzf gsoap_$GSVERSION.tar.gz

Now it's time to apply the ARC specific patches to the source

cd gsoap-$GSVERSION
patch -p1 < ../gsoap_shared.patch
patch -p1 < ../gsoap_build.patch
patch -p1 < ../gsoap_openssl098.patch

And it's time to build - remember to set GSOAP_LOCATION to point to where you want gSOAP to be installed

export GSOAP_LOCATION=...
export CFLAGS="-fPIC"
export CXXFLAGS=$CFLAGS
./configure \--prefix=$GSOAP_LOCATION
make -C soapcpp2 libgsoap++.la
make
make install
Personal tools