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.

It seems not. Unless we do some patch, right?

>  A quick look at the configure script makes me think you should pass
> PYTHON=/usr/local/bin/python to configure, NOT PYTHON=2.7

Done. It says yet that "checking if /usr/local/bin/python >=2.5" and no. 
According to configure, 2.7 < 2.5.... I tried with several newer releases of 
glib too, this script says yet "2.7 < 2.5". Very strange!

>  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).

I guess installing python 2.5 without any instructions isn't so easy. Moreover, 
it's strange that configure sees python 2.7 < 2.5. I think either this package 
should be patched, or the dependency in the book should be python2.5 with a 
link to instructions for python2.5.



> ĸ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
-  
       Jean-Philippe MENGUAL
       Président de l'association traduc.org 
       Coordinateur du projet Linux From Scratch
       Coordinateur au sein du projet Trad GNU de l'April
       Animateur suppléant du groupe de travail Accessibilité de l'April



Le mercredi 19 décembre 2012 à 01:06 +0000, Ken Moffat a écrit :
> 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?
> > 


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to