From mboxrd@z Thu Jan 1 00:00:00 1970 X-Sympa-To: caml-list@inria.fr 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 q0D8uCVN013728 for ; Fri, 13 Jan 2012 09:56:12 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0DAMrwD0/RVdy2mGdsb2JhbABCFpxKggOGHgGICAgiAQEBAQEICQ0HFCWBcgEBAQMBEgIsARsSCwEDAQsGBQsaISIBEQEFAQoSBhMSEIdYCJo9Cotqgm+ERj+IcQIFC4NyiCAEgluSM44FPYJMgS8 X-IronPort-AV: E=Sophos;i="4.71,503,1320620400"; d="scan'208";a="126726810" Received: from mail-vx0-f182.google.com ([209.85.220.182]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 13 Jan 2012 09:56:11 +0100 Received: by mail-vx0-f182.google.com with SMTP id fo14so329502vcb.27 for ; Fri, 13 Jan 2012 00:56:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6oln/a72EugHfM4QdXl5R7fv/FQ7jFAhD1MNLe19D4o=; b=yDBNJlFf4iZwNUcFUy7ZyqCO+Tie9X4WerSKG7zJ9YuUGZW8SFZbVSpXF3yM1TEErv bLLzgigh4Bz31EVPfxRqbituPv82xzyrgVBkPShmNIglA+/OMDeTI5dkDzKHEP8+0mBw O2LlKwQYgswidibe4cIwcyWigficqEZs9VGqw= Received: by 10.220.152.78 with SMTP id f14mr780209vcw.30.1326444970265; Fri, 13 Jan 2012 00:56:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.240.130 with HTTP; Fri, 13 Jan 2012 00:55:49 -0800 (PST) In-Reply-To: References: From: Philippe Veber Date: Fri, 13 Jan 2012 09:55:49 +0100 Message-ID: To: "Hezekiah M. Carty" Cc: OCaml Content-Type: multipart/alternative; boundary=f46d043c7b00444c9704b6650973 X-Validation-by: philippe.veber@gmail.com Subject: Re: [Caml-list] [ANN] ocamlbrew --f46d043c7b00444c9704b6650973 Content-Type: text/plain; charset=ISO-8859-1 Hi Hezekiah I gave it a shot after a new install of debian wheezy, and it went really smoothly. The install was not exactly fresh, as I had installed ocaml packages first (old reflex), but anyway I found two deps that blocked the installation : one on libev-dev (for lwt/utop I suppose) and libpcre3-dev (for oasis?). As it's only two, maybe it'd be worth to add them on the README.md. ocamlbrew, combined with odb for installing libraries is obviously a nice combo (at least for unix users) and seems less complex than GODI. However I believe both tools adopt rather different strategies regarding maintenance. GODI is good at updating packages to new versions, but up till now I am not sure ocamlbrew/odb can do the same. It seems that with the latter, you'd preferably start a new install from scratch rather than trying to find what's to be updated and effectively update it. Did I miss something? Anyway, thanks for this work, which was useful to me. Philippe. 2012/1/8 Hezekiah M. Carty > I would like to announce ocamlbrew, a (very simple, very alpha) tool > for automating and managing builds of OCaml, findlib, and other > OCaml-related items under $HOME on Linux. ocamlbrew takes it name and > a bit of wrapper code from perlbrew[1]. ocamlbrew provides a thin > bash wrapper around the standard OCaml + findlib build procedure, > taking advantage of odb[2] for further library and tool installations. > > ocamlbrew currently lives on github: > https://github.com/hcarty/ocamlbrew > > With one command[3] ocamlbrew can build OCaml, findlib, oasis, utop, > Batteries, and ocamlscript from source, plus get an easily source-able > file to set up your environment. Everything will be built and > installed under $HOME/ocamlbrew by default. > > ocamlbrew can also be used to build OCaml from any branch on the > official Subversion server. At this time I recommend using the "-f" > ocamlbrew flag with builds coming from Subversion due to some > incompatibilities between OCaml development versions and oasis. The > -f flag tells ocamlbrew to only install OCaml, findlib, and odb.ml, > skipping other tools and libraries. This will hopefully provide a > simple way to test and provide feedback to the core OCaml development > team when new releases or experimental branches are ready for testing. > > For more information, including ocamlbrew's requirements, see the > README.md file at the link above. > > Enjoy! Many thanks to Edgar/thelema and Adrien/adrien for taking the > time to test ocamlbrew and provide feedback as I was playing around > with the process. > > Hez > > [1] - http://search.cpan.org/~gugod/App-perlbrew/bin/perlbrew > [2] - https://github.com/thelema/odb > [3] - Well, one command and the availability of all non-OCaml build > prerequisites... > > -- > 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 > > --f46d043c7b00444c9704b6650973 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Hezekiah

I gave it a shot after a new install of debian wheezy, = and it went really smoothly. The install was not exactly fresh, as I had in= stalled ocaml packages first (old reflex), but anyway I found two deps that= blocked the installation : one on libev-dev (for lwt/utop I suppose) and l= ibpcre3-dev (for oasis?). As it's only two, maybe it'd be worth to = add them on the README.md.

ocamlbrew, combined with odb for installing libraries is obviously a ni= ce combo (at least for unix users) and seems less complex than GODI. Howeve= r I believe both tools adopt rather different strategies regarding maintena= nce. GODI is good at updating packages to new versions, but up till now I a= m not sure ocamlbrew/odb can do the same. It seems that with the latter, yo= u'd preferably start a new install from scratch rather than trying to f= ind what's to be updated and effectively update it. Did I miss somethin= g?

Anyway, thanks for this work, which was useful to me.
Philippe.
<= br>
2012/1/8 Hezekiah M. Carty = <hez@0ok.org>
I would like to announce ocamlbrew, a (very simple, very alpha) tool
for automating and managing builds of OCaml, findlib, and other
OCaml-related items under $HOME on Linux. =A0ocamlbrew takes it name and
a bit of wrapper code from perlbrew[1]. =A0ocamlbrew provides a thin
bash wrapper around the standard OCaml + findlib build procedure,
taking advantage of odb[2] for further library and tool installations.

ocamlbrew currently lives on github:
https://g= ithub.com/hcarty/ocamlbrew

With one command[3] ocamlbrew can build OCaml, findlib, oasis, utop,
Batteries, and ocamlscript from source, plus get an easily source-able
file to set up your environment. =A0Everything will be built and
installed under $HOME/ocamlbrew by default.

ocamlbrew can also be used to build OCaml from any branch on the
official Subversion server. =A0At this time I recommend using the "-f&= quot;
ocamlbrew flag with builds coming from Subversion due to some
incompatibilities between OCaml development versions and oasis. =A0The
-f flag tells ocamlbrew to only install OCaml, findlib, and odb.ml,
skipping other tools and libraries. =A0This will hopefully provide a
simple way to test and provide feedback to the core OCaml development
team when new releases or experimental branches are ready for testing.

For more information, including ocamlbrew's requirements, see the
README.md file at the link above.

Enjoy! =A0Many thanks to Edgar/thelema and Adrien/adrien for taking the
time to test ocamlbrew and provide feedback as I was playing around
with the process.

Hez

[1] - http://search.cpan.org/~gugod/App-perlbrew/bin/perlbrew<= /a>
[2] -
https://= github.com/thelema/odb
[3] - Well, one command and the availability of all non-OCaml build
prerequisites...

--
Caml-list mailing list. =A0Subscription 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


--f46d043c7b00444c9704b6650973--