On Nov 13, 2008, at 1:57 PM, Alexander Hansen wrote:

>
> On Nov 13, 2008, at 12:23 PM, Neil Tiffin wrote:
>
>> I received the following build error on lilypond with the following:
>>
>> mini:~$ bison --version
>> bison (GNU Bison) 2.3
>>
>> mini:~ neiltiffin$ lex --version
>> lex version 2.5.4
>>
>> mini:~$ flex --version
>> flex version 2.5.4
>>
>> mini:~$ fink --version
>> Package manager version: 0.28.6
>> Distribution version: selfupdate-rsync Thu Nov 13 10:16:22 2008,  
>> 10.5,
>> i386
>>
>> mini:~$ sw_vers
>> ProductName: Mac OS X
>> ProductVersion:      10.5.5
>> BuildVersion:        9F33
>>
>> configure.in:54: warning: AC_CACHE_VAL(stepmake_cflags_pipe, ...):
>> suspicious cache-id, must contain _cv_ to be cached
>> ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
>> ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded  
>> from...
>> aclocal.m4:167: STEPMAKE_COMPILE is expanded from...
>> configure.in:54: the top level
>> configure.in:93: warning:  
>> AC_CACHE_VAL(stepmake_stl_data_method, ...):
>> suspicious cache-id, must contain _cv_ to be cached
>> aclocal.m4:1059: STEPMAKE_STL_DATA_METHOD is expanded from...
>> configure.in:93: the top level
>> configure.in:100: warning:
>> AC_CACHE_VAL(stepmake_flexlexer_yy_current_buffer, ...): suspicious
>> cache-id, must contain _cv_ to be cached
>> aclocal.m4:414: STEPMAKE_FLEXLEXER is expanded from...
>> configure.in:100: the top level
>> Running ./configure --prefix=/sw --disable-dependency-tracking --
>> infodir=$(prefix)/share/info --mandir=$(prefix)/share/man --with- 
>> ncsb-
>> dir=/sw/share/ghostscript/fonts --disable-gui ...
>> configure: WARNING: unrecognized options: --disable-dependency- 
>> tracking
>>
>>
>> <snip>
>>
>> checking FlexLexer.h location... In file included from /usr/include/ 
>> c+
>> +/4.0.0/backward/iostream.h:31,
>>                 from /sw/include/FlexLexer.h:47,
>>                 from conftest.cc:2:
>> /usr/include/c++/4.0.0/backward/backward_warning.h:32:2: warning:
>> #warning This file includes at least one deprecated or antiquated
>> header. Please consider using one of the 32 headers found in section
>> 17.4.1.2 of the C++ standard. Examples include substituting the <X>
>> header for the <X.h> header for C++ includes, or <iostream> instead  
>> of
>> the deprecated header <iostream.h>. To disable this warning use -Wno-
>> deprecated.
>> /sw/include/FlexLexer.h
>>
>> <snip>
>>
>> rm -f ./out/volta-engraver.dep; DEPENDENCIES_OUTPUT="./out/volta-
>> engraver.dep ./out/volta-engraver.o" g++ -c -Woverloaded-virtual -I/ 
>> sw/
>> include -I/sw/include/python2.5 -I/sw/include -DHAVE_CONFIG_H  -
>> DNDEBUG -I./include -I./out -I../flower/include -I../flower/./out - 
>> I../
>> flower/include  -O2 -finline-functions -g -pipe -I/sw/include -
>> D_THREAD_SAFE  -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/
>> freetype219/include -I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/ 
>> lib/
>> fontconfig2/include -I/sw/lib/freetype219/include/freetype2 -I/sw/ 
>> lib/
>> freetype219/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/ 
>> include -
>> Wno-pmf-conversions  -W -Wall -Wconversion -o out/volta-engraver.o
>> volta-engraver.cc
>> rm -f ./out/volta-repeat-iterator.dep; DEPENDENCIES_OUTPUT="./out/
>> volta-repeat-iterator.dep ./out/volta-repeat-iterator.o" g++ -c -
>> Woverloaded-virtual -I/sw/include -I/sw/include/python2.5 -I/sw/
>> include -DHAVE_CONFIG_H  -DNDEBUG -I./include -I./out -I../flower/
>> include -I../flower/./out -I../flower/include  -O2 -finline- 
>> functions -
>> g -pipe -I/sw/include -D_THREAD_SAFE  -I/sw/lib/freetype219/include/
>> freetype2 -I/sw/lib/freetype219/include -I/sw/lib/pango-ft219/ 
>> include/
>> pango-1.0 -I/sw/lib/fontconfig2/include -I/sw/lib/freetype219/ 
>> include/
>> freetype2 -I/sw/lib/freetype219/include -I/sw/include/glib-2.0 -I/sw/
>> lib/glib-2.0/include -Wno-pmf-conversions  -W -Wall -Wconversion -o
>> out/volta-repeat-iterator.o volta-repeat-iterator.cc
>> /usr/bin/flex -Cfe -p -p -oout/lexer.cc lexer.ll
>> lexer.ll:595: multiple <<EOF>> rules for start condition longcomment
>> lexer.ll:621: warning, rule cannot be matched
>> lexer.ll:624: warning, rule cannot be matched
>> lexer.ll:693: warning, -s option given but default rule can be  
>> matched
>> rm -f ./out/lexer.dep; DEPENDENCIES_OUTPUT="./out/lexer.dep ./out/
>> lexer.o" g++ -c -Woverloaded-virtual -I/sw/include -I/sw/include/
>> python2.5 -I/sw/include -DHAVE_CONFIG_H  -DNDEBUG -I./include -I./ 
>> out -
>> I../flower/include -I../flower/./out -I../flower/include  -O2 - 
>> finline-
>> functions -g -pipe -I/sw/include -D_THREAD_SAFE  -I/sw/lib/ 
>> freetype219/
>> include/freetype2 -I/sw/lib/freetype219/include -I/sw/lib/pango- 
>> ft219/
>> include/pango-1.0 -I/sw/lib/fontconfig2/include -I/sw/lib/ 
>> freetype219/
>> include/freetype2 -I/sw/lib/freetype219/include -I/sw/include/ 
>> glib-2.0
>> -I/sw/lib/glib-2.0/include -Wno-pmf-conversions  -W -Wall - 
>> Wconversion
>> -o out/lexer.o out/lexer.cc
>> In file included from /usr/include/c++/4.0.0/backward/iostream.h:31,
>>                 from /sw/include/FlexLexer.h:47,
>>                 from out/lexer.cc:380:
>> /usr/include/c++/4.0.0/backward/backward_warning.h:32:2: warning:
>> #warning This file includes at least one deprecated or antiquated
>> header. Please consider using one of the 32 headers found in section
>> 17.4.1.2 of the C++ standard. Examples include substituting the <X>
>> header for the <X.h> header for C++ includes, or <iostream> instead  
>> of
>> the deprecated header <iostream.h>. To disable this warning use -Wno-
>> deprecated.
>> out/lexer.cc: In member function 'virtual int Lily_lexer::yylex()':
>> out/lexer.cc:3970: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:3970: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc:3971: error: 'yyensure_buffer_stack' was not declared in
>> this scope
>> out/lexer.cc:4922: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:4922: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc:4945: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:4945: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc: In constructor 'yyFlexLexer::yyFlexLexer(std::istream*,
>> std::ostream*)':
>> out/lexer.cc:5067: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5068: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc:5069: error: 'yy_buffer_stack_max' was not declared in
>> this scope
>> out/lexer.cc: In destructor 'virtual yyFlexLexer::~yyFlexLexer()':
>> out/lexer.cc:5079: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5079: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc: In member function 'virtual void
>> yyFlexLexer::switch_streams(std::istream*, std::ostream*)':
>> out/lexer.cc:5086: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5086: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc: In member function 'int
>> yyFlexLexer::yy_get_next_buffer()':
>> out/lexer.cc:5145: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5145: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc: In member function 'void yyFlexLexer::yyunput(int,
>> char*)':
>> out/lexer.cc:5340: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5340: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc: In member function 'int yyFlexLexer::yyinput()':
>> out/lexer.cc:5388: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5388: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc: In member function 'virtual void
>> yyFlexLexer::yyrestart(std::istream*)':
>> out/lexer.cc:5459: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5459: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc:5460: error: 'yyensure_buffer_stack' was not declared in
>> this scope
>> out/lexer.cc:5465: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5465: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc: In member function 'virtual void
>> yyFlexLexer::yy_switch_to_buffer(yy_buffer_state*)':
>> out/lexer.cc:5485: error: 'yyensure_buffer_stack' was not declared in
>> this scope
>> out/lexer.cc:5486: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5486: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc:5489: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5489: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc:5497: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5497: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc: In member function 'void
>> yyFlexLexer::yy_load_buffer_state()':
>> out/lexer.cc:5514: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5514: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc: In member function 'virtual void
>> yyFlexLexer::yy_delete_buffer(yy_buffer_state*)':
>> out/lexer.cc:5568: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5568: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc: In member function 'void
>> yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)':
>> out/lexer.cc:5606: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5606: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc: In member function 'void
>> yyFlexLexer::yy_flush_buffer(yy_buffer_state*)':
>> out/lexer.cc:5646: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5646: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc: At global scope:
>> out/lexer.cc:5660: error: no 'void
>> yyFlexLexer::yypush_buffer_state(yy_buffer_state*)' member function
>> declared in class 'yyFlexLexer'
>> out/lexer.cc: In member function 'void
>> yyFlexLexer::yypush_buffer_state(yy_buffer_state*)':
>> out/lexer.cc:5666: error: 'yyensure_buffer_stack' was not declared in
>> this scope
>> out/lexer.cc:5669: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5669: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc:5678: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5678: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc:5680: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5680: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc: At global scope:
>> out/lexer.cc:5696: error: no 'void yyFlexLexer::yypop_buffer_state()'
>> member function declared in class 'yyFlexLexer'
>> out/lexer.cc: In member function 'void
>> yyFlexLexer::yypop_buffer_state()':
>> out/lexer.cc:5699: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5699: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc:5702: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5702: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc: At global scope:
>> out/lexer.cc:5721: error: no 'void
>> yyFlexLexer::yyensure_buffer_stack()' member function declared in
>> class 'yyFlexLexer'
>> out/lexer.cc: In member function 'void
>> yyFlexLexer::yyensure_buffer_stack()':
>> out/lexer.cc:5726: error: 'yy_buffer_stack' was not declared in this
>> scope
>> out/lexer.cc:5739: error: 'yy_buffer_stack_max' was not declared in
>> this scope
>> out/lexer.cc:5740: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc:5744: error: 'yy_buffer_stack_top' was not declared in
>> this scope
>> out/lexer.cc:5744: error: 'yy_buffer_stack_max' was not declared in
>> this scope
>> out/lexer.cc:5750: error: 'yy_buffer_stack' was not declared in this
>> scope
>> gnumake[1]: *** [out/lexer.o] Error 1
>> gnumake: *** [all] Error 2
>> ### execution of /var/tmp/tmp.6.jSiJhA failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-lilypond-devel-2.11.63-1001
>> (Reading database ... 126743 files and directories currently  
>> installed.)
>> Removing fink-buildlock-lilypond-devel-2.11.63-1001 ...
>>
>
> It appears that the presence of fink's "flex" package is the culprit  
> here.  By removing that, the package builds on my system (also  
> 10.5.5/Intel).

I concur. The following was installed:
i   flex                             1:2.5.4a-4               Fast  
lexical analyser generator
  i   flex-devel                       2.5.35-1                 Fast  
lexical analyser generator

After removing both, it built fine.

Neil







-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to