<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/01/7abf8bef98c15336e059f19e5dccaa12"
  from="jeremiah_moss@c..."
  author="jeremiah_moss@c..."
  date="2003-01-27T19:27:58"
  subject="Re: [Caml-list] Fatal error"
  prev="2003/01/32a48fbbe8cc060ff33f9088ef0b64c6"
  next="2003/01/a49e9e013098fcb742180c896e71b247"
  prev-in-thread="2003/01/874b3b370b0e9f79e2b4b39bef346098"
  prev-thread="2003/01/15cd7ca215908267fbf01507e08c168c"
  next-thread="2003/01/9a82dbd2b78af7a9bc331cc6f4371d1f"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Fatal error">
<msg 
  url="2003/01/874b3b370b0e9f79e2b4b39bef346098"
  from="jeremiah_moss@c..."
  author="jeremiah_moss@c..."
  date="2003-01-27T03:39:51"
  subject="[Caml-list] Fatal error">
<msg 
  url="2003/01/7abf8bef98c15336e059f19e5dccaa12"
  from="jeremiah_moss@c..."
  author="jeremiah_moss@c..."
  date="2003-01-27T19:27:58"
  subject="Re: [Caml-list] Fatal error">
</msg>
</msg>
</thread>

<contents>
The OCAMLLIB environment variable was set wrong.  It's fixed now.

I'll be taking myself off the mailing list now.

-Jeremiah

&gt; On Sun, 26 Jan 2003 jeremiah_moss@cobraa1.com wrote:
&gt; 
&gt; &gt; Ocaml appeared to install correctly, but now it doesn't want to run:
&gt; &gt;
&gt; &gt; $ ocaml
&gt; &gt;         Objective Caml version 3.06
&gt; &gt;
&gt; &gt; &gt;&gt; Fatal error: cannot open pervasives.cmi
&gt; &gt; Fatal error: exception Misc.Fatal_error
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; I suspect I'm not setting an environment variable (probably PATH?).  I
&gt; &gt; found pervasives.cmi in /usr/local/lib/ocaml, so it appears to be installed
&gt; &gt; correctly, it's just not finding it.  Any ideas?  Should I try adding
&gt; &gt; /usr/local/lib/ocaml to PATH?
&gt; 
&gt; This could happen if your CAMLLIB or OCAMLLIBPATH are set to a wrong
&gt; value.
&gt; You can try "unset CAMLLIB; unset OCAMLLIBPATH; ocaml".
&gt; 
&gt; Otherwise, you may get more friendly and detailed answers on the
&gt; beginners' list :
&gt; 
&gt; &gt; Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
&gt; 
&gt; 
&gt; Martin


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

