Minor fixes to the Ubuntu build scripts.

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@960382 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jsdelfino 2010-07-04 18:53:25 +00:00
commit d3748ed90e
7 changed files with 25 additions and 10 deletions

View file

@ -23,6 +23,8 @@ incldir = $(prefix)/include/modules/server
dist_mod_SCRIPTS = cpp-conf scheme-conf server-conf
moddir = $(prefix)/modules/server
nobase_dist_mod_DATA = htdocs/js/*.js
EXTRA_DIST = domain-test.composite client-test.scm server-test.scm htdocs/*.xml htdocs/*.txt htdocs/*.html htdocs/js/*.js
mod_LTLIBRARIES = libmod_tuscany_eval.la libmod_tuscany_wiring.la

View file

@ -27,8 +27,8 @@ sleep 2
# Test HTTP GET
mkdir -p tmp
$curl_prefix/bin/curl http://localhost:8090/store.html 2>/dev/null >tmp/store.html
diff tmp/store.html htdocs/store.html
$curl_prefix/bin/curl -L http://localhost:8090/store.html 2>/dev/null >tmp/login.html
grep "Login" tmp/login.html >/dev/null
rc=$?
# Cleanup

View file

@ -26,9 +26,11 @@ set -x
sudo apt-get update
# Create install directory
u=`id -un`
g=`id -gn`
sudo mkdir -p /mnt/tuscany
sudo chown ubuntu /mnt/tuscany
sudo chgrp ubuntu /mnt/tuscany
sudo chown $u /mnt/tuscany
sudo chgrp $g /mnt/tuscany
cd /mnt/tuscany
# Install system tools and libraries
@ -51,6 +53,10 @@ sudo apt-get -y install python-dev
if [ "$?" != "0" ]; then
exit $?
fi
sudo apt-get -y install libpcre3-dev libsqlite3-dev
if [ "$?" != "0" ]; then
exit $?
fi
sudo apt-get -y install libevent-dev
if [ "$?" != "0" ]; then
exit $?

View file

@ -26,9 +26,11 @@ set -x
sudo apt-get update
# Create install directory
u=`id -un`
g=`id -gn`
sudo mkdir -p /mnt/tuscany
sudo chown ubuntu /mnt/tuscany
sudo chgrp ubuntu /mnt/tuscany
sudo chown $u /mnt/tuscany
sudo chgrp $g /mnt/tuscany
cd /mnt/tuscany
# Install system tools and libraries

View file

@ -26,9 +26,11 @@ set -x
sudo apt-get update
# Create install directory
u=`id -un`
g=`id -gn`
sudo mkdir -p /mnt/tuscany
sudo chown ubuntu /mnt/tuscany
sudo chgrp ubuntu /mnt/tuscany
sudo chown $u /mnt/tuscany
sudo chgrp $g /mnt/tuscany
cd /mnt/tuscany
# Download and run install script

View file

@ -26,9 +26,11 @@ set -x
sudo apt-get update
# Create install directory
u=`id -un`
g=`id -gn`
sudo mkdir -p /mnt/tuscany
sudo chown ubuntu /mnt/tuscany
sudo chgrp ubuntu /mnt/tuscany
sudo chown $u /mnt/tuscany
sudo chgrp $g /mnt/tuscany
cd /mnt/tuscany
# Download and run install script

View file

@ -233,6 +233,7 @@ fi
cd $build
# Build Mod_auth_openid
sudo apt-get -y install libpcre3-dev libsqlite3-dev
git clone git://github.com/jsdelfino/mod_auth_openid.git
cd mod_auth_openid
./autogen.sh