From: Sylvain Le Gall <sylvain@le-gall.net>
To: caml-list@inria.fr
Subject: [Caml-list] Re: New version of the binary installer for Windows
Date: Sat, 31 Mar 2012 09:34:27 +0000 (UTC) [thread overview]
Message-ID: <slrnjndjt3.7tu.sylvain@gallu.homelinux.org> (raw)
In-Reply-To: <4F75BFFA.6040407@gmail.com>
Hello,
On 30-03-2012, Jonathan Protzenko <jonathan.protzenko@gmail.com> wrote:
> This is a multi-part message in MIME format.
> --------------090404070100000705080101
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
>
> Hi again,
>
> Following all the good suggestions in this thread, I've updated the
> installer. It now downloads and runs cygwin's setup.exe so as to provide
> a fully working environment for OCaml on windows after the installer
> completes. The cygwin installer runs in silent mode, that is, the
> progress window shows up, but there is no user prompt.
>
> I've also looked into odb compatibility, and it looks like after writing
> a few patches, odb now runs fine on Windows. However, Oasis-generated
> setup.ml files do not work at all on windows. Any help in that area
> would be highly appreciated.
>
This has nothing to do with windows. This is related the version number
of OCaml which is "4.01.0+dev0 (2012-03-12)". OASIS 0.2 doesn't handle
spaces in the version number... A more classical scheme for version
number with date is 4.01.0+dev0_2012-03-12. But anyway, this is fixed
since OASIS 0.2.1~alpha1 and will be automatically fix in any packages
hosted on the forge -- and it won't be there when your installer will
use a non dev version of OCaml.
BTW, the bug related to these issues is here:
https://forge.ocamlcore.org/tracker/index.php?func=detail&aid=1135&group_id=54&atid=291
I recommend to follow it.
From what I have seen I am more concerned by the fact that the camlp4
findlib path contains strange char... There are some bugs in findlib on
Windows with pathname, I have attached a patch to the bug. Please test
and send it to Gerd Stolpmann.
Cheers
Sylvain
> Thanks,
>
> jonathan
>
> On 03/28/2012 02:24 PM, Jonathan Protzenko wrote:
>> Hi,
>>
>> I've spent the past few days improving the OCaml installer for
>> windows. This should solve all issues that have been mentioned
>> previously. This in preparation for the upcoming 4.0 release ;
>> therefore, the "beta installer" below will install a fairly recent
>> trunk version of OCaml.
>>
>> http://yquem.inria.fr/~protzenk/caml-installer/ocaml-4.01.0+dev0-i686-mingw64.exe
>>
>> *Changelog:*
>>
>> - The installer packages a working and well-configured findlib, out of
>> the box. This means you can open up cmd.exe, type ocaml, then type
>> #use "topfind";; in the top-level.
>> - The installer no longer blasts the PATH variable if it is too long.
>> Moreover, it is now able to deal with PATHs that are up to 8192 bytes
>> long.
>> - The installer is now able to deal with multi-user privileges: in
>> particular, you can use this installer on a *limited account*: OCaml
>> will properly install into your local "Application Data" folder if you
>> don't have administrator rights on your machine. This should be
>> particularly useful for school computers that run Windows.
>> - Various fixes: better cleanups on exit, minor fixes for
>> OCamlWinPlus, properly warn the user if it was unable to download
>> ActiveTCL from the internet.
>> - The installer packages a newer version of flexlink, so you shouldn't
>> have any more issues with gcc not accepting the -mno-cygwin option.
>> However, the new, official toolchain uses the mingw64 32-bit
>> compilers. This means flexlink will look for a i686-w64-mingw32-gcc in
>> your path whenever you try to do native compilation. The official,
>> recommended way to work is to install cygwin and its mingw64 packages.
>> While in theory it should be possible to work within a MSys
>> environment, some issues [1] currently prevent you from doing so.
>>
>> [1] http://caml.inria.fr/mantis/view.php?id=5465
>>
>> Please let me know if anything doesn't work as expected. This will be
>> the official installer for the 4.0 release.
>>
>> Cheers,
>>
>> jonathan
>
>
>
> --
> Caml-list mailing list. Subscription management and archives:
> https://sympa-roc.inria.fr/wws/info/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
>
> --------------090404070100000705080101
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
>
> <html>
> <head>
> <meta content="text/html; charset=ISO-8859-1"
> http-equiv="Content-Type">
> </head>
> <body bgcolor="#FFFFFF" text="#000000">
> Hi again,<br>
> <br>
> Following all the good suggestions in this thread, I've updated the
> installer. It now downloads and runs cygwin's setup.exe so as to
> provide a fully working environment for OCaml on windows after the
> installer completes. The cygwin installer runs in silent mode, that
> is, the progress window shows up, but there is no user prompt.<br>
> <br>
> I've also looked into odb compatibility, and it looks like after
> writing a few patches, odb now runs fine on Windows. However,
> Oasis-generated setup.ml files do not work at all on windows. Any
> help in that area would be highly appreciated.<br>
> <br>
> Thanks,<br>
> <br>
> jonathan<br>
> <br>
> <div class="moz-cite-prefix">On 03/28/2012 02:24 PM, Jonathan
> Protzenko wrote:<br>
> </div>
> <blockquote cite="mid:4F730303.8000802@gmail.com" type="cite">
> <meta http-equiv="content-type" content="text/html;
> charset=ISO-8859-1">
> Hi,<br>
> <br>
> I've spent the past few days improving the OCaml installer for
> windows. This should solve all issues that have been mentioned
> previously. This in preparation for the upcoming 4.0 release ;
> therefore, the "beta installer" below will install a fairly recent
> trunk version of OCaml.<br>
> <br>
> <a moz-do-not-send="true" class="moz-txt-link-freetext"
> href="http://yquem.inria.fr/%7Eprotzenk/caml-installer/ocaml-4.01.0+dev0-i686-mingw64.exe">http://yquem.inria.fr/~protzenk/caml-installer/ocaml-4.01.0+dev0-i686-mingw64.exe</a><br>
> <br>
> <b>Changelog:</b><br>
> <br>
> - The installer packages a working and well-configured findlib,
> out of the box. This means you can open up cmd.exe, type ocaml,
> then type #use "topfind";; in the top-level.<br>
> - The installer no longer blasts the PATH variable if it is too
> long. Moreover, it is now able to deal with PATHs that are up to
> 8192 bytes long.<br>
> - The installer is now able to deal with multi-user privileges: in
> particular, you can use this installer on a <b>limited account</b>:
> OCaml will properly install into your local "Application Data"
> folder if you don't have administrator rights on your machine.
> This should be particularly useful for school computers that run
> Windows.<br>
> - Various fixes: better cleanups on exit, minor fixes for
> OCamlWinPlus, properly warn the user if it was unable to download
> ActiveTCL from the internet.<br>
> - The installer packages a newer version of flexlink, so you
> shouldn't have any more issues with gcc not accepting the
> -mno-cygwin option. However, the new, official toolchain uses the
> mingw64 32-bit compilers. This means flexlink will look for a
> i686-w64-mingw32-gcc in your path whenever you try to do native
> compilation. The official, recommended way to work is to install
> cygwin and its mingw64 packages. While in theory it should be
> possible to work within a MSys environment, some issues [1]
> currently prevent you from doing so.<br>
> <br>
> [1] <a moz-do-not-send="true" class="moz-txt-link-freetext"
> href="http://caml.inria.fr/mantis/view.php?id=5465">http://caml.inria.fr/mantis/view.php?id=5465</a><br>
> <br>
> Please let me know if anything doesn't work as expected. This will
> be the official installer for the 4.0 release.<br>
> <br>
> Cheers,<br>
> <br>
> jonathan<br>
> </blockquote>
> <br>
> <br>
> </body>
> </html>
>
> --------------090404070100000705080101--
>
Cheers,
Sylvain Le Gall
--
My company: http://www.ocamlcore.com
Linkedin: http://fr.linkedin.com/in/sylvainlegall
Start an OCaml project here: http://forge.ocamlcore.org
OCaml blogs: http://planet.ocamlcore.org
next prev parent reply other threads:[~2012-03-31 9:34 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-28 12:24 [Caml-list] " Jonathan Protzenko
2012-03-28 14:55 ` Kakadu
2012-03-28 15:19 ` Jonathan Protzenko
2012-03-28 15:25 ` Wojciech Meyer
2012-03-28 15:38 ` Jonathan Protzenko
2012-03-28 15:54 ` David Allsopp
2012-03-28 16:04 ` Jonathan Protzenko
2012-03-28 17:36 ` Adrien
2012-03-28 20:42 ` Jonathan Protzenko
2012-03-29 11:55 ` Kakadu
2012-03-29 12:18 ` Gabriel Scherer
2012-03-29 12:19 ` Jonathan Protzenko
2012-03-29 12:27 ` Kakadu
2012-03-28 15:32 ` Jonathan Protzenko
2012-03-30 14:15 ` [Caml-list] " Jonathan Protzenko
2012-03-30 14:41 ` David Allsopp
2012-03-30 17:38 ` Kakadu
2012-04-03 12:32 ` Jonathan Protzenko
2012-03-31 9:34 ` Sylvain Le Gall [this message]
2012-04-02 8:03 ` Romain Bardou
2012-04-02 8:21 ` Alain Frisch
2012-04-02 8:23 ` David Allsopp
2012-04-02 11:14 ` Adrien
2012-04-02 11:39 ` Romain Bardou
2012-04-02 11:53 ` Jonathan Protzenko
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=slrnjndjt3.7tu.sylvain@gallu.homelinux.org \
--to=sylvain@le-gall.net \
--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