The midi module is built in the python/ directory which should be built before the scripts/ directory. It should be placed in python/out/midi.lo and the makefiles set PYTHONPATH to .../lilypond/python/out/, which means that the call to midi2ly from the makefile should find the module even if it doesn't do it when you call scripts/out/midi2ly (not until you have run make install).
I hope this can give some clues in your debugging. I have built LilyPond here on RedHat 9, the only additional package I needed was a newer Guile (mftrace with friends are not needed if you run 'make get-pfa').
/Mats
Pierre Lorenzon wrote:
Hi,
Thanks for your answer !
That's what midi2ly says :
[EMAIL PROTECTED] /usr/local/src/latex/lilypond-2.0.2/scripts/out/midi2ly -h
Traceback (most recent call last):
File "/usr/local/src/latex/lilypond-2.0.2/scripts/out/midi2ly", line 43, in ?
import midi
ImportError: No module named midi
[EMAIL PROTECTED]
I think that the required module is not compiled at this time. I guesss that something could be wrong in the order in which the packages are compiled.
Bests
Pierre
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ Bug-lilypond mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-lilypond
