octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build trouble on MacOS 10.5 [changeset]


From: Ben Abbott
Subject: Re: build trouble on MacOS 10.5 [changeset]
Date: Fri, 25 Dec 2009 08:51:36 -0500

On Dec 25, 2009, at 1:50 AM, John W. Eaton wrote:

> 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


My package manager had version 2.5.4 active. 

$ flex++ --version
flex++ version 2.5.4
$ which flex
/sw/bin/flex

The one from Apple is the same as yours.

$ /usr/bin/flex --version
flex 2.5.35

I'll remove Fink's version and try again.

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]