Fedora 19 comes with guile 2. However, it is possible to have both
guile 2 and guile 1.8.8 installed but the default is to point to guile
2.
configure does not complain when it finds guile 2 and the build
process can continue although the final lilypond binary fails to
compile lilypond sources. Below is an example of the output obtained
with the very simple input file containing only { c }.
The solution is to install a compatibility package
(compat-guile18{,-devel}) and set three environment variables before
issuing the configure command. For example for bash:
export GUILE=/usr/bin/guile1.8
export GUILE_CONFIG=/usr/bin/guile1.8-config
export GUILE_TOOLS=/usr/bin/guile1.8-tools

When this is not done, configure should issue an error like:
error: guile version should be > 1.X.Y and < 2.0.0 but 2.0.Z found.

Frédéric

GNU LilyPond 2.17.22
Processing `toto2.ly'
Parsing...
/home/fred/lilypond/build-2013-07-11/out/share/lilypond/current/ly/property-init.ly:142:26:
error: GUILE signaled an error for the expression beginning here
  \set chordRootNamer = #
                         (chord-name->italian-markup #t)
ERROR: Unbound variable: chord-name->italian-markup
/home/fred/lilypond/build-2013-07-11/out/share/lilypond/current/ly/property-init.ly:154:26:
error: GUILE signaled an error for the expression beginning here
  \set chordRootNamer = #
                         (chord-name->italian-markup #f)
ERROR: Unbound variable: chord-name->italian-markup
/home/fred/lilypond/build-2013-07-11/out/share/lilypond/current/ly/paper-defaults-init.ly:126:4:
error: GUILE signaled an error for the expression beginning here
  #
   (define make-header (marked-up-headfoot 'oddHeaderMarkup 'evenHeaderMarkup))
ERROR: Unbound variable: marked-up-headfoot
/home/fred/lilypond/build-2013-07-11/out/share/lilypond/current/ly/paper-defaults-init.ly:127:4:
error: GUILE signaled an error for the expression beginning here
  #
   (define make-footer (marked-up-headfoot 'oddFooterMarkup 'evenFooterMarkup))
ERROR: Unbound variable: marked-up-headfoot
/home/fred/lilypond/build-2013-07-11/out/share/lilypond/current/ly/paper-defaults-init.ly:129:4:
error: GUILE signaled an error for the expression beginning here
  #
   (define-public book-title (marked-up-title 'bookTitleMarkup))
ERROR: Unbound variable: marked-up-title
/home/fred/lilypond/build-2013-07-11/out/share/lilypond/current/ly/paper-defaults-init.ly:130:4:
error: GUILE signaled an error for the expression beginning here
  #
   (define-public score-title (marked-up-title 'scoreTitleMarkup))
ERROR: Unbound variable: marked-up-title
/home/fred/lilypond/build-2013-07-11/out/share/lilypond/current/ly/titling-init.ly:104:2:
error: GUILE signaled an error for the expression beginning here
#
 (define ((on-page nmbr) layout props arg)
ERROR: source expression failed to match any pattern
/home/fred/lilypond/build-2013-07-11/out/share/lilypond/current/ly/init.ly:9:2:
error: GUILE signaled an error for the expression beginning here
#
 (session-initialize
ERROR: Error while printing exception.
WARNING: (#{ g26003}#): `parser' imported from both (lily) and (#{ g23098}#)
WARNING: (#{ g26003}#): `parser' imported from both (lily) and (#{ g23098}#)
toto2.ly:1:3: error: have to be in Lyric mode for lyrics
{
  c }
toto2.ly:1: warning: no \version statement found, please add

\version "2.17.22"

for future compatibility
fatal error: failed files: "toto2.ly"

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to