On 2008/08/31 11:12 -0400, Laura Conrad wrote: > When I run "lilypond-book --pdf sonate.lytex", I get: > > Running lilypond...GNU LilyPond 2.10.33 > Fontconfig error: Cannot load default config file > > Note that this is the wrong version of lilypond -- 2.10.33 is > installed systemwide, but the user who's installed the GUB expects to > be running 2.11.57.
> So lilypond-book is definitely not respecting the user's path when > running lilypond. lilypond-book should not respect the user path by default, it should run the lilypond binary which comes from the same binary package; the latter was broken in GUB binaries, and it's been fixed in Git, the fix will appear in 2.11.58 or .59. In the meantime, you can try to apply the attached patch to your installed lilypond-book. Thanks for the report John
diff --git usr/bin/lilypond-book~ usr/bin/lilypond-book --- usr/bin/lilypond-book~ +++ usr/bin/lilypond-book @@ -205,6 +205,12 @@ def get_option_parser (): lilypond_binary = os.path.join ('/usr/bin', 'lilypond') +# If we are called with full path, try to use lilypond binary +# installed in the same path; this is needed in GUB binaries, where +# @bindir is always different from the installed binary path. +if 'bindir' in globals () and bindir: + lilypond_binary = os.path.join (bindir, 'lilypond') + # Only use installed binary when we are installed too. if '/usr/bin' == ('@' + 'bindir@') or not os.path.exists (lilypond_binary): lilypond_binary = 'lilypond'
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel