[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ocaml-dns



On 17 Mar 2013, at 11:05, Anastasia Gornostaeva <ermine@xxxxxxxx> wrote:

> On Sun, Mar 17, 2013 at 10:39:51AM -0500, Anil Madhavapeddy wrote:
> 
> It is difficult to use opam still.
> I would to switch to opam when it compile and install pgocaml and eliom at 
> least.

Do feel free to open up build failure issues on:
http://github.com/OCamlPro/opam-repository/issues

Both of those compile fine on MacOS X and Linux, but quite probably fail
on BSD with some random Makefile problem.  Should be easy to fix...

> So I've compiled ocaml-dns not using opam and as you've seen it failed
> because:
> 1) ocaml setupm.ml -configure does not check all dependences

Right... it checks for cstruct, but the other libs are transitive dependencies
needed for cstruct to compile.  I don't think those are meant to into the
DNS _oasis file.

> 2) it checks if opam is installed on the machine but does not check if
> was compiled via opam. It is really mystery :-)

I don't understand this.  Do you mean that ocaml-dns checks for OPAM? 
It doesn't do anything with OPAM at all; it just calls the OCaml toolchain
on the current PATH.

You might want to do delete setup.data if you're seeing odd caching issues
in OASIS, and rerun the build.  I find that it doesn't pick up compiler
changes sometimes.

-anil






 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.