On Sunday 04 July 2004 10.58, Jan Nieuwenhuizen wrote: > Pedro Kroger writes: > > sh guile-gnome.sh now runs fine and compile ok. But, what am I > > supposed to do next? > > Great. You should tell LilyPond (ie, GUILE and the dynamic loader) > about all this stuff you compiled (see output-gnome.scm) > > export > GUILE_LOAD_PATH=$HOME/usr/pkg/g-wrap/share/guile/site:$HOME/usr/pkg/g-wrap/ >share/guile/site/g-wrap:$HOME/usr/pkg/guile-gnome/share/guile:$GUILE_LOAD_PA >TH export > LD_LIBRARY_PATH=$HOME/usr/pkg/pango/lib:$HOME/usr/pkg/g-wrap/lib:$HOME/usr/ >pkg/guile-gnome/lib:$LD_LIBRARY_PATH > > Did you do that? > > > just compile lilypond (without any extra > > --option?). > > You should also configure LilyPond with --enable-gui; you need that to > see the font). > > > I did that and got an error: > > > > no code for module (gnome gtk) > > The guile-gnome modules were not found.
I am having exactly the same problems as Pedro with this stuff, but I can't fix it... "lilypond --verbose -f 'gnome' foo.ly" output ends with this: Calculating line breaks... Global shortest duration is 3/16 [2] Optimal demerits: 22.610365 Element count 63.[0] [/usr/share/texmf/fonts/tfm/public/ec-fonts-mftraced/ecrm6.tfm[/usr/share/texmf/dvips/base/tex256.enc]] [/usr/share/texmf/fonts/tfm/public/ec-fonts-mftraced/ecrm8.tfm] [/usr/share/texmf/fonts/tfm/public/ec-fonts-mftraced/ecrm10.tfm] [/usr/share/texmf/fonts/tfm/public/ec-fonts-mftraced/ecrm17.tfm]Layout output to `foo.gnome'... /home/erik/lily/lilypond/ly/init.ly:32:1: error: GUILE signaled an error for the expression beginning here: # (if (pair? toplevel-scores) no code for module (gnome gtk) /home/erik/lily/lilypond/ly/init.ly:32:5: error: syntax error, unexpected '(', expecting '=': #(if (pair? toplevel-scores) ] /home/erik/lily/lilypond/ly/init.ly:34:74: warning: Braces don't match: (apply ly:make-book $defaultpaper $globalheader (reverse toplevel-score s)))) error: failed files: foo.ly I did run the buildscripts/guile-gnome.sh script, without any errors; everything seems to work fine. (only quirk I can see is that pango 1.5.2 is installed, while ./confugure seems to want >=1.6). I installed lots of other libs from debian/testing, so that ./configure --enable-gui doesn't complain about anything else than pango's oldness. After make clean && ./configure --enable-gui, config.h doesn't exist, but config.hh does, and in there, the PANGO macros seem to look nice: lilytest:~/lily/lilypond$ grep PANGO */*/config.hh config.hh bugs/lilypond/config.hh:#define HAVE_PANGO16 1 bugs/lilypond/config.hh:#define HAVE_PANGO_FC_FONT_MAP_ADD_DECODER_FIND_FUNC 1 flower/out/config.hh:#define HAVE_PANGO16 1 flower/out/config.hh:#define HAVE_PANGO_FC_FONT_MAP_ADD_DECODER_FIND_FUNC 1 lily/out/config.hh:#define HAVE_PANGO16 1 lily/out/config.hh:#define HAVE_PANGO_FC_FONT_MAP_ADD_DECODER_FIND_FUNC 1 python/out/config.hh:#define HAVE_PANGO16 1 python/out/config.hh:#define HAVE_PANGO_FC_FONT_MAP_ADD_DECODER_FIND_FUNC 1 config.hh:#define HAVE_PANGO16 1 config.hh:#define HAVE_PANGO_FC_FONT_MAP_ADD_DECODER_FIND_FUNC 1 Any clues on what it is that could be wrong? Erik _______________________________________________ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel