lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configure does not check for python version >=2.4


From: Karl Hammar
Subject: configure does not check for python version >=2.4
Date: Fri, 12 May 2006 01:35:02 +0200

Running whith e.g python 2.3.5 gives me:

  $ make
  ...
  make[1]: Entering directory `/home/karl/most/music/lilypond/head/scripts'
  cat convert-ly.py | sed -e '#'  -e 'address@hidden@!/bin/sh!g'  -e 
'address@hidden
  chmod 755 out/convert-ly
  /usr/bin/perl /home/karl/most/music/lilypond/head/buildscripts/out/help2man 
out/convert-ly > out/convert-ly.1
  help2man: can't get `--help' info from out/convert-ly
  make[1]: *** [out/convert-ly.1] Error 1
  make[1]: Leaving directory `/home/karl/most/music/lilypond/head/scripts'
  make: *** [all] Error 2

Which fails due to missing module subprocess.
It was introduced recently:

  $ grep -B7 -A1 subprocess ChangeLog 

  2006-03-12  Han-Wen Nienhuys  <address@hidden>

          * scripts/lilypond-book.py (get_latex_textwidth): explicitly close
          tmphandle.

          * python/lilylib.py (system): rewrite system() using
          subprocess. Remove >& redirection trickery.

Which makes python ver. 2.4 a requirement:
 http://www.python.org/doc/2.4.2/lib/module-subprocess.html

Attached patch seems to solve that, though it gives strange error message:

  $./configure
  ...
  config.status: creating config.hh

  ERROR: Please install required programs:  python2.3 >= 2.4 (installed: 2.3) 
Python.h (python-devel, python-dev or libpython-dev package)

  See INSTALL.txt for more information on how to build LilyPond

Regards,
/Karl

-----------------------------------------------------------------------
Karl Hammar                    Aspö Data               address@hidden
Lilla Aspö 2340                                                Networks
S-742 94 Östhammar          +46  173 140 57                   Computers
Sweden                     +46  70 511 97 84                 Consulting
-----------------------------------------------------------------------

Attachment: diff
Description: diff


reply via email to

[Prev in Thread] Current Thread [Next in Thread]