From 6ab0d6faaa4f3b4cf2ca45f4c80436ce83423b9a Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 16 Jul 2012 06:48:21 +0000 Subject: Upgrade to HTTPD 2.4.2, APR 1.4.6, Memcached 1.4.13, Python 2.7.3, Ubuntu 12.04, and Mac OS X 10.7.4. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1361918 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/ubuntu/ubuntu-install-all | 106 +++++++++++++++++++------------- 1 file changed, 63 insertions(+), 43 deletions(-) (limited to 'sca-cpp/trunk/ubuntu/ubuntu-install-all') diff --git a/sca-cpp/trunk/ubuntu/ubuntu-install-all b/sca-cpp/trunk/ubuntu/ubuntu-install-all index 4aaa117f2a..00d3c54abc 100755 --- a/sca-cpp/trunk/ubuntu/ubuntu-install-all +++ b/sca-cpp/trunk/ubuntu/ubuntu-install-all @@ -15,9 +15,8 @@ # specific language governing permissions and limitations # under the License. -# Install a complete distribution, the required system tools and libraries, the -# runtime dependencies and the Tuscany SCA runtime on a fresh Ubuntu Server -# 10.10 system. +# Install a complete distribution, the required system tools and libraries, +# runtime dependencies and the Tuscany SCA runtime on Ubuntu Server 12.04. # Display commands as they are executed set -x @@ -25,6 +24,9 @@ set -x # Build and install in the current directory build=`pwd` +# First update the system +sudo apt-get update + # Install core dev tools sudo apt-get -y install curl git-core subversion autoconf pkg-config automake libtool g++ make gdb vim if [ "$?" != "0" ]; then @@ -43,27 +45,42 @@ if [ "$?" != "0" ]; then fi cd $build -# Build Apache APR and HTTP server +# Build Apache APR and APR util sudo apt-get -y install libssl-dev libpcre3-dev if [ "$?" != "0" ]; then exit $? fi -svn co -r 1201086 http://svn.apache.org/repos/asf/apr/apr/trunk apr-1.4.x -cd apr-1.4.x -curl -OL http://svn.apache.org/repos/asf/tuscany/sca-cpp/trunk/patches/apr-1.4.x.patch -patch -p0