Am 29.10.2014 um 23:10 schrieb Hans Aberg <haber...@telia.com>:

> 
>> On 29 Oct 2014, at 21:53, ole <m...@oleschmidt.info> wrote:
> 
>> I think I found the right place for your line.
>> And get the following error warning:
>> 
>> /Applications/LilyPond.app/Contents/Resources/bin/midi2ly:54: 
>> RuntimeWarning: Python C API version mismatch for module midi: This Python 
>> has API version 1013, module midi has version 1012.
> 
> The LilyPond midi2ly file has been compiled for the API in Python 2.4, so the 
> line should really be: 
> exec /usr/bin/arch -i386 /usr/bin/python2.4 
> /Applications/LilyPond.app/Contents/Resources/bin/midi2ly "$@“
> 
> But this version does not come with the system installation in /usr/bin/ of 
> later OS X.
> 
>> Sorry for the noise! 
>> Just discovered that a .ly file has been made despite of the error warning..
> 
> Strictly speaking, it is a warning as it passes the compile, not an error 
> which would abort. So it is a relevant issue, though it seems to work.
> 
> 
So- as I understand it right- I can install python 2.4 into /opt/local/bin via 
macports
and then change the line to

exec /usr/bin/arch -i386 /opt/local/bin/python2.4 
/Applications/LilyPond.app/Contents/Resources/bin/midi2ly "$@"

Would that work?
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to