Re: what are the minimum requirements to install ctypes with opam
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <CAAxsn=Gpd26SP8qzCiOePbzA9p5Qwk9Ob4J7x1eL8UTCuOKOTA@mail.gmail.com> |
On 29 September 2014 01:46, Jean Saint-Remy [email protected] [ocaml_beginners] <[email protected]> wrote: > # opam install ctypes > [ERROR] "ctypes" is not available for your compiler or your OS. > 'opam install ctypes' failed. OPAM 1.2, which is to be released shortly, has a much better error message which explains the problem: $ opam switch show 3.12.1 $ opam install ctypes [ERROR] ctypes is not available because it requires OCaml >= 4.00.0. > OPAM allows for different ocaml versions and libraries to coexist together. Most of the time I am using ocaml 3.12.1, which is a bit antiquated for ctypes. I do have libffi installed on a Debian derivative running kernel 3.14. The Linux and libffi versions should both be fine. You should be able to install ctypes under one of the 4.*.* compilers (which you can also install using OPAM).