Open ryanakca opened 2 years ago
I had similar issues. Needed to do sudo apt install ml-lex ml-yacc
and then sudo make MLLEX=ml-lex MLYACC=ml-yacc
to proceed. In addition to the 2 files you mentioned, I also needed yacc.lex.sml
which was missing.
Here are the 3 files: yacc.zip
Here are the mllex-polyml
and mlyacc-polyml
binaries:
mllex-mlyacc.zip
The file
Readme.md
claims thatmlyacc
is not required to buildmlyacc-polyml
from source. Unfortunately, this does not seem to be the case for a fresh checkout. The problem is thatmlyacc
is needed to generatesrc/yacc.grm.sig
andsrc/yacc.grm.sml
, and these files are not included in the repository (they are explicitly excluded by.gitignore
).Installing
mlyacc
frommlton-tools
and passing makeMLYACC=mlyacc
fixes this issue. Subsequent builds then succeed withoutmlyacc
installed. Please consider includingsrc/yacc.grm.*
in the repository.