Minor fixes to ubuntu image creation scripts.

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@951659 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jsdelfino 2010-06-05 06:18:02 +00:00
commit 73ed54f2ba
6 changed files with 161 additions and 32 deletions

View file

@ -15,11 +15,9 @@
# specific language governing permissions and limitations
# under the License.
# Install the required system tools and libraries, the runtime dependencies and
# the Tuscany SCA runtime on a fresh Ubuntu Server 9.10 system.
# Build a minimal distribution including only the core runtime, support for
# Python and C++ components, memcached and tinycdb.
# Python and C++ components, memcached and tinycdb on a fresh Ubuntu Server
# 9.10 system.
# Display commands as they are executed
set -x
@ -47,18 +45,6 @@ if [ "$?" != "0" ]; then
exit $?
fi
# Install Memcached
sudo apt-get -y install memcached
if [ "$?" != "0" ]; then
exit $?
fi
# Install Tinycdb
sudo apt-get -y install tinycdb libcdb-dev
if [ "$?" != "0" ]; then
exit $?
fi
# Install Libcurl
sudo apt-get -y install curl libcurl4-openssl-dev
if [ "$?" != "0" ]; then
@ -77,6 +63,24 @@ if [ "$?" != "0" ]; then
exit $?
fi
# Install Python
sudo apt-get -y install python-dev
if [ "$?" != "0" ]; then
exit $?
fi
# Install Memcached
sudo apt-get -y install memcached
if [ "$?" != "0" ]; then
exit $?
fi
# Install Tinycdb
sudo apt-get -y install tinycdb libcdb-dev
if [ "$?" != "0" ]; then
exit $?
fi
# Build Tuscany SCA
git clone git://git.apache.org/tuscany-sca-cpp.git
cd tuscany-sca-cpp