From 55607ea78e10832838d52fdb17cbdfe4355c3265 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Thu, 3 Jan 2013 07:42:05 +0000 Subject: Update build and install scripts to use the correct dependencies. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1428195 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/ubuntu/ubuntu-install-nothreads | 98 +++++++++++++-------------- 1 file changed, 49 insertions(+), 49 deletions(-) (limited to 'sca-cpp/trunk/ubuntu/ubuntu-install-nothreads') diff --git a/sca-cpp/trunk/ubuntu/ubuntu-install-nothreads b/sca-cpp/trunk/ubuntu/ubuntu-install-nothreads index 9c17fbb3ef..64087724af 100755 --- a/sca-cpp/trunk/ubuntu/ubuntu-install-nothreads +++ b/sca-cpp/trunk/ubuntu/ubuntu-install-nothreads @@ -77,10 +77,10 @@ fi cd $build # Build HTTP server -curl -OL http://archive.apache.org/dist/httpd/httpd-2.4.2.tar.gz -tar xzf httpd-2.4.2.tar.gz -cd httpd-2.4.2 -./configure --enable-ssl --enable-proxy --enable-usertrack --enable-cgi --enable-session-crypto --enable-mods-shared=most --enable-mpms-shared="prefork worker event" --with-mpm=prefork --with-apr=$build/apr-1.4.6-bin --with-apr-util=$build/apr-util-1.4.1-bin --with-expat=$build/expat-2.0.1-bin --prefix=$build/httpd-2.4.2-bin +curl -OL http://archive.apache.org/dist/httpd/httpd-2.4.3.tar.gz +tar xzf httpd-2.4.3.tar.gz +cd httpd-2.4.3 +./configure --enable-ssl --enable-proxy --enable-usertrack --enable-cgi --enable-session-crypto --enable-mods-shared=most --enable-mpms-shared="prefork worker event" --with-mpm=prefork --with-apr=$build/apr-1.4.6-bin --with-apr-util=$build/apr-util-1.4.1-bin --with-expat=$build/expat-2.0.1-bin --prefix=$build/httpd-2.4.3-bin make make install if [ "$?" != "0" ]; then @@ -115,23 +115,24 @@ if [ "$?" != "0" ]; then fi cd $build -# Build Libcurl -curl -OL http://curl.haxx.se/download/curl-7.24.0.tar.gz -tar xzf curl-7.24.0.tar.gz -cd curl-7.24.0 -./configure --prefix=$build/curl-7.24.0-bin +# Build Libcurl with c-ares +curl -OL http://c-ares.haxx.se/download/c-ares-1.9.1.tar.gz +tar xzf c-ares-1.9.1.tar.gz +cd c-ares-1.9.1 +./configure --prefix=$build/c-ares-1.9.1-bin make make install if [ "$?" != "0" ]; then exit $? fi cd $build - -# Build Libxml2 -curl -OL ftp://xmlsoft.org/libxml2/libxml2-sources-2.7.7.tar.gz -tar xzf libxml2-sources-2.7.7.tar.gz -cd libxml2-2.7.7 -./configure --prefix=$build/libxml2-2.7.7-bin --without-threads +curl -OL http://curl.haxx.se/download/curl-7.28.0.tar.gz +tar xzf curl-7.28.0.tar.gz +cd curl-7.28.0 +curl -OL http://curl.haxx.se/ca/cacert.pem +mkdir -p $build/curl-7.28.0-bin/lib +cp cacert.pem $build/curl-7.28.0-bin/lib/cacert.pem +./configure --enable-ares=$build/c-ares-1.9.1-bin --with-ca-bundle=$build/curl-7.28.0-bin/lib/cacert.pem --prefix=$build/curl-7.28.0-bin make make install if [ "$?" != "0" ]; then @@ -139,11 +140,11 @@ if [ "$?" != "0" ]; then fi cd $build -# Build Mozilla Portable Runtime -curl -OL http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.8.8/src/nspr-4.8.8.tar.gz -tar xzf nspr-4.8.8.tar.gz -cd nspr-4.8.8/mozilla/nsprpub -./configure --prefix=$build/nspr-4.8.8-bin --enable-64bit +# Build Libxml2 +curl -OL ftp://xmlsoft.org/libxml2/libxml2-sources-2.7.7.tar.gz +tar xzf libxml2-sources-2.7.7.tar.gz +cd libxml2-2.7.7 +./configure --prefix=$build/libxml2-2.7.7-bin --without-threads make make install if [ "$?" != "0" ]; then @@ -151,20 +152,15 @@ if [ "$?" != "0" ]; then fi cd $build -# Build SpiderMonkey -sudo apt-get -y install zip unzip -if [ "$?" != "0" ]; then - exit $? -fi -curl -OL http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz -tar xzf js185-1.0.0.tar.gz -cd js-1.8.5/js/src -export LD_RUN_PATH=$build/nspr-4.8.8-bin/lib -./configure --prefix=$build/js-1.8.5-bin --with-system-nspr --enable-gczeal --with-nspr-prefix=$build/nspr-4.8.8-bin +# Build Jansson +curl -OL http://www.digip.org/jansson/releases/jansson-2.4.tar.gz +tar xzf jansson-2.4.tar.gz +cd jansson-2.4 +curl -OL http://svn.apache.org/repos/asf/tuscany/sca-cpp/trunk/patches/jansson-2.4.patch +patch -p0