[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: build trouble on MacOS 10.5 [changeset]
From: |
John W. Eaton |
Subject: |
Re: build trouble on MacOS 10.5 [changeset] |
Date: |
Fri, 25 Dec 2009 00:50:26 -0600 |
On 25-Dec-2009, Ben Abbott wrote:
| On Dec 23, 2009, at 10:03 PM, John W. Eaton wrote:
|
| > I found the following thread from the gnulib mailing list that
| > describes the same problem we are having.
| >
| > http://old.nabble.com/getopt.h-broken-on-FreeBSD-td25956219.html
| >
| > A reply in the thread suggests using the %top directive for flex. I
| > think that is a better solution, so I checked in the following change.
| >
| > http://hg.savannah.gnu.org/hgweb/octave/rev/7ad32bf759c3
| >
| > Does this solve the problem with compiling lex.ll for you?
|
| Didn't work for me.
|
| /bin/sh ../build-aux/ylwrap lex.ll lex.octave_.c lex.cc -- flex -I -I
| "/Users/bpabbott/Development/mercurial/local_clone/src/lex.ll", line 27:
unrecognized '%' directive
What version of flex do you have?
It works for me with 2.5.35. Looking at the NEWS file for flex, it
was apparently added at version 2.5.30, released 2003-4-1.
jwe