lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ghostscript-lilypond error when converting ps>pdf


From: Valentin Villenave
Subject: Re: Ghostscript-lilypond error when converting ps>pdf
Date: Wed, 5 Mar 2008 13:17:49 +0100

2008/3/5, Mats Bengtsson <address@hidden>:

>  When you try running the GUB binary release, check the outputs of
>  lilypond --verbose ...
>  to see if it in any way uses any file that's also read by your home-compiled
>  version. You might also want to try to remove the cached font database.

LOL -- did I mention that, in addition to the insane rm-rf /usr/local*
I did, I also did a quite brutal rm-rf ~/.*

(Yes, I'm just that crazy :)

Anyway, I ran LilyPond in verbose mode (full output follows)
Indeed, it keeps calling a weird ghostscript directory in
/usr/bin/../share that doesn't exist (since Lily is in /usr/local by
default.
Weird.

How can I change the path to gs?


warning: Relocation: is absolute: argv0=/usr/local//lilypond/usr/bin/lilypond
PATH=/usr/local/lilypond/usr/bin (préfixage)
PATH fixé à 
/usr/local/lilypond/usr/bin:/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib/qt4/bin:/home/valentin/bin
Avertissement : Relocalisation : datadir de compilation=, nouveau
datadir=/usr/local/lilypond/usr/share/lilypond//current
Avertissement : Relocalisation : framework_prefix=/usr/local/lilypond/usr/bin/..
INSTALLER_PREFIX fixé à /usr/local/lilypond/usr/bin/..
Fichier de relocalisation :
/usr/local/lilypond/usr/bin/../etc/relocate//gs.reloc
Avertissement : répertoire inexistant :
/usr/local/lilypond/usr/bin/../share/ghostscript/8.57/fonts pour
GS_FONTPATH
Avertissement : répertoire inexistant :
/usr/local/lilypond/usr/bin/../share/gs/fonts pour GS_FONTPATH
Avertissement : répertoire inexistant :
/usr/local/lilypond/usr/bin/../share/ghostscript/8.57/Resource pour
GS_LIB
GS_LIB=/usr/local/lilypond/usr/bin/../share/ghostscript/8.57/lib (préfixage)
GS_LIB fixé à 
/usr/local/lilypond/usr/bin/../share/ghostscript/8.57/lib:/home/valentin/.fonts
Fichier de relocalisation :
/usr/local/lilypond/usr/bin/../etc/relocate//guile.reloc
GUILE_LOAD_PATH=/usr/local/lilypond/usr/bin/../share/guile/1.8 (préfixage)
GUILE_LOAD_PATH fixé à /usr/local/lilypond/usr/bin/../share/guile/1.8
Fichier de relocalisation :
/usr/local/lilypond/usr/bin/../etc/relocate//pango.reloc
PANGO_RC_FILE fixé à /usr/local/lilypond/usr/bin/../etc/pango/pangorc
PANGO_PREFIX fixé à /usr/local/lilypond/usr/bin/../
Fichier de relocalisation :
/usr/local/lilypond/usr/bin/../etc/relocate//fontconfig.reloc
FONTCONFIG_FILE fixé à /usr/local/lilypond/usr/bin/../etc/fonts/fonts.conf
FONTCONFIG_PATH fixé à /usr/local/lilypond/usr/bin/../etc/fonts
PATH=/usr/local/lilypond/usr/bin/../bin (préfixage)
PATH fixé à 
/usr/local/lilypond/usr/bin/../bin:/usr/local/lilypond/usr/bin:/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib/qt4/bin:/home/valentin/bin
GUILE_MIN_YIELD_1 fixé à 65
GUILE_MIN_YIELD_2 fixé à 65
GUILE_MIN_YIELD_MALLOC fixé à 65
GUILE_INIT_SEGMENT_SIZE_1 fixé à 10485760
GUILE_MAX_SEGMENT_SIZE fixé à 104857600
LILYPOND_DATADIR="/usr/share/lilypond/2.11.41"
LOCALEDIR="/usr/share/locale"
Effective prefix: "/usr/local/lilypond/usr/share/lilypond/current"
FONTCONFIG_FILE="/usr/local/lilypond/usr/bin/../etc/fonts/fonts.conf"
FONTCONFIG_PATH="/usr/local/lilypond/usr/bin/../etc/fonts"
GS_LIB="/usr/local/lilypond/usr/bin/../share/ghostscript/8.57/lib:/home/valentin/.fonts"
GUILE_LOAD_PATH="/usr/local/lilypond/usr/bin/../share/guile/1.8"
PANGO_RC_FILE="/usr/local/lilypond/usr/bin/../etc/pango/pangorc"
PANGO_PREFIX="/usr/local/lilypond/usr/bin/../"
PATH="/usr/local/lilypond/usr/bin/../bin:/usr/local/lilypond/usr/bin:/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib/qt4/bin:/home/valentin/bin"
[]
[/usr/local/lilypond/usr/share/lilypond/current/scm/lily-library.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/file-cache.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/define-event-classes.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/define-music-types.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/output-lib.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/c++.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/chord-ignatzek-names.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/chord-entry.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/chord-generic-names.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/stencil.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/markup.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/music-functions.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/part-combiner.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/autochange.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/define-music-properties.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/auto-beam.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/chord-name.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/parser-ly-from-scheme.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/ly-syntax-constructors.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/define-context-properties.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/translation-functions.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/script.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/midi.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/layout-beam.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/parser-clef.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/layout-slur.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/font.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/encoding.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/fret-diagrams.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/define-markup-commands.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/define-grob-properties.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/define-grobs.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/define-grob-interfaces.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/define-stencil-commands.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/titling.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/paper.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/backend-library.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/x11-color.scm][/usr/local/lilypond/usr/share/lilypond/current/scm/safe-lily.scm]
Initialisation de FontConfig...
ajout d'un répertoire de fontes : «
/usr/local/lilypond/usr/share/lilypond/current/fonts/otf »
ajout d'un répertoire de fontes : «
/usr/local/lilypond/usr/share/lilypond/current/fonts/type1 »Building
font database.
Traitement de « /home/valentin/toto.ly »
Analyse...[/usr/local/lilypond/usr/share/lilypond/current/ly/init.ly[/usr/local/lilypond/usr/share/lilypond/current/ly/declarations-init.ly[/usr/local/lilypond/usr/share/lilypond/current/ly/markup-init.ly][/usr/local/lilypond/usr/share/lilypond/current/ly/music-functions-init.ly][/usr/local/lilypond/usr/share/lilypond/current/ly/toc-init.ly][/usr/local/lilypond/usr/share/lilypond/current/ly/nederlands.ly][/usr/local/lilypond/usr/share/lilypond/current/ly/drumpitch-init.ly][/usr/local/lilypond/usr/share/lilypond/current/ly/chord-modifiers-init.ly][/usr/local/lilypond/usr/share/lilypond/current/ly/script-init.ly][/usr/local/lilypond/usr/share/lilypond/current/ly/scale-definitions-init.ly][/usr/local/lilypond/usr/share/lilypond/current/ly/grace-init.ly][/usr/local/lilypond/usr/share/lilypond/current/ly/midi-init.ly[/usr/local/lilypond/usr/share/lilypond/current/ly/performer-init.ly]][/usr/local/lilypond/usr/share/lilypond/current/ly/paper-defaults.ly[/usr/local/lilypond/usr/share/lilypond/current/ly/titling-init.ly]][/usr/local/lilypond/usr/share/lilypond/current/ly/engraver-init.ly][/usr/local/lilypond/usr/share/lilypond/current/ly/dynamic-scripts-init.ly][/usr/local/lilypond/usr/share/lilypond/current/ly/spanners-init.ly][/usr/local/lilypond/usr/share/lilypond/current/ly/property-init.ly]][/home/valentin/toto.ly]
/home/valentin/toto.ly:0: Avertissement : : déclaration de \version absente ;
ajoutez
\version "2.11.41"
 pour une compatibilité future
Interprétation en cours de la
musique...[/usr/local/lilypond/usr/share/lilypond/current/fonts/otf/emmentaler-20.otf]
temps écoulé : 0.26 secondes
34 éléments dénombrés (6 extensions)
Pré-traitement des éléments graphiques...
68 objet graphiques (grob)
dénombrés[/usr/local/lilypond/usr/share/lilypond/current/fonts/otf/emmentaler-11.otf][/usr/local/lilypond/usr/share/lilypond/current/fonts/otf/emmentaler-13.otf][/usr/local/lilypond/usr/share/lilypond/current/fonts/otf/emmentaler-14.otf][/usr/local/lilypond/usr/share/lilypond/current/fonts/otf/emmentaler-16.otf][/usr/local/lilypond/usr/share/lilypond/current/fonts/otf/emmentaler-18.otf][/usr/local/lilypond/usr/share/lilypond/current/fonts/otf/emmentaler-23.otf]
Détermination du nombre optimal de pages...[century_schoolbook_l_3.865234375]
Répartition de la musique sur une page...
Dessin des systèmes...
54 éléments dénombrés.
Sortie mise en page vers « toto.ps
»...[/usr/local/lilypond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf][/usr/local/lilypond/usr/share/lilypond/current/ps/music-drawing-routines.ps][/usr/local/lilypond/usr/share/lilypond/current/ps/lilyponddefs.ps]
Conversion à « toto.pdf »...
GPL Ghostscript SVN PRE-RELEASE 8.57 (2007-03-15)
Copyright (C) 2007 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Invocation de « gs   -dSAFER  -dDEVICEWIDTHPOINTS=595.28
-dDEVICEHEIGHTPOINTS=841.89  -dCompatibilityLevel=1.4  -dNOPAUSE
-dBATCH -r1200  -sDEVICE=pdfwrite -sOutputFile="toto.pdf" -c
.setpdfwrite -f "toto.ps" »...GPL Ghostscript SVN PRE-RELEASE 8.57:
**** Could not open the file toto.pdf .
**** Unable to open the initial device, quitting.
échec de « gs   -dSAFER  -dDEVICEWIDTHPOINTS=595.28
-dDEVICEHEIGHTPOINTS=841.89  -dCompatibilityLevel=1.4  -dNOPAUSE
-dBATCH -r1200  -sDEVICE=pdfwrite -sOutputFile="toto.pdf" -c
.setpdfwrite -f "toto.ps" » (256)
erreur de programmation : Parsed object should be dead: static
scm_unused_struct* Prob::mark_smob(scm_unused_struct*)
poursuite ; croisons les doigts.
erreur de programmation : Parsed object should be dead: static
scm_unused_struct* Lily_lexer::mark_smob(scm_unused_struct*)
poursuite ; croisons les doigts.
erreur de programmation : Parsed object should be dead: static
scm_unused_struct* Context_def::mark_smob(scm_unused_struct*)
poursuite ; croisons les doigts.
erreur de programmation : Parsed object should be dead: static
scm_unused_struct* Grob::mark_smob(scm_unused_struct*)
poursuite ; croisons les doigts.
Erreur : erreur sur les fichiers : "/home/valentin/toto.ly"
/usr/local/lilypond/usr/share/lilypond/current/scm/lily.scm

Cheers,
Valentin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]