Open rpgoldman opened 1 year ago
Thanks @rpgoldman !
I've actually gone a step further and made the homebrew paths the default for MacOS now -- the default versions of both flex and bison are too old to compile correctly anyway. This is not integrated into this commit and the master branch.
Can you test it?
I will test it, and also I have asked colleagues if they can tell me where MacPorts puts flex
and bison
so the build script can support MacPorts users as well as Homebrew users.
flex
and bison
can be found in /opt/local/bin
when they are installed by MacPorts. So maybe the scripts could be modified to look for them from brew or MacPorts and otherwise fail?
As you point out in the readme, the versions of
bison
andflex
on the Mac are unsuitable for building pandaPIparser.I modified the makefile to make
BISON
andFLEX
variables, so that on the Mac one can build like this (for example):Here's a patch from
git format-patch
: