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 08:59:51 UTC
svn commit: r1131983 [1/3] - in /incubator/mesos/trunk: ./ src/
src/swig/ruby/
Author: benh
Date: Sun Jun 5 06:59:51 2011
New Revision: 1131983
URL: http://svn.apache.org/viewvc?rev=1131983&view=rev
Log:
Disabling Ruby support because it's been broken and quite hard to fix since the switch to driver APIs
Removed:
incubator/mesos/trunk/src/swig/ruby/test_framework.rb
Modified:
incubator/mesos/trunk/README
incubator/mesos/trunk/README.swig
incubator/mesos/trunk/configure
incubator/mesos/trunk/configure.OURS.karmic64
incubator/mesos/trunk/configure.OURS.lucid64
incubator/mesos/trunk/configure.OURS.rcluster
incubator/mesos/trunk/configure.OURS.solaris
incubator/mesos/trunk/configure.OURS.ubuntu32
incubator/mesos/trunk/configure.OURS.ubuntu64
incubator/mesos/trunk/configure.ac
incubator/mesos/trunk/src/Makefile.in
Modified: incubator/mesos/trunk/README
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/README?rev=1131983&r1=1131982&r2=1131983&view=diff
==============================================================================
--- incubator/mesos/trunk/README (original)
+++ incubator/mesos/trunk/README Sun Jun 5 06:59:51 2011
@@ -11,7 +11,7 @@ h2. Configure Mesos settings (future)
h2. Building Mesos
# in linux or solaris (OS X not currently supported), in the @MESOS_HOME@ directory, if you are using a 64bit ubuntu VM, type @./configure.OURS.ubuntu64@
-## our premade config commands require you to have python-dev, ruby-dev, sun-java6-jdk, and swig (to get these in ubuntu, type apt-get X, where X is those three things in turn)
+## our premade config commands require you to have python-dev, sun-java6-jdk, and swig (to get these in ubuntu, type apt-get X, where X is those three things in turn)
# type @make@
h2. Running the master
Modified: incubator/mesos/trunk/README.swig
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/README.swig?rev=1131983&r1=1131982&r2=1131983&view=diff
==============================================================================
--- incubator/mesos/trunk/README.swig (original)
+++ incubator/mesos/trunk/README.swig Sun Jun 5 06:59:51 2011
@@ -1,17 +1,16 @@
-To build the Java, Python and Ruby libraries for Mesos, you need to pass the following arguments to configure, respectively:
+To build the Java and Python interfaces to Mesos, you need to pass the
+following arguments to configure, respectively:
--with-java-home=<path to Java Development Kit install directory>
--with-python-headers=<path to Python headers>
- --with-ruby-headers=<path to Ruby headers>
For example, on Ubuntu 9.04, the following directories can be used:
--with-java-home=/usr/lib/jvm/java-6-sun
--with-python-headers=/usr/include/python2.6
- --with-ruby-headers=/usr/lib/ruby/1.8/x86_64-linux
To get these headers in the first place, you will need to install development
packages for each language for your system. For example, in Ubuntu 9.04,
-the Python and Ruby packages are python-dev and ruby-dev, and the Java
-Development Kit package is sun-java6-jdk.
+the Python development package is python-dev, and the Java Development Kit
+package is sun-java6-jdk.
Finally, to run executors written in one of these languages, you will need
to properly set up the include paths for each one. The easiest way right
@@ -23,4 +22,5 @@ For example, for a Python executor exec.
PYTHONPATH=<mesos_home>/src/swig/python
exec python <absolute_path>/exec.py
-In Java, you would need to set the CLASSPATH and the Java library path (with LD_LIBRARY_PATH or -Djava.library.path). In Ruby, use the -I option.
+In Java, you would need to set the CLASSPATH to include mesos.jar and the Java
+library path to find libmesos.so (using LD_LIBRARY_PATH or -Djava.library.path).