MacOS 64-bit build

2019-02-13 Thread Daniel Johnson
Hi all, Apologies if this is off-topic or excessively noobish. As an educational process, I've been working on a script to get Lilypond 2.19.82 to build on MacOS Mojave with dependencies mostly handled by Homebrew. I had to build extractpdfmark by hand, but the rest of the dependency tree is

Re: MacOS 64-bit build

2020-01-09 Thread Erlend Aasland
> On 13 Feb 2019, at 20:16, Daniel Johnson wrote: > > I am using guile 1.8.8, gcc 7.4.0, and flex 2.6.4. Here's my configure line: > > On build, I get a long string of errors originating in > out/lexer.cc: > > out/lexer.cc:6272:46: error: cannot convert >

Re: MacOS 64-bit build

2020-01-09 Thread Erlend Aasland
(Sorry, 'bout incorrect quote level in previous email!) E > On 9 Jan 2020, at 13:00, Erlend Aasland wrote: > >> On 13 Feb 2019, at 20:16, Daniel Johnson wrote: >> >> I am using guile 1.8.8, gcc 7.4.0, and flex 2.6.4. Here's my configure line: >> >> On build, I get a long string of errors o

Re: MacOS 64-bit build

2020-01-09 Thread Werner LEMBERG
> `configure` should warn or bail on incompatible flex versions. I > suggest we add a version check in configure.ac to ensure that flex > version is between 2.5.37 and 2.5.39 (given that 2.5.38 and 2.5.39 > actually works). What you suggest wouldn't work as expected. There is no guarantee that

Re: MacOS 64-bit build

2020-01-09 Thread Erlend Aasland
Argh, yes, you are of course right. Thanks. Erlend > On 9 Jan 2020, at 13:34, Werner LEMBERG wrote: > > >> `configure` should warn or bail on incompatible flex versions. I >> suggest we add a version check in configure.ac to ensure that flex >> version is between 2.5.37 and 2.5.39 (given tha

Re: MacOS 64-bit build

2020-01-09 Thread Hans Åberg
> On 9 Jan 2020, at 13:34, Werner LEMBERG wrote: > >> `configure` should warn or bail on incompatible flex versions. I >> suggest we add a version check in configure.ac to ensure that flex >> version is between 2.5.37 and 2.5.39 (given that 2.5.38 and 2.5.39 >> actually works). > > What you s

Re: MacOS 64-bit build

2020-01-09 Thread Werner LEMBERG
>> There is no guarantee that `FlexLexer.h` found during compilation >> is the one that is used by a recent flex version. Unfortunately, >> `FlexLexer.h` doesn't contain any version information, so it is >> really impossible to protect against this situation automatically. > > Akim Demaille made

Re: MacOS 64-bit build

2020-01-09 Thread Dan Eble
On Jan 9, 2020, at 07:00, Erlend Aasland wrote: > > Use flex 2.5.37, as the flex 2.6.* C++ lexer is broken (discussed on the Bison > lists): a stream pointer has been changed in the declaration to a reference > without doing it in the code. Reported some years ago on the flex list. I've been bui

Re: MacOS 64-bit build

2020-01-09 Thread Hans Åberg
> On 9 Jan 2020, at 18:00, Werner LEMBERG wrote: > >>> There is no guarantee that `FlexLexer.h` found during compilation >>> is the one that is used by a recent flex version. Unfortunately, >>> `FlexLexer.h` doesn't contain any version information, so it is >>> really impossible to protect aga

Re: MacOS 64-bit build

2019-02-13 Thread Hans Åberg
> On 13 Feb 2019, at 20:16, Daniel Johnson wrote: > > I am using guile 1.8.8, gcc 7.4.0, and flex 2.6.4. Here's my configure line: > > On build, I get a long string of errors originating in out/lexer.cc: > > out/lexer.cc:6272:46: error: cannot convert 'std::istream {aka > std::basic_istream