On Mar 7, 2009, at 10:45 AM, James E. Bailey wrote:
On 07.03.2009, at 17:29, Tim McNamara wrote:
When I try to compile a .ly file in lilypond-mode, it fails with
the message:
-*- mode: compilation; default-directory: "~/Desktop/Downloads/
Music Charts/Lilypond Charts/Dead Tunes/Days Between/" -*-
Compilation started at Sat Mar 7 10:22:25
lilypond /Users/tim/Desktop/Downloads/Music\ Charts/Lilypond\
Charts/Dead\ Tunes/Days\ Between/Days\ Between.ly
/bin/bash: line 1: lilypond: command not found
is lilypond in your path? Does emacs know about your path? In my
~/.emacs, I have
(add-to-list 'load-path (expand-file-name "elisp" (getenv "HOME")))
(setq exec-path (split-string "/Users/jamesebailey/Applications/
LilyPond.app/Contents/Resources/bin:/bin:/sbin:/usr/bin:/usr/local/
bin:/usr/sbin" path-separator))
(setenv "PATH" (mapconcat 'identity exec-path ":"))
(setenv "MANPATH" "/Users/jamesebailey/share/man:/usr/share/man:/
usr/X11R6/man:/man")
(setenv "INFOPATH" "/Users/jamesebailey/share/info:/usr/local/info:/
usr/local/share/info:/usr/share/info")
Hmmm. I'll have to look closer at that. I don't bother with X11 any
more on my Macs so I don't need (and don't have) that stuff in
my .emacs file. I haven't found anything I need to use that requires
the X11 environment in a long time. However,
(setq load-path (append (list (expand-file-name"/Applications/
LilyPond.app/Contents/Resources/share/emacs/site-lisp")) load-path))
doesn't get the job done since it only points at the Lisp for
lilypond-mode. I'll try adding the
/Applications/LilyPond.app/Contents/Resources/bin:/bin:/sbin:/usr/
bin:/usr/local/bin:/usr/sbin
statement.
Thanks for mentioning this.
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user