Package Details: ocaml-batteries 2.5.0-1

Git Clone URL: (read-only)
Package Base: ocaml-batteries
Description: A comprehensive standard library for OCaml
Upstream URL:
Licenses: LGPL
Submitter: None
Maintainer: LeonidasXIV
Last Packager: LeonidasXIV
Votes: 14
Popularity: 0.000000
First Submitted: 2008-11-16 11:42
Last Updated: 2016-10-20 19:28

Dependencies (4)

Required by (3)

Sources (1)

Latest Comments

LeonidasXIV commented on 2016-10-20 19:29

Thanks Darksonn, I've updated the whole package to 2.5.0 which has some fixes for OCaml 4.03.

Darksonn commented on 2016-10-20 18:37

With the release of OCaml 4.03, the ocamlbuild executable has been split from the ocaml package, and the package "ocamlbuild" must be added to the dependencies for this to build.

The split has been mentioned in the release notes here:

LeonidasXIV commented on 2015-09-27 17:47

What is the error message on ARM? I currently don't have an ARM box to test.

orbifx commented on 2015-09-26 17:25

Any chance we can get this working for ARM? I'm willing to help.

LeonidasXIV commented on 2014-01-04 21:36

Thanks sitquietly, I updated the PKGBUILD with your suggestions.

sitquietly commented on 2014-01-04 21:22

With ocaml 4.01 you will need the batteries-2.1-ocaml-4.01.patch available here: and add to the PKGBUILD:

prepare() {
cd "batteries-$pkgver"
patch -Np1 -i ../batteries-2.1-ocaml-4.01.patch


npouillard commented on 2011-08-11 05:41

ocaml-batteries 1.4.0-1 uploaded, enjoy.

SerP commented on 2011-08-10 21:16


Anonymous comment on 2010-09-30 02:34

Hi ouroboros

This issue is the result of the following bug that was introduced in ocaml 3.12:

The 2 build issues which currently affect this package are resolved by the following 2 commits to the batteries git repo.

There should be a new release of batteries soonish with these fixes included.

Anonymous comment on 2010-09-28 16:15


I can’t build the package. My build output looks like this (I hope it’s ok to just paste it here):

==> Starting build()...
test ! -e src/ || rm src/
ocamlbuild syntax.otarget byte.otarget src/batteries_help.cmo META shared.otarget
Finished, 1 target (0 cached) in 00:00:00.
+ ocamlfind ocamldep -package camomile,num,str -package camlp4.lib -pp camlp4of -pp camlp4of -modules src/syntax/pa_strings/ > src/syntax/pa_strings/
File "src/syntax/pa_strings/", line 249, characters 19-22:
While expanding quotation "ctyp" in a position of "patt":
Parse error: EOI expected after [quotation of type] (in [quotation of type])

Preprocessing error on file src/syntax/pa_strings/
Command exited with code 2.
Compilation unsuccessful after building 9 targets (0 cached) in 00:00:01.
make: *** [all] Error 10
error: Build faile

So far, I haven’t been able to find anything related to this using Google, so some help would be appreciated.