On 08/12/11 12:06, Nick Payne wrote:
I was using Lilypond with no problems yesterday (2.15.20 on Ubuntu
10.04 amd64). I noticed 2.15.21 on lilypond.org this morning, so I
downloaded the Linux 64 version, ran uninstall-lilypond, and installed
2.15.21. On any attempt to run Lilypond I got:
GNU LilyPond 2.15.21
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "lily.scm" in load path
I rebooted, ran uninstall-lilypond again and reinstalled 2.15.20 from
the download I still had from my initial install of 2.15.20, but got
exactly the same error message from 2.15.20, so I ran lilypond inside
strace. This seems to be the relevant portion of the strace log file -
the last couple of dozen lines:
stat("/home/nick/lilypond/scm/lily.scm", 0x7fffc5d00d00) = -1 ENOENT
(No such file or directory)
stat("/home/nick/lilypond/lily.scm", 0x7fffc5d00d00) = -1 ENOENT (No
such file or directory)
stat("/usr/local/lilypond/usr/bin/../share/guile/1.8/lily.scm",
0x7fffc5d00d00) = -1 ENOENT (No such file or directory)
stat("/usr/share/guile/site/lily.scm", 0x7fffc5d00d00) = -1 ENOENT (No
such file or directory)
stat("/usr/share/guile/1.8/lily.scm", 0x7fffc5d00d00) = -1 ENOENT (No
such file or directory)
stat("/usr/share/guile/lily.scm", 0x7fffc5d00d00) = -1 ENOENT (No such
file or directory)
write(2, "ERROR", 5) = 5
write(2, ": ", 2) = 2
write(2, "In procedure ", 13) = 13
write(2, "primitive-load-path", 19) = 19
write(2, ":\n", 2) = 2
write(2, "ERROR", 5) = 5
write(2, ": ", 2) = 2
write(2, "Unable to find file ", 20) = 20
write(2, "\"", 1) = 1
write(2, "lily.scm", 8) = 8
write(2, "\"", 1) = 1
write(2, " in load path", 13) = 13
write(2, "\n", 1) = 1
close(4) = 0
close(5) = 0
exit_group(1) = ?
lily.scm is in /usr/local/lilypond/usr/share/lilypond/current/scm,
which is where I would expect it to be. Any suggestions on how to fix
this problem?
Well, my really ugly hack that gets LP to run was to copy the entire
contents of /usr/local/lilypond/usr/share/lilypond/current into
~/lilypond. After that it runs without error.
Nick
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond