On 11/1/12 7:29 AM, Hanspeter Niederstrasser wrote: > On 10/31/2012 9:47 PM, Alexander Hansen wrote: >> On 10/31/12 2:25 PM, Yvo Fischer wrote: >>> Hello, >>> >>> unsuccessfully trying to install lilypond via fink I got the following >>> messages. Can anyone of you help me? >>> >>> Thank you >>> Yvo >>> >>> rm -f ./out/volta-repeat-iterator.dep; >>> DEPENDENCIES_OUTPUT="./out/volta-repeat-iterator.dep >>> ./out/volta-repeat-iterator.o" llvm-g++-4.2 -c -Woverloaded-virtual >>> -I/sw/include >>> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 >>> >>> >>> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 >>> >>> -fno-strict-aliasing -fno-common -dynamic -g -pipe -fno-common >>> -fno-strict-aliasing -fwrapv -g -fwrapv -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 -I/sw/include -D_THREAD_SAFE -I/sw/include/freetype2 >>> -I/sw/include -I/sw/include/pango-1.0 -I/sw/include >>> -I/sw/include/freetype2 -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:606: multiple <<EOF>> rules for start condition longcomment >>> lexer.ll:632: warning, rule cannot be matched >>> lexer.ll:635: warning, rule cannot be matched >>> lexer.ll:704: warning, -s option given but default rule can be matched >>> rm -f ./out/lexer.dep; DEPENDENCIES_OUTPUT="./out/lexer.dep >>> ./out/lexer.o" llvm-g++-4.2 -c -Woverloaded-virtual -I/sw/include >>> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 >>> >>> >>> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 >>> >>> -fno-strict-aliasing -fno-common -dynamic -g -pipe -fno-common >>> -fno-strict-aliasing -fwrapv -g -fwrapv -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 -I/sw/include -D_THREAD_SAFE -I/sw/include/freetype2 >>> -I/sw/include -I/sw/include/pango-1.0 -I/sw/include >>> -I/sw/include/freetype2 -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 >>> out/lexer.cc:5112: error: prototype for 'size_t >>> yyFlexLexer::LexerInput(char*, size_t)' does not match any in class >>> 'yyFlexLexer' >>> ./out/FlexLexer.h:133: error: candidate is: virtual int >>> yyFlexLexer::LexerInput(char*, int) >>> out/lexer.cc: In member function 'size_t yyFlexLexer::LexerInput(char*, >>> size_t)': >>> out/lexer.cc:5133: warning: negative integer implicitly converted to >>> unsigned type >>> out/lexer.cc: At global scope: >>> out/lexer.cc:5139: error: prototype for 'void >>> yyFlexLexer::LexerOutput(const char*, size_t)' does not match any in >>> class 'yyFlexLexer' >>> ./out/FlexLexer.h:134: error: candidate is: virtual void >>> yyFlexLexer::LexerOutput(const char*, int) >>> gnumake[1]: *** [out/lexer.o] Error 1 >>> gnumake: *** [all] Error 2 >>> ### execution of /tmp/fink.R32ht failed, exit code 2 >>> ### execution of /tmp/fink.3a76R failed, exit code 2 >>> Removing runtime build-lock... >>> Removing build-lock package... >>> /sw/bin/dpkg-lockwait -r fink-buildlock-lilypond-2.14.2-2 >>> (Lese Datenbank ... 166857 Dateien und Verzeichnisse sind derzeit >>> installiert.) >>> Entferne fink-buildlock-lilypond-2.14.2-2 ... >>> Failed: phase compiling: lilypond-2.14.2-2 failed > > It worked here on 10.7/xcode 4.5.1. This is the relevant part of my > build log. > > rm -f ./out/lexer.dep; DEPENDENCIES_OUTPUT="./out/lexer.dep > ./out/lexer.o" llvm-g++-4.2 -c -Woverloaded-virtual -I/sw/include > -I/sw/include/python2.7 -I/sw/include/python2.7 -fno-strict-aliasing -g > -g -fwrapv -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 -I/sw/include -D_THREAD_SAFE > -I/sw/include/freetype2 -I/sw/include -I/sw/include/pango-1.0 > -I/sw/include -I/sw/include/freetype2 -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 > out/lexer.cc: In member function 'virtual size_t > yyFlexLexer::LexerInput(char*, size_t)': > out/lexer.cc:5133: warning: negative integer implicitly converted to > unsigned type > out/lexer.cc: In member function 'int yyFlexLexer::yy_get_next_buffer()': > out/lexer.cc:5248: warning: comparison of unsigned expression < 0 is > always false > bison -d -o out/parser.cc parser.yy > > Two things that quickly stand out: > > 1) I only get warnings, not errors at that point. > > 2) I'm using all Fink python paths. This one is easy to fix. Add > > export PYTHON_CONFIG=%p/bin/python2.7-config > > to CompileScript so that Fink's python-config is used vs > system-python-config. > > The full build log is at <http://snaggledworks.com/fink/logs/> after > fixing the python-config detection. However, the build succeeds even > w/out that fix. > > Hanspeter >
I'm showing the following differences between /usr/include/FlexLexer.h between my 10.7 and 10.8 setups (The ~/Desktop one was copied from a 10.7 box): $ diff /usr/include/FlexLexer.h ~/Desktop/FlexLexer.h 66c66 < size_t YYLeng() const { return yyleng; } --- > int YYLeng() const { return yyleng; } 96c96 < size_t yyleng; --- > int yyleng; 133,134c133,134 < virtual size_t LexerInput( char* buf, size_t max_size ); < virtual void LexerOutput( const char* buf, size_t size ); --- > virtual int LexerInput( char* buf, int max_size ); > virtual void LexerOutput( const char* buf, int size ); 163c163 < size_t yy_n_chars; --- > int yy_n_chars; -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners