[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
python problem during compilation
From: |
Han-Wen Nienhuys |
Subject: |
python problem during compilation |
Date: |
Mon, 22 Sep 2003 12:29:28 +0200 |
that's strange - something is broken at your side. The python include
problem should be handled automatically: compiling python/ is done
before scripts/ , and make/lilypond-vars.make
which is included from scripts has
export PYTHONPATH:=$(builddir)/python/$(outdir):$(PYTHONPATH)
Can you check why help2man doesn't work? The rules are in
stepmake/stepmake/help2man-*make
address@hidden writes:
>
> [CVS 2003-09-19]
>
> While compiling I get this:
>
> /usr/bin/perl \
> /home/sx0005/lilypond.compiled/buildscripts/out/help2man \
> /home/sx0005/lilypond.compiled//scripts/out/midi2ly \
> > /home/sx0005/lilypond.compiled//scripts/out/midi2ly.1
> help2man: can't get `--help' info from
> /home/sx0005/lilypond.compiled//scripts/out/midi2ly
> make[2]: *** [/home/sx0005/lilypond.compiled//scripts/out/midi2ly.1] Error 1
>
> Directly saying (in scripts/out):
>
> ./midi2ly --help
>
> I get
>
> Traceback (most recent call last):
> File "./midi2ly", line 43, in ?
> import midi
> ImportError: No module named midi
>
> This looks like a chicken-and-egg problem since installing the python
> module before lilypond is probably a bad idea. I suggest that the
> option --help is handled before the `midi' module is loaded. BTW, the
> same problem happens with `scripts/out/lilypond' and
> `scripts/out/lilypond-book'.
--
Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen