batteries approaching Beta 1: now in unstable

It's been a while, but work on OCaml batteries included has continued steadily in the past months. We are now approaching the first Beta release, which is due in a few days.

In the meantime, a couple of days ago I've uploaded the Debian ocaml-batteries package to the unstable archive for the first time (it was only available from experimental thus far). It is an “almost Beta” release which you are encouraged to test both for packaging aspects and for having a feeling of what batteries will look like in its final shape.

To get started just do the following:

# aptitude install ocaml-batteries-included
$ ledit ocaml-batteries

Is there something missing?
$ ocaml-batteries 
        Objective Caml version 3.11.0

No such package: netstring
No such package: netstring - Required by `batteries_nothreads'
No such package: netstring - Required by `batteries_nothreads'
File "/usr/lib/ocaml/3.11.0/batteries/top.ml", line 54, characters 2-21:
Error: Unbound value Batteries_help.init
# exit 0;;

Comment by Anonymous Sat 04 Apr 2009 04:01:52 AM CEST
Sorry the format is all messed up!
:(
Comment by Anonymous Sat 04 Apr 2009 04:03:09 AM CEST
dependency bug: now solved

Yep, there is a missing dependency bug in the current package in unstable: the dependency to libocamlnet-ocaml-dev is not declared. It has been reported and is already fixed in Git.

As a work-around, you should just install libocamlnet-ocaml-dev, by just doing something like:

# aptitude install libocamlnet-ocaml-dev

Hope this helps.

PS I've fixed the formatting, if you choose markdown syntax, the way to have pre formatted text is to add 4 leading whitespaces to each line you want to appear as preformatted.

Comment by zack Sat 04 Apr 2009 10:09:26 AM CEST
New Batteries in Debian.
As development of Batteries has resumed recently, it would be nice to have an update on this webpage on the current status of Batteries. Indeed, this is one of the first pages that comes up when googling, and it seems that the former Batteries package is not kept up to date with newer versions of OCaml.
Comment by Guillaume Yziquel Fri 26 Feb 2010 10:19:09 AM CET
Re: New Batteries in Debian.

As development of Batteries has resumed recently, it would be nice to have an update on this webpage on the current status of Batteries.

Right, that's a fair question. The short answer is that OCaml Batteries Included "next generation" will most likely land in Debian unstable next week and in Debian testing shortly thereafter.

The long answer and rational are as follows. The 1.0 release of OCaml Batteries has some shortcoming wrt packaging (e.g. it cannot be easily build in bytecode only, which is needed on several Debian architectures, and cannot be easily installed in non standard places, needed to build the package). I've discussed with upstream and both issues are now fixed in Git master; at the same time upstream asked me not to release a Git snapshot, but to wait for a "1.1 pre release" which should be coming in the very next few days.

Thanks for the question! :-)

Comment by zack Sat 27 Feb 2010 03:37:08 PM CET