caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Tom Hawkins <tom@launchbird.com>
Cc: caml-list@pauillac.inria.fr
Subject: Re: [Caml-list] Can't find Pervasives.cmi (3.07, MinGW, Win2000)
Date: Sun, 19 Oct 2003 10:41:12 -0400	[thread overview]
Message-ID: <20031019144112.GB2946@alan-schm1p> (raw)
In-Reply-To: <200310181229.49542.tom@launchbird.com>

[-- Attachment #1: Type: text/plain, Size: 1119 bytes --]

* Tom Hawkins (tom@launchbird.com) wrote:
> I'm having difficulty getting 3.07 working on a Win 2000 box with the 
> MinGW tool chain.  When I try ocamlc.opt from either a Cygwin shell 
> or a windows shell I get:
> 
>   Fatal error: can not open pervasives.cmi
> 
> I've tried playing with the OCAMLLIB environment variable, but no 
> luck.  From what I gather from the docs, OCAMLLIB is only needed for 
> ME or 98, but I thought it was worth a shot.
> 
> BTW, the interactive OCaml works just fine.
> 
> This is my first time trying to compile native Win32 executables.  
> Till now I've only used the pure Cygwin-based port.
> 
> Any suggestions?

I've had similar problems, and it seems that a solution is to root your
install directory (where the bin and lib are going to go) outside of
the cygwin directory (like to c:\ocaml, for instance).

It seems that the path that is put in the ocaml executable does not make
sense from a non-cygwin point of view (but this is just a guess).

HTH,

Alan Schmitt

-- 
The hacker: someone who figured things out and made something cool happen.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-10-19 14:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-18 17:29 Tom Hawkins
2003-10-19 14:41 ` Alan Schmitt [this message]
2003-10-19 15:39   ` Tom Hawkins
2003-10-19 23:04     ` Alan Schmitt
2003-10-19 23:54     ` Jason Hickey
2003-10-20 13:07 ` Xavier Leroy
2003-10-20 14:03   ` Tom Hawkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031019144112.GB2946@alan-schm1p \
    --to=alan.schmitt@polytechnique.org \
    --cc=caml-list@pauillac.inria.fr \
    --cc=tom@launchbird.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).