summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/ubuntu/ubuntu-install
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-03-27 16:57:21 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-03-27 16:57:21 +0000
commit68fcd3094fc78203a814725bc5542820c0f0f9b0 (patch)
tree9f3b6eeb4eac398ed30a90d019349634994e7724 /sca-cpp/trunk/ubuntu/ubuntu-install
parentd64a280c20229e374684e9b5e392fdf878ed5514 (diff)
Change automated build to build curl from source instead of using the deb libcurl package as it's back-level on Ubuntu 9.04. Adjust INSTALL instructions as well.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@928231 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rwxr-xr-xsca-cpp/trunk/ubuntu/ubuntu-install16
1 files changed, 14 insertions, 2 deletions
diff --git a/sca-cpp/trunk/ubuntu/ubuntu-install b/sca-cpp/trunk/ubuntu/ubuntu-install
index 64712959f9..fea93e1a9e 100755
--- a/sca-cpp/trunk/ubuntu/ubuntu-install
+++ b/sca-cpp/trunk/ubuntu/ubuntu-install
@@ -125,8 +125,20 @@ if [ "$?" != "0" ]; then
exit $?
fi
+# Build Libcurl
+curl -o curl-7.19.5.tar.gz http://curl.haxx.se/download/curl-7.19.5.tar.gz
+tar xzf curl-7.19.5.tar.gz
+cd curl-7.19.5
+./configure --prefix=$build/curl-7.19.5-bin
+make
+make install
+if [ "$?" != "0" ]; then
+ exit $?
+fi
+cd $build
+
# Build Tuscany SCA
-sudo apt-get -y install libcurl4-openssl-dev xulrunner-dev
+sudo apt-get -y install xulrunner-dev
if [ "$?" != "0" ]; then
exit $?
fi
@@ -134,7 +146,7 @@ git clone git://git.apache.org/tuscany-sca-cpp
cd tuscany-sca-cpp
cp etc/git-exclude .git/info/exclude
./bootstrap
-./configure --prefix=$build/tuscany-sca-cpp-bin --with-apr=$build/httpd-2.2.15-bin --with-httpd=$build/httpd-2.2.15-bin --enable-threads --enable-python --enable-java --with-java=/usr/lib/jvm/java-6-openjdk --enable-webservice --with-axis2c=$build/axis2c-1.6.0-bin --enable-queue --with-qpidc=$build/qpidc-0.6-bin --enable-chat --with-libstrophe=$build/libstrophe --with-vysper=$build/vysper-0.5
+./configure --prefix=$build/tuscany-sca-cpp-bin --with-libcurl=$build/curl-7.19.5-bin --with-apr=$build/httpd-2.2.15-bin --with-httpd=$build/httpd-2.2.15-bin --enable-threads --enable-python --enable-java --with-java=/usr/lib/jvm/java-6-openjdk --enable-webservice --with-axis2c=$build/axis2c-1.6.0-bin --enable-queue --with-qpidc=$build/qpidc-0.6-bin --enable-chat --with-libstrophe=$build/libstrophe --with-vysper=$build/vysper-0.5
make
make install
if [ "$?" != "0" ]; then