Re: [lily4jedit-user] LilyPondTool refuses to honour PATH
Brought to you by:
fodber
From: Bertalan F. (LilyPondTool) <lil...@or...> - 2009-12-27 22:06:34
|
I agree, though unfortunately I very rarely run linux, so usually I have no idea about these bugs. Historically convert-ly had to be run using python, and it must be run like that on windows. Bert John Mandereau wrote: > Hello, > > I would like to make LilyPondTool find all LilyPond binaries only by > relying on the PATH, so as long as I don't excessively play with PATH I > run the same LilyPond version whether I call lilypond or convert-ly from > JEdit or from a terminal. For this purpose, I set as empty the field > "Path to LilyPond binary" in LPT settings. > > However, it seems impossible to make this work, as I get error messages > that say "Cannot run program "/lilypond"", or when I try to run > convert-ly from the toolbar button "Cannot run program "/python"". > > Even worse, if I set the correct path to my LilyPond installation in LPT > settings, that is "usr/local/bin", I get an error "Cannot run program > "/usr/local/bin/python"" when trying to run convert-ly from the toolbar. > > By the way, I don't understand why LilyPondTool forces using Python to > call convert-ly, which is not the good way to go if LilyPond was > installed from a package on lilypond.org, because in this case > convert-ly is a wrapper written in shell on GNU/Linux. > > Note that I don't want to mess with making symlinks; I think that LPT > should work almost out-of-the-box (i.e. works immediately after having > configured LPT settings), and for this purpose honouring the PATH and > shebangs of different wrapper scripts (which differ depending on whether > LilyPond has been installed by local compilation, the distro package > manager or lilypond.org package) is the good way to go. > > Best, > John > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > ------------------------------------------------------------------------ > > _______________________________________________ > Lily4jedit-user mailing list > Lil...@li... > https://lists.sourceforge.net/lists/listinfo/lily4jedit-user > |