Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Gerd Stolpmann <gerd@gerd-stolpmann.de>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] ocamlfind question on cygwin
Date: Wed, 06 May 2009 20:47:04 +0200	[thread overview]
Message-ID: <1241635624.11478.7.camel@flake.lan.gerd-stolpmann.de> (raw)
In-Reply-To: <4EF1A68E-7137-4EA5-9391-2EA568062A54@polytechnique.org>


Am Mittwoch, den 06.05.2009, 19:23 +0200 schrieb Alan Schmitt:
> On 6 mai 09, at 18:11, Dmitry Bely wrote:
> 
> > On Wed, May 6, 2009 at 7:57 PM, Alan Schmitt
> > <alan.schmitt@polytechnique.org> wrote:
> >> Hello,
> >>
> >> I'm trying to debug some installation issue on godi/mingw, and it  
> >> seems to
> >> be a problem with ocamlfind using a cygwin console. When I try:
> >>
> >> $ ocamlfind install lwt -destdir
> >> "/home/Administrateur/godi/lib/ocaml/pkg-lib" META
> >> ocamlfind: Bad configuration: Cannot mkdir
> >> /home/Administrateur/godi/lib/ocaml/pkg-lib\lwt because a path  
> >> component
> >> does not exist or is not a directory
> >
> > Probably your ocamlfind is a mingw (native Win32) application, and so
> > you cannot use cygwin paths (/home/...).
> 
> As godi uses cygwin paths, does it mean that one cannot use ocamlfind  
> in godi packages for mingw?

Actually, this is a big problem. In godi_console, I worked around by
translating paths between cygwin and Win32 as needed. All other godi
apps do not provide this convenience feature - they are win32 apps and
require win32 paths.

In order to help packages, there is LOCALBASE_NATIVE. It is LOCALBASE
translated to Win32 style. Look into the godi-findlib package for an
example how to use it.

Gerd
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
Phone: +49-6151-153855                  Fax: +49-6151-997714
------------------------------------------------------------



      reply	other threads:[~2009-05-06 18:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-06 15:57 Alan Schmitt
2009-05-06 16:11 ` [Caml-list] " Dmitry Bely
2009-05-06 17:23   ` Alan Schmitt
2009-05-06 18:47     ` Gerd Stolpmann [this message]

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=1241635624.11478.7.camel@flake.lan.gerd-stolpmann.de \
    --to=gerd@gerd-stolpmann.de \
    --cc=alan.schmitt@polytechnique.org \
    --cc=caml-list@inria.fr \
    /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