Blog Entry
LilyPond in Leopard
First time I try to install LilyPond in Leopard. Not as smooth as it is in Linux, Windows, or older versions of OS X, it appears.
Just putting the LilyPond.app file in the /Applications folder does nothing to allow us to run LilyPond from the command line. Putting a simple simlink /usr/bin/lilypond pointing to /Applications/LilyPond.app/Contents/Resources/bin/lilypond does not help either because the lilypond executable can not find other files it needs (located in /Applications/LilyPond.app) in order to run. So, looking around I found Hans Fugal's post about how to fix this. I modified his script just a bit, called it lilypond and put it in /usr/bin/. Now it works!
#! /bin/sh APP=/Applications/LilyPond.app PATH=$APP/Contents/Resources/bin:$PATH exec lilypond "$@"
- Posted on:
- 2009.08.05 -0500
- Tags:
- code
víctor adán