-
Notifications
You must be signed in to change notification settings - Fork 56
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
Build on lunix failed #2
Comments
Facing the same issue:
|
Try you to install a specific version of the compiler i.e., OCaml 4.01.0 (as listed in the Readme file) and dependencies. For compiler version installation, the below link may help |
can you be a bit more specific? What error are you getting? |
This is what I get wheb i run ./build
|
@AindriyaBarua the current version of the Uroboros works only on the OCaml compiler version 4.01.0. Please check the version of your compiler and let me know. |
Uroboros was tested and experimented with OCaml compiler version 4.01.0. We have not experimented with other versions yet. We might be able to updated to the latest version of the ocaml compiler in the future.
From: IST Plato <[email protected]> On Behalf Of [email protected]
Sent: Monday, May 18, 2020 11:58 AM
To: istplato-l <[email protected]>
Subject: Re: [s3team/uroboros] Build on lunix failed (#2)
@AindriyaBarua<https://github.com/AindriyaBarua> the current version of the Uroboros works only on the OCaml compiler version 4.01.0. Please check the version of your compiler and let me know.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#2 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADGL3GHGUQPS55M76FLXRELRSFLIDANCNFSM4EFS7ZVQ>.
|
@AindriyaBarua @aruncgowda $ sudo apt-get update git clone https://github.com/s3team/uroboros.git Let me know if you get any errors with these steps. |
@ajaymas
I tried this: |
If you have already installed any other version of opam , please remove that opam After this goto Files and delete the .opam folder. |
@ajaymas @aruncgowda
Thanks in advance! |
How about we give a dockerfile so you can give it a try? We are testing it and will release it once we see no problem.
From: IST Plato <[email protected]> On Behalf Of [email protected]
Sent: Thursday, May 21, 2020 6:43 AM
To: istplato-l <[email protected]>
Subject: Re: [s3team/uroboros] Build on lunix failed (#2)
@ajaymas<https://github.com/ajaymas> @aruncgowda<https://github.com/aruncgowda>
I am still facing this:
(base) aindriya@aindriya:~/uroboros/src$ ./build
+ ocamlfind ocamldep -package deriving,deriving.syntax -syntax camlp4o -package batteries,parmap -modules type.ml > type.ml.depends
ocamlfind: Package `deriving' not found
Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
(base) aindriya@aindriya:~/uroboros/src$ opam install deriving
[NOTE] Package deriving is already installed (current version is 0.7.1).
Thanks :")
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#2 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADGL3GAV5EZF6RL2ZVA7QETRSUATXANCNFSM4EFS7ZVQ>.
|
@AindriyaBarua FROM ubuntu:18.04 RUN opam init --comp 4.01.0 -y RUN git clone https://github.com/s3team/uroboros.git |
This build failure was reported on your issue tracker in 2017, with a proposed fix. |
The following successfully builds Uroboros on Linux, FROM ubuntu:20.04
RUN export DEBIAN_FRONTEND=noninteractive
RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
RUN apt-get -y update && \
apt-get -y install build-essential binutils opam camlp4-extra git
RUN opam init --comp 4.01.0 -a --disable-sandboxing
RUN opam install -y deriving.0.7 ocamlfind.1.5.5 parmap batteries.2.3.1
RUN git clone https://github.com/s3team/uroboros.git /uroboros
WORKDIR "/uroboros/src"
RUN sed -i 's/\(command\|system\)(\("\|"\)python /\1("python2 /' *.py *.ml **/*.py **/*.ml
RUN sed -i "s/system('python /system('python2 /" *.py *.ml **/*.py **/*.ml
RUN eval $(opam config env) && ./build however, the resulting install is throwing errors. Is the install somehow broken, or is Uroboros not expected to rewrite this file for some reason?
Thanks for any information you can provide. |
My unconfirmed suspicion is that |
I have cloned the code for uroboros and installed all the required packages like opam, ocaml, batteries etc
But while running ./build file the operation is failing.
The text was updated successfully, but these errors were encountered: