From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q2SFsvNq012339 for ; Wed, 28 Mar 2012 17:54:57 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjEDAA0zc09RZ90xlGdsb2JhbABFuGwiAQEBAQkLCQkUAySCCQEBAQQ6PxACAQgYChQQIRElAgQBDQUIiAMDuw+KAIYvYwSVYYERihoGA4dg X-IronPort-AV: E=Sophos;i="4.73,662,1325458800"; d="scan'208";a="138115956" Received: from mtaout03-winn.ispmail.ntl.com ([81.103.221.49]) by mail4-smtp-sop.national.inria.fr with ESMTP; 28 Mar 2012 17:54:52 +0200 Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20120328155451.ZWSW18388.mtaout03-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Wed, 28 Mar 2012 16:54:51 +0100 Received: from romulus.metastack.com ([81.102.132.77]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.3.00.04.00 201-2196-133-20080908) with ESMTP id <20120328155451.YRBA23925.aamtaout04-winn.ispmail.ntl.com@romulus.metastack.com>; Wed, 28 Mar 2012 16:54:51 +0100 Received: from remus.metastack.local (remus.metastack.com [172.16.0.1]) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id q2SFslnI002382 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 28 Mar 2012 16:54:47 +0100 Received: from Remus.metastack.local ([fe80::547c:3c42:e1da:eda2]) by Remus.metastack.local ([fe80::547c:3c42:e1da:eda2%10]) with mapi id 14.01.0355.002; Wed, 28 Mar 2012 16:54:47 +0100 From: David Allsopp To: Wojciech Meyer , Jonathan Protzenko CC: Kakadu , "caml-list@inria.fr" Thread-Topic: [Caml-list] New version of the binary installer for Windows Thread-Index: AQHNDN3S6EiQaIojAkCwtOwfiTi7PZZ/ux2AgAAGtgCAAAG9gIAAE4Zg Date: Wed, 28 Mar 2012 15:54:46 +0000 Message-ID: References: <4F730303.8000802@gmail.com> <4F732BFE.104@gmail.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [87.213.128.2] Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Organization: MetaStack Solutions Ltd. X-Scanned-By: MIMEDefang 2.65 on 172.16.0.20 X-Cloudmark-Analysis: v=1.1 cv=R50lirqlHffDPPkwUlkuVa99MrvKdVWo//yz83qex8g= c=1 sm=0 a=1ajdqJ-tx_YA:10 a=RdA2tn4JTKkA:10 a=cTs9vV391PwA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=pGLkceISAAAA:8 a=w_pzkKWiAAAA:8 a=CXw9TbsNKdrqMoIf-soA:9 a=EdG_ylM8nqJ1el89MqUA:7 a=CjuIK1q_8ugA:10 a=MSl-tDqOz04A:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id q2SFsvNq012339 Subject: RE: [Caml-list] New version of the binary installer for Windows Wojciech Meyer wrote: > Hi Jonathan, > > Thanks for the installer! > > On Wed, Mar 28, 2012 at 4:19 PM, Jonathan Protzenko > wrote: > > Unfortunately, ocamlbuild requires a unix-like environment, with a few > > utilities in the path: bash, mkdir... > > It looks like he's got a partially installed environment - as bash is > there. > > > The installer only provides the very basics. It does not provide a > > unix environment on windows, only the ocaml binaries, flexlink, and > > ocamlfind. If you want to go further, e.g. use ocamlbuild, or benefit > > from native compilation, you need to install a development > > environment, such as cygwin, or msys. Currently, because of bug 5465, > cygwin is the recommended way. > > > > I've successfully used ocamlbuild under cygwin and msys, and it works > fine. > > How about bundling the installer with cygwin or msys? Beware of the > license issues however. I haven't had a go with it, but will try it as soon as possible. However, it sounded from the description as though it offers to install ActiveTCL by downloading it from the internet and running the installer for you. Couldn't it then offer the same for Cygwin? It would simply need to pull down http://cygwin.com/setup.exe and then run: setup.exe --root=C:\cygwin --download --quiet-mode --no-startmenu --no-desktop --packages=make,mingw64-i686-gcc-g++ >nul 2>&1 which would circumvent all licensing issues, I believe. My own install script also adds git, subversion, patch, m4 and unzip as these are also needed for building various libraries from source. I install g++ because SpiderMonkey has portions written in C++ but you can install mingw64-i686-gcc-core instead if you don't want a C++ compiler. David