-
Notifications
You must be signed in to change notification settings - Fork 78
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
HOL light installation problem on macos #66
Comments
Hi, the following combination works for me on Mac OS X 10.15:
My advice is that you should never directly install OCaml but first install "opam" from MacPorts (not Homebrew) and then use opam to install the above working combinations of OCaml and camlp5. (Maybe the "num" package should be also installed.) The following is a output of my
|
Thank you for this. I will switch to the versions of ocaml and camlp5 you mention via opam.
I have now also noticed that hol.ml apparently needs the checkpointing programme ckpt.
How do I install this on macos? Or is there an alternative?
Damian
… On 14 Oct 2021, at 1:51 pm, Chun Tian ***@***.***> wrote:
Hi, the following combination works for me on Mac OS X 10.15:
OCaml version 4.07.1
Camlp5 parsing version 7.08
My advice is that you should never directly install OCaml but first install "opam" from MacPorts (not Homebrew) and then use opam to install the above working combinations of OCaml and camlp5. (Maybe the "num" package should be also installed.) The following is a output of my opam list command:
# Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
camlp5 7.08 pinned to version 7.08
conf-m4 1 Virtual package relying on m4
num 1.3 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.07.1 The OCaml compiler (virtual package)
ocaml-config 1 OCaml Switch Configuration
ocaml-variants 4.07.1+force-safe-string Official release 4.07.1, with safe string forced globally
ocamlfind 1.8.1 A library manager for OCaml
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#66 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AWB4DWEEDWAELTE2LRAUOILUG3G67ANCNFSM5F7RZ5XQ>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I have now switched to the suggested versions of OCaml and Camlp5 but still no joy. There is also another error (which was already there before): Error while loading "/opt/local/lib/ocaml/camlp5/pa_lexer.cmo": /opt/local/lib/ocaml/camlp5/pa_lexer.cmo is not a bytecode object file. Note that I run macos 11.6. Here is what opam list gives for me Packages matching: installedName # Installed # Synopsisbase-bigarray base |
You should completely uninstall ocaml and camlp5 from MacPorts. (Try
To help camlp5 correctly finding its libraries, I have the following lines in my
|
The purpose of If you really want this feature, I would recommend you to try to install a Linux virtual machine (by VMware Fusion, VirtualBox or Parallels Desktop) and run hol-light inside this Linux VM. In this way, you never need to shut down your OCaml process, as you can just suspend the entire Linux VM instead. This VM suspension facility can be seen as a special "checkpoint" for the entire operation system, as it indeed write everything from the memory to a disk file which can be later loaded back. Hope this helps, (although I know very little about hol-light itself). Chun |
Yeah! It works. Thank you very much. |
I am trying to install Hol light on macos. I downloaded the hol-light package and typed ¨make¨ but I got the following error:
File "pa_j.ml", line 1:
Error: Error while running external preprocessor
Command line: camlp5r pa_lexer.cmo pa_extend.cmo q_MLast.cmo 'pa_j.ml' > /var/folders/sy/0_3rx36s29d7zb8504hj9fkm0000gn/T/ocamlpp5d527d
make: *** [pa_j.cmo] Error 2
I use camlp5 version 7.10 and ocaml version 4.05
I would be glad of any advice.
The text was updated successfully, but these errors were encountered: