Is there anyway to build portable binaries for mesos?

Currently, I have tried building my own libsvn, libsasl2, libcurl, libapr and then built mesos using the following:

../configure CC=gcc-4.8 CXX=g++-4.8 LD_LIBRARY_PATH=/tmp/mesos-build/sasl2/lib SASL_PATH=/tmp/mesos-build/sasl2/lib/sasl2 --prefix=/tmp/mesos-build/mesos --with-svn=/tmp/mesos-build/svn --with-apr=/tmp/mesos-build/apr --with-sasl=/tmp/mesos-build/sasl2/ --with-curl=/tmp/mesos-build/curl
make
make install

I then compress /tmp/mesos-build/mesos into an archive and distribute it to my machines. The only problem is that the build seems to be buggy. For example, I've been experiencing a containerization issues where the executors will crash, but not output anything useful to stderr and stdout. See https://github.com/mesosphere/hdfs/issues/194

Is there a definite way to build portable binaries that I can easily copy to another machine to run?

Reply via email to