|
From: | Nick Payne |
Subject: | Re: Unable to find file "lily.scm" in load path |
Date: | Thu, 08 Dec 2011 19:01:35 +1100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111110 Thunderbird/8.0 |
On 08/12/11 18:07, David Kastrup wrote:
Nick Payne<address@hidden> writes: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) 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?Sure you don't have an executable or even a dead symbolic link in /home/nick/lilypond or /home/nick/bin or so?
No, I ran "find ~/ -name lilypond" and nothing was found. I also uninstalled lilypond from /usr/local/lilypond, and then installed LP not as root, so that it installed instead to /home/nick/lilypond and put its scripts and links in /home/nick/bin. When I run LP after installing there, I get the same error, and if I run inside strace, I see very similar lines in the log file - just slightly different paths:
stat("/home/nick/lilypond/scm/lily.scm", 0x7fff45b27450) = -1 ENOENT (No such file or directory) stat("/home/nick/lilypond/lily.scm", 0x7fff45b27450) = -1 ENOENT (No such file or directory) stat("/home/nick/lilypond/usr/bin/../share/guile/1.8/lily.scm", 0x7fff45b27450) = -1 ENOENT (No such file or directory)
So for the moment I'm back to installing to /usr/local/lilypond and copying the contents of /usr/local/lilypond/usr/share/lilypond/current to ~/lilypond.
Nick
[Prev in Thread] | Current Thread | [Next in Thread] |