octave-maintainers
[Top][All Lists]
Advanced

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

Re: Reg: GSoD 2020- Documentation


From: Andrew Janke
Subject: Re: Reg: GSoD 2020- Documentation
Date: Wed, 6 May 2020 15:36:38 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0


On 5/6/20 1:32 PM, PRUBHTEJ SINGH wrote:
> Greetings ,
> When I'm running the command : "../configure" in my terminal, I've been
> getting these errors constantly :
> 1. checking syntax of bison api.prefix (or name-prefix) declaration... 
> 
> configure: WARNING: 
> 
> 
> I wasn't able to find a suitable style for declaring the api prefix
>  [...snip...]

This is a Bison version problem. Since Homebrew's Bison installation
doesn't override the macOS system-provided Bison (which is too old), you
need to explicitly pull it in before doing the configure:

$ brew_opt="$(brew --prefix)/opt"
$ export YACC=$brew_opt/bison/bin/yacc

Are you using the configure_octave.sh script from my octave-build
repo[1]? That should take care of this for you. If you follow the steps
in its README, Octave should build right out of the box.

Cheers,
Andrew

[1] https://github.com/apjanke/octave-build



reply via email to

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