diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-11-16 08:16:41 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-11-16 08:16:41 +0000 |
commit | 40d310c40e8a42abb8757be605ea85f732069a41 (patch) | |
tree | 28e02e0c2c1d29245341a45941a4f2ed9af7f298 /sca-cpp/trunk | |
parent | 9af713a9bd7b543e6c72aa01d1d94cde623ceca3 (diff) |
Minor build fixes. Create missing .so links in sample. Unpack httpd-2.3.8-deps.tar.gz. Update EC2 build scripts to use Ubuntu 10.10 64-bit images.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1035553 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk')
-rw-r--r-- | sca-cpp/trunk/samples/store-cpp/Makefile.am | 7 | ||||
-rwxr-xr-x | sca-cpp/trunk/ubuntu/ubuntu-install-all | 2 | ||||
-rwxr-xr-x | sca-cpp/trunk/ubuntu/uec2-start | 29 |
3 files changed, 21 insertions, 17 deletions
diff --git a/sca-cpp/trunk/samples/store-cpp/Makefile.am b/sca-cpp/trunk/samples/store-cpp/Makefile.am index de4a63553f..1a642e583c 100644 --- a/sca-cpp/trunk/samples/store-cpp/Makefile.am +++ b/sca-cpp/trunk/samples/store-cpp/Makefile.am @@ -22,12 +22,19 @@ sampledir = $(prefix)/samples/store-cpp nobase_dist_sample_DATA = currency-converter.cpp fruits-catalog.cpp shopping-cart.cpp store.composite htdocs/*.html sample_LTLIBRARIES = libcurrency-converter.la libfruits-catalog.la libshopping-cart.la +noinst_DATA = libcurrency-converter.so libfruits-catalog.so libshopping-cart.so libcurrency_converter_la_SOURCES = currency-converter.cpp +libcurrency-converter.so: + ln -s .libs/libcurrency-converter.so libfruits_catalog_la_SOURCES = fruits-catalog.cpp +libfruits-catalog.so: + ln -s .libs/libfruits-catalog.so libshopping_cart_la_SOURCES = shopping-cart.cpp +libshopping-cart.so: + ln -s .libs/libshopping-cart.so dist_noinst_SCRIPTS = server-test TESTS = server-test diff --git a/sca-cpp/trunk/ubuntu/ubuntu-install-all b/sca-cpp/trunk/ubuntu/ubuntu-install-all index a6b2ccf468..ab9244b30e 100755 --- a/sca-cpp/trunk/ubuntu/ubuntu-install-all +++ b/sca-cpp/trunk/ubuntu/ubuntu-install-all @@ -51,6 +51,8 @@ if [ "$?" != "0" ]; then fi wget http://archive.apache.org/dist/httpd/httpd-2.3.8.tar.gz tar xzf httpd-2.3.8.tar.gz +wget http://archive.apache.org/dist/httpd/httpd-2.3.8-deps.tar.gz +tar xzf httpd-2.3.8-deps.tar.gz cd httpd-2.3.8 ./configure --enable-ssl --enable-proxy --enable-usertrack --enable-mods-shared=most --with-included-apr --with-expat=$build/expat-2.0.1-bin --with-mpm=prefork --prefix=$build/httpd-2.3.8-bin make diff --git a/sca-cpp/trunk/ubuntu/uec2-start b/sca-cpp/trunk/ubuntu/uec2-start index a0c1b8b2e2..72b6571877 100755 --- a/sca-cpp/trunk/ubuntu/uec2-start +++ b/sca-cpp/trunk/ubuntu/uec2-start @@ -15,29 +15,24 @@ # specific language governing permissions and limitations # under the License. -# Start an Ubuntu 9.10 EC2 instance for use with Tuscany +# Start an Ubuntu 10.10 64-bit EC2 instance for use with Tuscany here=`readlink -f $0`; here=`dirname $here` $here/uec2-setenv -# Here are the AMIs you can use in the different EC2 regions: -# Ubuntu 9.10 (instance storage) -# US east 1 - ami-bb709dd2 -# US west 1 - ami-c32e7f86 -# EU west 1 - ami-2fc2e95b -# -# Ubuntu 10.04 (elastic block storage) -# US east 1 - ami-1234de7b -# US west 1 - ami-10f3a255 -# EU west 1 - ami-38bf954c -# AP s.east - ami-2c354b7e +# Here are the AMI IDs you can use in the different EC2 regions: +# Ubuntu 10.10 64-bit (elastic block storage) +# US east 1 - ami-548c783d +# US west 1 - ami-ca1f4f8f +# EU west 1 - ami-405c6934 +# AP s.east - ami-68136d3a +# More AMI IDs at http://uec-images.ubuntu.com # Here are some of the instance types you can use: -# t1.micro (elastic block storage only) -# m1.small (default) +# t1.micro # m1.large -#ec2-run-instances "ami-c32e7f86" -k ec2-tuscany-keypair --region us-west-1 -#ec2-run-instances "ami-10f3a255" -t t1.micro -k ec2-tuscany-keypair --region us-west-1 -ec2-run-instances "ami-10f3a255" -k ec2-tuscany-keypair --region us-west-1 +#ec2-run-instances "ami-ca1f4f8f" -t m1.large -k ec2-tuscany-keypair --region us-west-1 +#ec2-run-instances "ami-ca1f4f8f" -t t1.micro -k ec2-tuscany-keypair --region us-west-1 +ec2-run-instances "ami-ca1f4f8f" -t t1.micro -k ec2-tuscany-keypair --region us-west-1 |