On Wed, Dec 19, 2012 at 01:20:19AM +0100, Jean-Philippe MENGUAL wrote: > Hi, > > This package depends on Python2.7. But actually, at build time (make), > the Makefile attempts to run /usr/bin/python2.5 and fails. As my python > is in /usr/local, I mentioned python=/usr/local, but same error. I also > tried adding PYTHON=2.7 at the beginning of configure line, but > configure says: release too old. > > Should a patch fix Makefiles? Another idea? > Actually, according to configure it needs python >= 2.5. Don't get misled by how we record dependencies in the book : what we mean is that we think it will build with the version of Python2 that is in the book.
A quick look at the configure script makes me think you should pass PYTHON=/usr/local/bin/python to configure, NOT PYTHON=2.7 The attempt to run python2.5 in configure comes *after* the test for python has failed to find it - at a guess, 2.5 was maybe installed as python2.5 in some circumstance (perhaps if python 1 was present). ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
