2011/7/5 Phil Holmes <m...@philholmes.net>: > ----- Original Message ----- From: "James Lowe" <james.l...@datacore.com> > To: "Jacek Gajek" <jacek.s.ga...@gmail.com>; "lilypond-user" > <lilypond-user@gnu.org> > Cc: "Phil Holmes" <m...@philholmes.net> > Sent: Tuesday, July 05, 2011 12:45 AM > Subject: RE: ERROR: Unable to find file "ice-9/boot-9.scm" in load path > > > Hello, > ________________________________________ > From: lilypond-user-bounces+james.lowe=datacore....@gnu.org > [lilypond-user-bounces+james.lowe=datacore....@gnu.org] on behalf of Jacek > Gajek [jacek.s.ga...@gmail.com] > Sent: 25 June 2011 12:35 > To: lilypond-user > Subject: Fwd: ERROR: Unable to find file "ice-9/boot-9.scm" in load path > > In PATH I have "C:\Program Files (x86)\LilyPond\usr\bin". It is a > correct path (the folder exists). > > When I type lilypond: > GNU LilyPond 2.12.3 > programming error: cannot find absolute argv0 > continuing, cross fingers > ERROR: In procedure primitive-load-path: > ERROR: Unable to find file "ice-9/boot-9.scm" in load path > > I use Miktex 2.9 x64. > > Greetings, > > 2011/6/24 Phil Holmes <m...@philholmes.net>: >> >> ----- Original Message ----- From: "Jacek Gajek" <jacek.s.ga...@gmail.com> >> To: <lilypond-user@gnu.org> >> Sent: Thursday, June 23, 2011 4:16 PM >> Subject: ERROR: Unable to find file "ice-9/boot-9.scm" in load path >> >> >>> Hello, I encounter the following output, no matter how do I try to use >>> lilypond from cmd. >>> "lilypond-windows" drag&drop works, but I want to generate an image >>> file (e.g. PNG) so I cannot use it. >>> What I want to include inline sheet music in a latex document. Not >>> interested in typing notes directly in >>> latex. I prefer to have them rendered in PNG files and rebuild and >>> include when necessary. >>> >>> C:\Users\Jacek\Desktop\test>lilypond "test.ly" >>> GNU LilyPond 2.12.3 >>> programming error: cannot find absolute argv0 >>> continuing, cross fingers >>> ERROR: In procedure primitive-load-path: >>> ERROR: Unable to find file "ice-9/boot-9.scm" in load path >>> >>> I have found a lot of posts with the same problem with solutions, but >>> I am confused what should I actually DO to get it working. >>> Could you provide me instructions step-by-step what should I do? I >>> mean, sth like this: click here, type this, press enter. >>> I have tried it for 3 hours, so I am not a give-me-the-codez guy. >>> >>> Thanks in advance, >> >> >> A couple of questions: what do you get when you just type "lilypond" >> (without the quote marks) on the command line? What's in your PATH >> statement? > > ------ > > I reproduced this 'error message' on my Linux box. > > I downloaded the sh file and installed LilyPond and I know it works because > I did some simple test stuff on it by creating a test.ly on my desktop and > running via CLI while being CWD in /Desktop: > > lilypond --pdf test.ly > > All works. > > However if I try to run lilypond against a file in a 'relative dir' (rather > than in the same dir) I get the same problem > > --snip-- > > james@james-OptiPlex-990:~$ pwd > /home/james > james@james-OptiPlex-990:~$ lilypond --pdf ./Desktop/test.ly > GNU LilyPond 2.14.1 > ERROR: In procedure primitive-load-path: > ERROR: Unable to find file "ice-9/boot-9.scm" in load path > james@james-OptiPlex-990:~$ cd Desktop/ > james@james-OptiPlex-990:~/Desktop$ lilypond --pdf test.ly > GNU LilyPond 2.14.1 > Processing `test.ly' > Parsing... > Interpreting music... > Preprocessing graphical objects... > Finding the ideal number of pages... > Fitting music on 1 page... > Drawing systems... > Layout output to `test.ps'... > Converting to `./test.pdf'... > success: Compilation successfully completed > james@james-OptiPlex-990:~/Desktop$ > --snip-- > > Now this may be expected, as I have for the last two years used LP on a Mac > or with Windows using the drag and drop method. I rarely if ever used LP in > a CLI context and never on Linux until now. > > My path is > > james@james-OptiPlex-990:~/Desktop$ echo $PATH > /usr/lib/libfm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/james/lilypond/usr/bin/ > > So maybe this is the same issue. > > Is this expected? > > I haven't read any documentation :) I just assumed that all I had to do was > point to my LP bin dir and I could run it on any file as long as I gave the > full path. > > James > > ======================================================== > > It's not quite the same error - you don't get the lines: > > programming error: cannot find absolute argv0 > continuing, cross fingers > > However, I wouldn't expect either, personally. I can run with relative > directory references on word fine. > > > -- > Phil Holmes >
All fixed after I added an environment variable GUILE_LOAD_PATH="C:\Program Files (x86)\LilyPond\usr\share\guile\2.0.1". Greetings -- Jacek Gajek _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user