caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Fatal error
@ 2003-01-27  3:39 jeremiah_moss
       [not found] ` <Pine.LNX.4.40.0301271208040.713-100000@pc-bioinfo1.ibcp.fr>
  0 siblings, 1 reply; 2+ messages in thread
From: jeremiah_moss @ 2003-01-27  3:39 UTC (permalink / raw)
  To: caml-list

Ocaml appeared to install correctly, but now it doesn't want to run:

$ ocaml
        Objective Caml version 3.06

>> Fatal error: cannot open pervasives.cmi
Fatal error: exception Misc.Fatal_error



I suspect I'm not setting an environment variable (probably PATH?).  I 
found pervasives.cmi in /usr/local/lib/ocaml, so it appears to be installed 
correctly, it's just not finding it.  Any ideas?  Should I try adding 
/usr/local/lib/ocaml to PATH?

-Jeremiah
-------------------
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] Fatal error
       [not found] ` <Pine.LNX.4.40.0301271208040.713-100000@pc-bioinfo1.ibcp.fr>
@ 2003-01-27 19:27   ` jeremiah_moss
  0 siblings, 0 replies; 2+ messages in thread
From: jeremiah_moss @ 2003-01-27 19:27 UTC (permalink / raw)
  To: caml-list

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

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

-Jeremiah

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-27 19:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-27  3:39 [Caml-list] Fatal error jeremiah_moss
     [not found] ` <Pine.LNX.4.40.0301271208040.713-100000@pc-bioinfo1.ibcp.fr>
2003-01-27 19:27   ` jeremiah_moss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).