caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* camelia on windows config problem
@ 2010-03-12 16:52 Michael Hicks
  2010-03-15 14:09 ` [Caml-list] " David Allsopp
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Hicks @ 2010-03-12 16:52 UTC (permalink / raw)
  To: caml-list

I've just been playing with using camelia on Windows, since some students in my class are using it.

My problem is that I can't figure out how to configure Camelia to run a non-Cygwin Ocaml.  My installation puts the executables in C:\Program Files\Objective Caml\bin, and I can redirect the configuration to look here.  But when Camelia tries to run the ocaml toplevel, it complains that it cannot find pervasives.cmi.  This is true when I also configure the libraries to be in C:\Program Files\Objective Caml\lib\.  When I run ocaml from the terminal, it runs fine (i.e., it's able to find the .cmi file).

Any camelia users with ideas about what is going on?  Thanks in advance!

-Mike


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

* RE: [Caml-list] camelia on windows config problem
  2010-03-12 16:52 camelia on windows config problem Michael Hicks
@ 2010-03-15 14:09 ` David Allsopp
  0 siblings, 0 replies; 2+ messages in thread
From: David Allsopp @ 2010-03-15 14:09 UTC (permalink / raw)
  To: 'Michael Hicks', caml-list

Michael Hicks wrote:
> I've just been playing with using camelia on Windows, since some
> students in my class are using it.
> 
> My problem is that I can't figure out how to configure Camelia to run a
> non-Cygwin Ocaml.  My installation puts the executables in C:\Program
> Files\Objective Caml\bin, and I can redirect the configuration to look
> here.  But when Camelia tries to run the ocaml toplevel, it complains
> that it cannot find pervasives.cmi.  This is true when I also configure
> the libraries to be in C:\Program Files\Objective Caml\lib\.  When I run
> ocaml from the terminal, it runs fine (i.e., it's able to find the .cmi
> file).
> 
> Any camelia users with ideas about what is going on?  Thanks in advance!

I don't use Camelia but have you set OCAMLLIB correctly? OCaml itself falls
back on configured values if it's missing which might be masking an error?
Have a look at the output of ocamlc -where.


David


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

end of thread, other threads:[~2010-03-15 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-12 16:52 camelia on windows config problem Michael Hicks
2010-03-15 14:09 ` [Caml-list] " David Allsopp

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).