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
> 
> Before reporting any errors, please run "fink selfupdate" and try again.
> 
> If you continue to have issues, please check to see if the FAQ on Fink's
> website solves the problem.  If not, ask on one (not both, please) of
> these mailing lists:
> 
>       The Fink Users List <fink-us...@lists.sourceforge.net>
>       The Fink Beginners List <fink-beginners@lists.sourceforge.net>,
> 
> with a carbon copy to the maintainer:
> 
>       Matthias Neeracher <neerac...@mac.com>
> 
> Note that this is preferable to emailing just the maintainer directly,
> since most fink package maintainers do not have access to all possible
> hardware and software configurations.
> 
> Please try to include the complete error message in your report.  This
> generally consists of a compiler line starting with e.g. "gcc" or "g++"
> followed by the actual error output from the compiler.
> 
> Also include the following system information:
> Package manager version: 0.34.4
> Distribution version: selfupdate-rsync Wed Oct 31 20:08:04 2012, 10.7, 
> x86_64
> Trees: local/main stable/main
> Xcode.app: 4.4.1
> Xcode command-line tools: 4.4.0.0.1.1249367152
> Max. Fink build jobs:  1
> 
> 

It worked for me on 10.8/Xcode CLI 4.5.  You might check to see if
you've got an incompatible FlexLexer.h somewhere such as
/usr/local/include.  The FlexLexer.h from my build
(/sw/src/fink.build/lilypond-2.14.2-2/lilypond-2.14.2/lily/out/FlexLexer.h)
is identical to that from /usr/include/FlexLexer.h, and if yours isn't
this would be an indication that the package's build is picking
information up from an unexpected place.

(Offtopic for the maintainer:  It seems like the build is ignoring the
PYTHON variable setting.  I also show
'-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'
when I don't have the "python" package installed, i.e. /sw/bin/python.
With that installed the package correctly uses Fink's python27.)

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
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

Reply via email to