[opam-devel] Error installing ocamlfind using Ubuntu's OPAM package

Anil Madhavapeddy anil at recoil.org
Wed Aug 13 21:43:41 BST 2014


Hi Jon,

You're missing just one system package required to build ocamlfind called 'm4'.  Just add

sudo apt-get install m4

to your command set below and you should be fine.  For installing Cohttp with the Core backend, do:

opam install cohttp ssl async 

Let us know if this doesn't work out.

best,
Anil

On 13 Aug 2014, at 20:30, Jon Loldrup <loldrup at gmail.com> wrote:

> Hi
> 
> I'm trying to install cohttp on Ubuntu 14.04. However it is not working so well, as can be seen from this screenshot:
> 
> http://i58.tinypic.com/euk9e1.png
> 
> I started from a pretty much unaltered installation of Ubuntu 14.04. Then I executed the following commands in order. The last command led to the error.
> 
> sudo apt-get update && sudo apt-get upgrade
> sudo apt-get install ocaml-nox ocaml-native-compilers ocaml-doc tuareg-mode ocaml-findlib oasis libpcre-ocaml-dev
> sudo apt-get update
> sudo apt-get install ocaml ocaml-native-compilers camlp4-extra opam
> opam
> opam list
> opam init
> eval `opam config env`
> opam search cohttp
> opam search core
> opam update
> opam list
> opam install cohttp
> 
> So, how do I approach figuring out what went wrong? I'm an Ocaml newbie..
> Also, where should I report errors like this if it is indeed a bug instead of a user error?
> 
> regards Jon Loldrup
> Denmark
> _______________________________________________
> opam-devel mailing list
> opam-devel at lists.ocaml.org
> http://lists.ocaml.org/listinfo/opam-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/opam-devel/attachments/20140813/50807747/attachment.html>


More information about the opam-devel mailing list