On Fri, Oct 11, 2013 at 07:49:27PM -0700, Jonathan Kotker wrote:
> Fatal error: exception Failure("Config file not found - neither
> /usr/etc/findlib
> .conf nor the directory /usr/etc/findlib.conf.d")

I thought findlib would fail gracefully if there is no findlib.conf file, but
it looks like I was wrong.

> Any idea what might be causing this? This also happens if the environment
> variables are not set.

Try setting OCAMLFIND_CONF to the absolute path of a minimal findlib.conf file.
This file should contain the following two lines:

path = "/absolute/path/to/mylibdir"
destdir = "/absolute/path/to/mylibdir"

It is then not necessary anymore to set OCAMLPATH.  Alternatively, if you prefer
to set OCAMLPATH dynamically, you can probably use:

path = ""
destdir = ""

> Thanks for any help and suggestions, and for all that has been provided so
> far.

I'm really glad of all this feedback.  When you have a working setup, do not
hesitate to post a summary and I'll make sure to include it in the doc for the
release.

Best,
-- 
Gabriel

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to