I don't know any details about how Slackware has packaged things, but it looks as if the problem is that the environment variables are not set correctly. LilyPond comes with a script called lilypond-profile (or lilypond-profile.sh) that should be sourced to get the correct environment variable settings. In Red Hat-like, installations, this file is placed in /etc/profile.d/ which means that it will be automatically sourced as soon as you start a new shell (or maybe it's only when you login, I don't remember).
Another possible problem that I know has appeared in some packaging of LilyPond is that only root had read permissions for some of the files under .../share/lilypond/.
/Mats
dpeach wrote:
I know this has been asked several times as I have gone through the archives. But it has mostly been associated with the 1.6.something version.
I am runnnig 2.4.5 on Slackware. It was installed from a slackpack that I got off of linuxpackages.org.
Lilypond seems to be running fine. After the .dvi file is made and it is trying to convert to .ps is where I have the problem. I get this output at the end of compiling my song.
Error invoking `dvips -t "letter" -u+ec-mftrace.map -u+lilypond.map -Ppdf peregrino > /dev/null 2>&1 '. Return value 256
Converting to `peregrino.pdf'...Error invoking `ps2pdf -sPAPERSIZE="letter" peregrino.ps > /dev/null 2>&1 '. Return value 256
I thought it had to do with my fonts, since I installed the ec-fonts-mftraced after installing lilypond. I then did a reinstall of lilypond and have the same problem. The fonts came from Linuxpackages too.
Here is the pertinant output when running --verbose.
Output written on peregrino.dvi (2 pages, 69860 bytes).
Transcript written on peregrino.log.
Invoking `dvips -t "letter" -u+ec-mftrace.map -u+lilypond.map -Ppdf peregrino'...
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2005.04.11:2320' -> peregrino.ps
dvips: ! Couldn't find header file music-drawing-routines.ps
Error invoking `dvips -t "letter" -u+ec-mftrace.map -u+lilypond.map -Ppdf peregrino'. Return value 256
Converting to `peregrino.pdf'...Invoking `ps2pdf -sPAPERSIZE="letter" peregrino.ps'...
ESP Ghostscript 815.00: **** Could not open the file peregrino.pdf .
**** Unable to open the initial device, quitting.
Error invoking `ps2pdf -sPAPERSIZE="letter" peregrino.ps'. Return value 256
I know where music-drawing-routines.ps is. Now I just need to be able to tell dvips where to find it.
Thanks for your help.
dpeach
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user