lilypond-user
[Top][All Lists]
Advanced

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

Re: Compiling 2.5.27


From: Mats Bengtsson
Subject: Re: Compiling 2.5.27
Date: Sat, 11 Jun 2005 21:45:42 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

See http://lists.gnu.org/archive/html/lilypond-user/2005-06/msg00188.html

   /Mats

Jonatan Liljedahl wrote:
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
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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