summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/compile.xml29
1 files changed, 17 insertions, 12 deletions
diff --git a/doc/compile.xml b/doc/compile.xml
index 6dabd72..f192e45 100644
--- a/doc/compile.xml
+++ b/doc/compile.xml
@@ -172,27 +172,32 @@ Ok. Here is a script which will download, compile and install csoap and libxml2.
#-----------------------------------------------------------
#!/bin/sh
+# Alter this variables for your installation directory
+LIBSOAPDIST=/usr/local
+LIBXMLDIST=/usr/local
+
# Download and install libxml2
-wget ftp://ftp.xmlsoft.org/libxml2-2.6.20.tar.gz
-tar zxvf libxml2-2.6.20.tar.gz
-cd libxml2-2.6.20
-./configure --prefix=`pwd`/../libxml2
-make
-make install
+wget ftp://ftp.xmlsoft.org/libxml2-2.6.20.tar.gz
+tar zxvf libxml2-2.6.20.tar.gz
+cd libxml2-2.6.20
+./configure --prefix=$LIBXMLDIST
+make
+make install
cd ..
# Download and install cSOAP
-
-wget http://kent.dl.sourceforge.net/sourceforge/csoap/libsoap-1.0.3.tar.gz
-tar zxvf libsoap-1.0.3.tar.gz
-cd libsoap-1.0.3
-./configure --prefix=`pwd`/../libsoap --with-libxml-prefix=`pwd`/../libxml2
-make
+
+wget http://kent.dl.sourceforge.net/sourceforge/csoap/libsoap-1.0.3.tar.gz
+tar zxvf libsoap-1.0.3.tar.gz
+cd libsoap-1.0.3
+./configure --prefix=$LIBSOAPDIST --with-libxml-prefix=$LIBXMLDIST
+make
make install
#-----------------------------------------------------------
+
]]></synopsis>