caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Florent Monnier <monnier.florent@gmail.com>
To: wizbyron@yahoo.com
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Need help installing OCaml-Cygwin packages!
Date: Fri, 16 Aug 2013 14:42:49 +0200	[thread overview]
Message-ID: <CAE1DttB6cOx0xCrXWc-zNMM81_uxHtj11cNqtBO4a_dORdp0Gg@mail.gmail.com> (raw)
In-Reply-To: <sympa.1376615378.22656.257@inria.fr>

2013/8/16, wizbyron@yahoo.com <wizbyron@yahoo.com>:
> I'm unable to download/install any OCaml-Cygwin Package to my Win7Ux64 PC?
> These OCaml Cygwin Packages, I've listed below, are listed as available on
> partner website at www.cygwin.com/packages ... But when I run their Cygwin
> setup-x86_64.exe application to install them on my Win7Ux64 PC, not even so
> much as 1 of those OCaml packages/programs is listed to select from, on any
> of
> the mirror download sites that are shown to choose from, within the setup
> program itself! Why is that happening? Also, maybe there might be an
> alternate
> way to download/install them directly from the website itself at
> cygwin.com/
> packages using my web-browser? And how exactly (step-by-step) would I go
> about
> doing that alternative, if that would even work at all for me?..
>
> 1. ocaml - The OCaml compiler and runtime (install helper)
> 2. ocaml-base - The OCaml compiler and runtime (base system)
> 3. ocaml-camlp4 - The OCaml compiler and runtime (camlp4)
> 4. ocaml-compiler-libs - The OCaml compiler and runtime (compiler
> libraries)
> 5. ocaml-llvm - LLVM library (OCaml bindings)
>
> ...And Sincere Thanks for your quick assistance/response to this dire
> situation of mine!

On my side I've tryed all available solutions (included compile from sources).
My test windows environment is Windows 7 on a 32 bit architecture.
Cygwin's ocaml was the one that was working the best for me, but I'm
not using it because using Cygwin's toolchain means that everything
that you do has to be GPL.
So are you sure that's what you want?
I'm currently only doing open-source, but I don't like "coercive freedom".
I like to make free things really freely :p
So I'm using protz ocaml instead,
the download link is available here:
http://caml.inria.fr/download.en.html
The link is called:
"Self installer (4.00.0) for the port based on the MinGW toolchain"
Don't beleive the 4.00.0 indication, it's right 4.00.1 !

But indeed later it's much simple to compile and install other
additional libraries with Cygwin's OCaml than with Protz's OCaml,
mostly because of directory separator.
But I haven't understood why Protz' OCaml uses '\', since when I'm
inside cmd.exe, the windows terminal, using '/' works just fine, but
using '\' inside Cygwin's terminal just clashes...

Anyway for libs using a good old Makefile it's quite easy to fix this
issue. With an _oasis build it may be harder, and most often when I
don't want to waste time, I just rewrite a Makefile from scratch.
Makefiles are usually more portable than oasis builds.

I've never succeed to compile ocaml itself from sources on Windows,
but I'm an early beginner on Windows, you might be more lucky than me
if you try, the complete details are there:
http://caml.inria.fr/pub/distrib/ocaml-4.01/notes/README.win32

--

  reply	other threads:[~2013-08-16 12:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-16  1:14 wizbyron
2013-08-16 12:42 ` Florent Monnier [this message]
2013-08-19 12:34   ` Jonathan Protzenko
2013-08-19 14:06     ` David Allsopp
2013-08-19 18:05 ` Damien Doligez

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=CAE1DttB6cOx0xCrXWc-zNMM81_uxHtj11cNqtBO4a_dORdp0Gg@mail.gmail.com \
    --to=monnier.florent@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=wizbyron@yahoo.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).