caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: dmitry grebeniuk <gdsfh1@gmail.com>
To: caml-list@yquem.inria.fr
Subject: Fwd: [Caml-list] Why don't you use batteries?
Date: Sun, 6 Sep 2009 10:47:29 +0300	[thread overview]
Message-ID: <b364036a0909060047l6ddd2fe2k19cc38f9fa58dfda@mail.gmail.com> (raw)
In-Reply-To: <b364036a0909050359q25fbab92l88b2415812941ae1@mail.gmail.com>

2009/9/5 David Allsopp <dra-news@metastack.com>:

> I'm not sure that one is allowed to redistribute the Microsoft C compilers
> directly without a license, but packaging MSYS or the relevant parts of
> Cygwin along with OCaml and Batteries would create an installer somewhere
> between 150-300MB which compared to the 16GB of trial software I downloaded
> from the Microsoft website the other day is not that bad.

 That's what I'm doing for my local needs, approximately.  First of
all, I have an infrastructure to build so called "packages".  global
configure script (allows to choose installation prefix, library
paths), a lot of patches, platform-specific build scripts, some
dependency-stuff.  Patches allow me to hardcode paths in some places
(ugly, but it works).  I'm building it under platforms that are
interesting for me, for now it's only mingw/win32 and ubuntu, maybe
I'll build under freebsd later.  I'm enjoying the pleasure of patching
everything: for example, I made ocamlnet (fastcgi part) working on
mingw.  "Packages" are building and working both under mingw and
linux. (working as far as I have tested -- using "test" targets when
available, or using the library in my code).  The selection of
packages is incomplete, but that's the packages I'm using and its
dependencies: camltemplate camlzip camomile cryptokit deriving extlib
findlib json-static lablgtk2 lwt menhir objsize ocaml-bitstring
ocaml-sqlite3 ocaml-ssl ocamlgraph ocamlnet omake ounit pa_do
pa_safeuse pcre-ocaml sexplib type-conv ulex xmlm.  (there are no
batteries for now)

 Then, some revisions of my project become binary.  I'm making 4
zip-archives under windows: 1. base installation of mingw, msys,
tcl/tk, gtk+ in standard places (c:\mingw, etc), 2. archive that adds
unpacked .tar.gz with mingw C libraries, 3. archive that contains
compiled ocaml + findlib, 4. archive with other ocaml libraries.  So,
installing fresh ocaml and libraries under fresh win32 is just
unpacking 4 zip-archives in c:\ , and adding something like "call
c:\ocaml\set-vars.bat" or ". c:/ocaml/set-vars.sh" in build script.

 I don't distribute it mainly because of the following reasons.  1.
License questions for binary builds.  For my local needs I can do
whatever I want, until it doesn't leave my host and nobody sees it.
(so, guys, you haven't seen all what I've described before)  2. The
complexity of building the system from sources under windows: approx
17 files to download, some of them you install, others you unpack
(.tar.gz, .tar.bz2, not very comfortable for windows).  3. I don't
want to support cygwin (I'm even not installing it at all), and I
don't support msvc and win64 architectures (I don't need it for now).
 Maybe the reason#1 can be solved by building ocaml compiler without
my local patches and reading licenses carefully.


  parent reply	other threads:[~2009-09-06  7:47 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-03 13:05 Edgar Friendly
2009-09-03 13:15 ` [Caml-list] " Rakotomandimby Mihamina
2009-09-03 13:25 ` Alan Schmitt
2009-09-05  8:47   ` David Rajchenbach-Teller
2009-09-06 10:03     ` Alan Schmitt
2009-09-06 10:15       ` David Rajchenbach-Teller
2009-09-06 10:29         ` Alan Schmitt
2009-09-03 14:10 ` kattla
2009-09-05  8:59   ` David Rajchenbach-Teller
2009-09-03 14:25 ` Vincent Aravantinos
2009-09-03 14:35 ` Dario Teixeira
2009-09-04  0:08   ` Jon Harrop
2009-09-04  6:18     ` Stefano Zacchiroli
2009-09-04  6:39     ` Gaius Hammond
2009-09-04 14:04       ` Richard Jones
2009-09-03 15:00 ` Ashish Agarwal
2009-09-03 18:24   ` Alp Mestan
2009-09-03 20:38     ` Ashish Agarwal
2009-09-03 15:50 ` Tom Hutchinson
2009-09-04  8:55   ` Pierre Etchemaite
2009-09-04  9:32     ` Stéphane Glondu
2009-09-04 10:26       ` Vincent Aravantinos
2009-09-04 10:26       ` Andrej Bauer
2009-09-04 14:10         ` Richard Jones
2009-09-04 14:38           ` Hezekiah M. Carty
2009-09-04 18:37             ` Gaius Hammond
2009-09-05  4:53               ` Rakotomandimby Mihamina
2009-09-05  9:44                 ` David Allsopp
2009-09-05 10:22                   ` rixed
2009-09-05 12:03                     ` Jon Harrop
2009-09-05 11:11                       ` Rakotomandimby Mihamina
2009-09-05 12:02                       ` Richard Jones
2009-09-05 21:19                         ` Jon Harrop
2009-09-05 10:23                   ` Gaius Hammond
2009-09-05 11:36                   ` Jon Harrop
2009-09-05 11:52                   ` Richard Jones
     [not found]                   ` <b364036a0909050359q25fbab92l88b2415812941ae1@mail.gmail.com>
2009-09-06  7:47                     ` dmitry grebeniuk [this message]
2009-09-06  7:59                       ` Adrien
2009-09-06  8:47               ` Henry Lenzi
2009-09-06  9:46                 ` Rakotomandimby Mihamina
2009-09-06  9:52                 ` Gaius Hammond
2009-09-06 13:24                   ` Olivier Schwander
2009-09-06 11:34                 ` rixed
2009-09-04 19:53           ` Richard Jones
2009-09-11 16:07           ` Florent Ouchet
2009-09-04 15:05         ` Rakotomandimby Mihamina
2009-09-03 16:13 ` Richard Jones
2009-09-03 16:49 ` Jake Donham
2009-09-03 17:00   ` Hezekiah M. Carty
2009-09-03 18:18 ` Jean-Christophe Filliâtre
2009-09-04  3:24   ` Mike Lin
2009-09-04  3:36     ` Erik de Castro Lopo
2009-09-04  3:44       ` Edgar Friendly
2009-09-04  4:29         ` Erik de Castro Lopo
2009-09-04  8:18   ` Stéphane Glondu
2009-09-04 11:40     ` Jean-Christophe Filliâtre
2009-09-03 19:08 ` Sylvain Le Gall
2009-09-03 23:13 ` [Caml-list] " Philippe Wang
2009-09-03 23:19   ` Hugo Schmitt
2009-09-04  3:34 ` Erik de Castro Lopo
2009-09-04  5:52   ` David MENTRE
2009-09-04  6:21   ` Stefano Zacchiroli
2009-09-05 10:01 ` rixed
2009-09-06  9:56 ` Philip
2009-09-30 12:27 ` Rakotomandimby Mihamina

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=b364036a0909060047l6ddd2fe2k19cc38f9fa58dfda@mail.gmail.com \
    --to=gdsfh1@gmail.com \
    --cc=caml-list@yquem.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;
as well as URLs for NNTP newsgroup(s).