Carl Sorensen writes:

> I'm ready to start work on developing a fret-diagrams context and
> engraver.

Great.

> So I rebuild lilypond, starting 
> with 
> ./autogen.sh --enable-debugging
>
> make all

This is OK.

> make install

This will strip the (debugging) symbols.  You should be using
lily/out/lilypond-bin, unstripped, are you doing that?

> I tried to execute lilypond to see if it would work.
>
> (gdb) run fret-diagram.ly
> Parsing...
> Interpreting music... error: can't find `feta20.afm'
> Fonts have not been installed properly.  Aborting

Which simply means that LilyPond cannot find /usr/share/lilypond/xyz/afm

> So I can't figure out how to execute lilypond under gdb so I can set
> breakpoints, examine source, examine variables, single step, etc.

Running in gdb is exactly the same as running without gdb.  Just make
sure lily ca find the necessary files.

For developing, you can run lilypond without installing

    ./configure --prefix=$(pwd) --enable-debugging
    make
    gdb ./lily/out/lilypond-bin


Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


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

Reply via email to