Why should it always be so difficult compiling lilypond?

I'm trying to compile 2.5.27, but it dies with this:

includable-lexer.cc: In member function `void 
   Includable_lexer::new_input(String, Sources*)':
includable-lexer.cc:67: error: `yy_buffer_stack' undeclared (first use
this 
   function)
includable-lexer.cc:67: error: (Each undeclared identifier is reported
only 
   once for each function it appears in.)
includable-lexer.cc:67: error: `yy_buffer_stack_top' undeclared (first
use this 
   function)
make[1]: *** [out/includable-lexer.o] Error 1
make[1]: Leaving directory `/Depot/Sources/lilypond-2.5.27/lily'
make: *** [all] Error 2

I've successfully built 2.5.18 and 2.5.20 before this (With some
hassle), in 2.5.20 I had to remove lily/out/lexer.cc so it could be
regenerated with my version of Flex (2.5.31), but this trick does not
work here.

I added "#define HAVE_FLEXLEXER_YY_CURRENT_BUFFER 1" somewhere at the
top of lily/includable-lexer.cc and removed "Documentation" from
GNUmakefile.in and then it compiled and installed correctly.

Since it seems so hard to build the docs, maybe you should have a
configure switch to skip it instead of having to edit GNUmakefile.in...

/Jonatan    -=( http://kymatica.com )=-


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to