lilypond-book in 2.11.57

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

lilypond-book in 2.11.57

Laura Conrad

I'm doing my first big project on 2.11, and I've gotten to the stage
where I want to print several movements of a sonata as one pdf
document.

My 2.10 makefile doesnt' work, because lilypond-book no longer has a
--psfonts option.

So I looked at the documentation
<http://lilypond.org/doc/v2.11/Documentation/user/lilypond-program/Invoking-lilypond_002dbook#Invoking-lilypond_002dbook>
for what I'm supposed to do now, and
tried both options.

This is an ubuntu hardy heron system, with lilypond 2.11.57 installed
as a user from the GUB.

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.

Then it chugs for a while and says:

     Preprocessing graphical objects...
     (process:6022): Pango-CRITICAL **: No modules found:
     No builtin or dynamically loaded modules were found.
     PangoFc will not work correctly.
     This probably means there was an error in the creation of:
       '/usr/etc/pango/pango.modules'
       You should create this file by running:
         pango-querymodules > '/usr/etc/pango/pango.modules'
     (process:6022): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type='PangoRenderFc', script='common'
         
     (process:6022): Pango-CRITICAL **: pango_fc_font_lock_face: assertion `PANGO_IS_FC_FONT (font)' failed
    Segmentation fault
    command failed: /usr/bin/lilypond --formats=ps -dbackend=eps  -I  "/home/newlily/music/bigaglia/amin" --formats=eps --pdf -dinclude-eps-fonts -dgs-load-fonts  -deps-box-padding=3.000000  -dread-file-list -dno-strip-output-dir /home/newlily/music/bigaglia/amin/snippet-names--1990410836.ly
    Child returned 139

So lilypond-book is definitely not respecting the user's path when
running lilypond.  There may also be other problems with the pango
errors, but I can definitely say there's a bug in the way lilypond is
being run here.

--
Laura   (mailto:[hidden email] http://www.laymusic.org/ )
(617) 661-8097 233 Broadway, Cambridge, MA 02139  

America, where you're free to say anything you want, and you'd better
not say what you're not supposed to!

Tommy Smothers, quoted by Cory Doctorow on the Boing Boing blog


_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: lilypond-book in 2.11.57

Tapio Tuovila
Laura Conrad kirjoitti:

> <snip>
>
> 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.
>  
Hi,
hardy heron here as well.
In order to run 2.11.57 user installation you can put

export PATH=~/bin:$PATH  (notice ~/bin before the $PATH)

into your ~/.bashrc

This done log out and log in again. Then your ~/bin is searched first
when you try to run

"lilypond-book --pdf sonate.lytex" and you should run 2.11.xx. (At least I do.)

Best wishes,
Tapio



_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: lilypond-book in 2.11.57

John Mandereau-2
In reply to this post by Laura Conrad
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

_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

lp-book-path.diff (693 bytes) Download Attachment