> On Jan. 3, 2014, 8:39 p.m., Vinod Kone wrote: > > configure.ac, lines 509-510 > > <https://reviews.apache.org/r/16436/diff/4/?file=413415#file413415line509> > > > > Is setting PYTHON env variable to a non-default distribution also an > > option? > > TILL TOENSHOFF wrote: > How about these? > > OSX-specific: > > --- snip --- > It appears we were unable to build a usable native Python egg. > You might be using the default Mac OS X Python distribution which > is incompatible for building native eggs using this compiler > setup. > See https://issues.apache.org/jira/browse/MESOS-799 for more > details. > There are two possible workarounds for this issue: > 1. Disable Python, but that will mean that we don't build Python > bindings. > 2. Use an alternative Python that is built matching the build > settings of Mesos. > --- snap --- > > All other systems: > > --- snip --- > It appears we were unable to build a usable native Python egg. > There are two possible workarounds for this issue: > 1. Disable Python, but that will mean that we don't build Python > bindings. > 2. Use an alternative Python distribution that is built matching > the build settings of Mesos. > --- snap ---
LGTM. Maybe you could be a bit specific about how to use an alternate python distribution? e.g., PYTHON=/path/to/python ./configure? - Vinod ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16436/#review31157 ----------------------------------------------------------- On Jan. 3, 2014, 11:32 p.m., TILL TOENSHOFF wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/16436/ > ----------------------------------------------------------- > > (Updated Jan. 3, 2014, 11:32 p.m.) > > > Review request for mesos, Benjamin Hindman, Ben Mahler, Niklas Nielsen, and > Vinod Kone. > > > Bugs: MESOS-799 > https://issues.apache.org/jira/browse/MESOS-799 > > > Repository: mesos-git > > > Description > ------- > > This autoconf check does a rather complex test for covering MESOS-799. It > builds and test-runs a minimal egg that links against a static library that > imports a standard C++ library object. A static library (built using the > standard mesos build settings) is needed in this puzzle because the egg > producing distutils possibly use slightly different build settings (derived > from python-config). > If that check succeeds, we can be rather sure that the mesos-egg itself will > be functional from a build-env point of view. When this test fails, the user > is given a sort of explanation and a hint to work around the issue. > > Note that this check is performed regardless of the base OS. The error > message however is OS specific. > > > Diffs > ----- > > configure.ac f69908a > > Diff: https://reviews.apache.org/r/16436/diff/ > > > Testing > ------- > > ./bootstrap ./configure - all on linux and OSX 10.9 (with and without clang, > with and without default python) > > > Thanks, > > TILL TOENSHOFF > >
