root@rpi0:~# which ocamlfind /opt/ocaml//ocaml-4.00.0//bin/ocamlfind root@rpi0:~# odb.ml batteries Installing batteries Deps for batteries satisfied % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 642k 100 642k 0 0 490k 0 0:00:01 0:00:01 --:--:-- 517k package downloaded to /tmp/install-batteries/batteries-1.5.0 I: Running command '/opt/ocaml//ocaml-4.00.0//bin/ocamlc.opt -config > '/tmp/oasis-cd9684.txt'' I: Running command '/opt/ocaml//ocaml-4.00.0//bin/ocamlfind query -format %v findlib > '/tmp/oasis-a3fd64.txt'' I: Running command '/opt/ocaml//ocaml-4.00.0//bin/ocamlfind query -format %d camomile > '/tmp/oasis-7e3778.txt'' I: Running command '/opt/ocaml//ocaml-4.00.0//bin/ocamlfind query -format %v camomile > '/tmp/oasis-48db5d.txt'' I: Running command '/opt/ocaml//ocaml-4.00.0//bin/ocamlfind query -format %d camomile > '/tmp/oasis-4c3b98.txt'' I: Running command '/opt/ocaml//ocaml-4.00.0//bin/ocamlfind query -format %v camomile > '/tmp/oasis-e1d792.txt'' Configuration: pkg_camomile: .................................. /opt/ocaml/ocaml-4.00.0/lib/site-lib/camomile make: .......................................... /usr/bin/make Compile with ocaml profile flag on.: ........... false Compile with ocaml debug flag on.: ............. true Remove a directory.: ........................... rm -rf Remove a file.: ................................ rm -f suffix_program: ................................ is_native: ..................................... true findlib_version: ............................... 1.3.3 PS documentation: .............................. $docdir PDF documentation: ............................. $docdir DVI documentation: ............................. $docdir HTML documentation: ............................ $docdir Documentation root: ............................ $datarootdir/doc/$pkg_name Man documentation: ............................. $datarootdir/man Locale-dependent data: ......................... $datarootdir/locale Info documentation: ............................ $datarootdir/info Read-only architecture-independent data: ....... $datarootdir Read-only arch-independent data root: .......... $prefix/share Object code libraries: ......................... $exec_prefix/lib Modifiable single-machine data: ................ $prefix/var Modifiable architecture-independent data: ...... $prefix/com Read-only single-machine data: ................. $prefix/etc Program executables: ........................... $exec_prefix/libexec System admin executables: ...................... $exec_prefix/sbin User executables: .............................. $exec_prefix/bin Install architecture-dependent files in dir: ... $prefix Install architecture-independent files dir: .... /usr/local systhread_supported: ........................... true default_executable_name: ....................... a.out ext_dll: ....................................... .so ext_lib: ....................................... .a ext_asm: ....................................... .s ext_obj: ....................................... .o model: ......................................... armv6 native_c_compiler: ............................. gcc -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT bytecomp_c_compiler: ........................... gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC standard_runtime: .............................. /opt/ocaml/ocaml-4.00.0/bin/ocamlrun standard_library: .............................. /opt/ocaml/ocaml-4.00.0/lib/ocaml standard_library_default: ...................... /opt/ocaml/ocaml-4.00.0/lib/ocaml ocaml_version: ................................. 4.00.0 ccomp_type: .................................... cc architecture: .................................. arm system: ........................................ linux_eabi os_type: ....................................... Unix Package version: ............................... 1.4.0pre2 Package name: .................................. batteries ocamlbuild: .................................... /opt/ocaml//ocaml-4.00.0//bin/ocamlbuild ocamlopt: ...................................... /opt/ocaml//ocaml-4.00.0//bin/ocamlopt.opt ocamlc: ........................................ /opt/ocaml//ocaml-4.00.0//bin/ocamlc.opt ocamlfind: ..................................... /opt/ocaml//ocaml-4.00.0//bin/ocamlfind I: Running command '/usr/bin/make all' cp -f src/batCamomile-0.8.1.ml src/batCamomile.ml Build mode: shared ocamlbuild -no-links syntax.otarget byte.otarget src/batteries_help.cmo META shared.otarget Finished, 1 target (0 cached) in 00:00:03. + ocamlfind ocamlc -c -g -annot -warn-error A -package camomile,num,str -package camlp4.lib -pp camlp4of -I +compiler-libs -pp camlp4of -I libs/estring -I testsuite -I benchsuite -I libs -I src -I qtest -I build -I src/syntax/pa_comprehension -I src/syntax/pa_strings -o libs/estring/pa_estring_top.cmo libs/estring/pa_estring_top.ml findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /opt/ocaml/ocaml-4.00.0/lib/ocaml/compiler-libs, /opt/ocaml/ocaml-4.00.0/lib/ocaml + ocamlfind ocamlc -c -g -warn-error A -package camomile,num,str -I +compiler-libs -I src -I testsuite -I benchsuite -I libs -I qtest -I build -I libs/estring -I src/syntax/pa_comprehension -I src/syntax/pa_strings -o src/batteries_help.cmi src/batteries_help.mli findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /opt/ocaml/ocaml-4.00.0/lib/ocaml/compiler-libs, /opt/ocaml/ocaml-4.00.0/lib/ocaml + ocamlfind ocamlc -c -g -annot -warn-error A -package camomile,num,str -I +compiler-libs -I src -I testsuite -I benchsuite -I libs -I qtest -I build -I libs/estring -I src/syntax/pa_comprehension -I src/syntax/pa_strings -o src/batteries_help.cmo src/batteries_help.ml findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /opt/ocaml/ocaml-4.00.0/lib/ocaml/compiler-libs, /opt/ocaml/ocaml-4.00.0/lib/ocaml Finished, 497 targets (0 cached) in 00:08:07. W: Cannot find an existing alternative files among: libs/estring//estring.cma W: Cannot find an existing alternative files among: libs/estring//estring.cmxa W: Cannot find an existing alternative files among: libs/estring//estring.a W: Cannot find an existing alternative files among: src//batteries.cma W: Cannot find an existing alternative files among: src//batteries.cmxa W: Cannot find an existing alternative files among: src//batteries.a I: Running command '/usr/bin/make install' sh: ocamlfind: not found sh: ocamlfind: not found sh: ocamlfind: not found sh: ocamlfind: not found sh: ocamlfind: not found sh: ocamlfind: not found echo "Unknown build of camomile detected ( ), cannot auto-config batcamomile." Unknown build of camomile detected ( ), cannot auto-config batcamomile. echo "If your camomile is more recent than 0.8.3, you can probably do" If your camomile is more recent than 0.8.3, you can probably do echo " cp src/batCamomile-0.8.2.ml src/batCamomile.ml" cp src/batCamomile-0.8.2.ml src/batCamomile.ml echo "and everything will work fine." and everything will work fine. exit 1 make: *** [camfailunk] Error 1 E: Command '/usr/bin/make install' terminated with error code 2 Exception: Failure "Could not install package batteries".