You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 05:33:01 UTC

svn commit: r1131637 - /incubator/mesos/trunk/configure.twitter

Author: benh
Date: Sun Jun  5 03:33:00 2011
New Revision: 1131637

URL: http://svn.apache.org/viewvc?rev=1131637&view=rev
Log:
Configure script for the Twitter datacenter

Added:
    incubator/mesos/trunk/configure.twitter   (with props)

Added: incubator/mesos/trunk/configure.twitter
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/configure.twitter?rev=1131637&view=auto
==============================================================================
--- incubator/mesos/trunk/configure.twitter (added)
+++ incubator/mesos/trunk/configure.twitter Sun Jun  5 03:33:00 2011
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+### Build swig because our production machines have a buggy version.
+# [travis@sjc1j039 swig-1.3.40]$ ./configure --prefix=/home/travis/swig-1.3.40 && make && make install
+
+### Build python2.6 because our version does not have a shared library.
+# [travis@sjc1j039 Python-2.6.4]$ ./configure --prefix /home/travis/Python-2.6.4 --enable-shared && make && make install
+
+#LDFLAGS="-L/home/travis/src/swig-1.3.40/Lib -L/home/travis/Python-2.6.4/lib"
+#CPPFLAGS="-I/home/travis/src/swig-1.3.40/Source/Include -I/home/travis/Python-2.6.4/include/python2.6"
+
+LDFLAGS="-L/home/travis/src/swig-1.3.40/Lib -L/usr/lib/python2.6 -lpython2.6 -L/home/travis/src/zookeeper-3.2.2/src/c/.libs"
+CPPFLAGS="-I/home/travis/src/swig-1.3.40/Source/Include -I/usr/include/python2.6 -I/home/travis/src/zookeeper-3.2.2/src/c/include -I/home/travis/src/zookeeper-3.2.2/src/c/generated"
+
+LDFLAGS="$LDFLAGS" CPPFLAGS="$CPPFLAGS" CXXFLAGS="$CPPFLAGS" ./configure \
+  --with-python-headers=/usr/include/python2.6 \
+  --with-ruby-headers=/opt/local/lib/ruby/1.8/x86_64-linux \
+  --with-java-home=/usr/java/default \
+  --with-webui $@

Propchange: incubator/mesos/trunk/configure.twitter
------------------------------------------------------------------------------
    svn:executable = *