You can clone with
On Arch LInux, I have installed:
I copied the ocamlinit file to ~/.ocamlinit and I have the following error when starting ocaml
[13:01]hurbina@tito ocaml-tutorial $ ocaml
Objective Caml version 3.13.0+dev3 (2011-03-07)
Cannot find file topfind.
File "/home/hurbina/.ocamlinit", line 7, characters 52-77:
Error: Unbound module Findlib
How can i fix it?
Perhaps you should use the batteries mailing list for general installation questions. It's the "batteries-discuss" list on the forge page.
(Regarding your issue : it means that findlib wasn't properly installed; topfind is not related to Batteries, it's a component of findlib / ocamlfind.)
Your ocaml-findlib package should have installed a /usr/lib/ocaml/topfind file. As it seems to have not done so, you should either install findlib from source or complain to whoever packaged it to fix this.