lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling 2.5.27


From: Jonatan Liljedahl
Subject: Compiling 2.5.27
Date: Thu, 9 Jun 2005 19:08:31 -0300

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 )=-




reply via email to

[Prev in Thread] Current Thread [Next in Thread]