Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: combo3 on October 01, 2009, 04:28:38 PM
-
I am going through the 'First Steps' tutorial found here:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Compiling-a-file#Compiling-a-file
tc@box:~$ cat test.ly
{
c' e' g' e'
}
tc@box:~$ lilypond test.ly
GNU LilyPond 2.12.2
Processing `test.ly'
Parsing...
test.ly:0: warning: : no \version statement found, please add
\version "2.12.2"
for future compatibility
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'...
`gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile="./test.pdf" -c .setpdfwrite -f "test.ps"' failed (32512)
error: failed files: "test.ly"
Seems ghostscript is required, but I get the same error even after installing the gs extension.
Any ideas?
-
It doesn't seem to work with TC_2*. Maybe need to compile a new version.
-
Given the amount of change, I think a good workaround is to have older versions available in grub with setups that are working well. Lilypond can work with a small setup with only the programs you need for a music environment, for example. It works great with stable _1.2 and boots in seconds. I've been toying with the idea of loading specific groups of extensions, for example, only when I need them vs having 100+ all the time.
-
lilypond Steps:
[removed due to policy]apps/lily-test.png
-
Perhaps it has to do with a change in user permissions?
Sudo seems to work:
tc@box:~$ sudo lilypond test.ly
GNU LilyPond 2.12.2
Processing `test.ly'
Parsing...
test.ly:0: warning: : no \version statement found, please add
\version "2.12.2"
for future compatibility
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'...
tc@box:~$ ls
lilypond/ test.ly test.pdf test.ps
I tested the extension in TC 1.4.3, 2.2 and 2.3.1
The problem occurs after TC 2.2
-
Yeah, I spent a few hours on it building from scratch, after building guile, libltdl.so.3 (missing from current libtool extension)., etc, but it still had problems. I also tried the install script. Maybe an older version would work, I don't know. This reminds me of the skype ordeal. Maybe they'll come up with a version that's more compatible, but for now it works great with tc_1X. (or < 2.3)
Edit: Okay....you guessed it....run with "sudo" I'm running tinycore_2.4rc2
tc@box:~$ sudo lilypond /mnt/hda3/lilypond/Steps
GNU LilyPond 2.12.2
Processing `/mnt/hda3/lilypond/Steps'
Parsing...
Interpreting music... [8][16][24]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `Steps.ps'...
Converting to `./Steps.pdf'...
-
after building guile, libltdl.so.3 (missing from current libtool extension).,
..but nevertheless in the libltdl extension ;)
-
after building guile, libltdl.so.3 (missing from current libtool extension).,
..but nevertheless in the libltdl extension ;)
which is why it's always good to take a break between projects. :)