On Mon, Aug 23, 2010 at 6:33 AM, Lisandro Dalcin <dalc...@gmail.com> wrote: > On 21 August 2010 05:32, Stefan Behnel <stefan...@behnel.de> wrote: >> Kurt Smith, 20.08.2010 20:02: >>> test_embed (__main__.EmbedTest) ... i686-apple-darwin10-gcc-4.2.1: >>> Python.framework/Versions/6.0.1/Python: No such file or directory >>> make: *** [embedded] Error 1 >>> FAIL >>> >>> ====================================================================== >>> FAIL: test_embed (__main__.EmbedTest) >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "runtests.py", line 649, in test_embed >>> "make PYTHON='%s' test> make.output" % sys.executable) == 0) >>> AssertionError >> >> The embedding test is a bit fragile. It keeps failing in Python 2.3/4/5 in >> Hudson as well. >> >> https://sage.math.washington.edu:8091/hudson/job/cython-devel-tests-py25-c/lastCompletedBuild/testReport/%28root%29/EmbedTest/test_embed/ >> >> test_embed (__main__.EmbedTest) ... >> /usr/bin/ld: cannot find -lpython2.5 >> collect2: ld returned 1 exit status >> make: *** [embedded] Error 1 >> >> It seems to depend on a shared Python build, whereas the older Python >> builds do not use a shared library (which I think is the best way of >> building CPython for testing purposes). >> > > Actually, the Makefile is really broken, it only works for system > Python installs.
It works (or tries to work) with whatever Python it finds in your path. I've run it against the non-system Sage Python many times. >> Any volunteer to make the test more robust? >> > > http://hg.cython.org/cython-devel/rev/c9a7095ef019 Thanks! > PS: I'm not sure about OS X. I do not expect framework Python builds to work. Works for me (both with the System Python and with Sage's). - Robert _______________________________________________ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev