The problem is that the configure program finds the wrong FlexLexer.h
file. Mac OS X comes with a version of flex that is older than the
one needed for lilypond. If you have installed a newer version of flex,
the FlexLexer.h file you want is not in /usr/include which is the one
that configure will find. I installed a newer version of flex using the
macports system and the file you want is /opt/local/include/FlexLexer.h
In order to use the correct flex program and include the correct header,
you need to do 2 things:
1. Make sure that /opt/local/bin is in your $PATH environment variable
before /usr/bin. This is so that the correct version of flex is
run.
Make sure this is set properly before running configure.
2. After running the configure script and before you run make, edit the
config.make file. Change the line:
FLEXLEXER_FILE = /usr/include/FlexLexer.h
to
FLEXLEXER_FILE = /opt/local/include/FlexLexer.h
Then you can run make all.
Kim
On Dec 27, 2008, at 2:56 PM, Arjan Bos wrote:
On 27 dec 2008, at 21:07, August Lilleaas wrote:
I were doing this on HEAD. Changed to 2.10.9-1, and (for some
reason) doing make, then make all (both yielding errors) and then
make worked.
After running a couple of minutes, though, this happened:
out/lexer.cc:384: error: no 'int yyFlexLexer::yywrap()' member
function declared in class 'yyFlexLexer'
Am I the only person that wants to run lilypond on a modern intel
mac, or have I overlooked something?
I'm having the same problem. What I did to solve this is removing
the line containing yywrap in FlexLexer.h. If you've been following
Nicolas' guidelines, then that file is:
/opt/local/include/FlexLexer.h
and the line-number is arround 130
I tried this with HEAD and I get the following:
Processing `/usr/local/src/lilypond/lilypond/ly/generate-
documentation.ly'
Parsing...[/usr/local/src/lilypond/lilypond/out/share/lilypond/
current/ly/init.lyAssertion failed: (pt->read_pos == pt->read_end),
function scm_fill_input, file ports.c, line 978.
/bin/sh: line 1: 21318 Abort trap /usr/local/src/
lilypond/lilypond/out/bin/lilypond --verbose /usr/local/src/lilypond/
lilypond/ly/generate-documentation
And now I'm at a loss, because I don't have a ports.c file on my
computer (according to locate)
Can someone chime in here please? Or should I take my quest for
Intel Mac OS X Lilypond to a developer list?
Kind regards,
Arjan Bos
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
Kim Shrier - principal, Shrier and Deihl - mailto:k...@tinker.com
Remote Unix Network Admin, Security, Internet Software Development
Tinker Internet Services - Superior FreeBSD-based Web Hosting
http://www.tinker.com/
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user