-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot build ocaml libs #96
Comments
Here is a fix to build singularity container on Ubuntu 20.04. It currently fails with tzdata config interaction. To fix: In the
Set TZ variable to the appropriate tzdata time zone phrase (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). Then run the singularity build line as provided in README.doc:
This works on Ubuntu 20.04. Still testing whether or not you can build the ocaml libs in the container. UDPATE: |
I tried to build the Before that, a test script did not run due to JSONDecodeError in the compression part, so I attempted to recompile this. @sneiman Did you solve the ocaml build issues?
|
After a couple of very painful weeks, I managed to debug this. I have fixed this by downgrading menhir with |
By downgrading menhir Possibly related to ellisk42/ec#96
As of March 2023, I need to also pin the version of
With this, I am able to |
I am failing to rebuild ocaml libs using provided instructions.
I am on the master branch, using Ubuntu 20.04, python 3.8.10, opam version 2.0.5, ocaml version 4.06.1. I am not using Singularity as it failed to install, hanging on initialization of tzdata. So, I installed in virtual environment - not conda. I did have to make some changes to requirements.txt to get everything to build as there were version inconsistencies. I removed all version references - causing installation of current versions, and install Box2D instead of Box2D-kengz.
I have successfully run training for list and text and generated some graphs. These produced good results.
I then decided to try to implement the 'demo' new domain. These errors occur on ANY attempt to build the ocaml libs - whether or not I add
let primitive_increment2 = primitive "incr2" (tint @> tint) (fun x -> 2+x);;
to program.ml. Here are the error messages:any help much appreciated!
UPDATE: I can get past these issues by adding
((flags (--infer))
to thegeomLib jbuild
file instructions that usemenhir
. However this fails because it does not recognize modulesPlumbing
andInterpreter
. Attempting to addopen
statements fails, claiming thatopen
is a reserved word.I am a jbuild/ocaml/menhir noob - any help appreciated.
The text was updated successfully, but these errors were encountered: