make fails because of missing compiler-libs.common
Created by: emil-perhinschi
Hello, on Linux Mint 16 build fails with:
ocamlfind: Package `compiler-libs.common' not found
tried with both the ocaml version 3.12.1 that was packaged in Mint, and with ocaml-4.01.0 which I compiled from sources
I have installed the ocaml-compiler-libs deb but there is no compiler-libs/common.* and none was installed in /user/local/lib/ocaml/compiler-libs/ when installin from sources
I have no experience with OCaml, just trying it out
thank you, Emil
full log for ./configure and make
emilper@mobile ~/work/github/chamo $ ./configure File "checkocaml.ml", line 423, characters 18-20: Warning 3: deprecated feature: operator (or); you should use (||) instead File "checkocaml.ml", line 816, characters 27-29: Warning 3: deprecated feature: operator (or); you should use (||) instead checking for ocamlc... /usr/local/bin/ocamlc found OCaml version 4.1.0 (4.01.0) checking for ocamlfind... /usr/bin/ocamlfind checking for camlp4... /usr/local/bin/camlp4 checking for ocamlprof... /usr/local/bin/ocamlprof checking for ocamlmktop... /usr/local/bin/ocamlmktop checking for ocamlmklib... /usr/local/bin/ocamlmklib checking for ocamlyacc... /usr/local/bin/ocamlyacc checking for ocamllex... /usr/local/bin/ocamllex checking for ocamldoc... /usr/local/bin/ocamldoc checking for ocamldep... /usr/local/bin/ocamldep checking for ocamlopt... /usr/local/bin/ocamlopt checking for ocaml... /usr/local/bin/ocaml checking for ocamlc.opt... /usr/local/bin/ocamlc.opt we can use /usr/local/bin/ocamlc.opt checking for ocamlopt.opt... /usr/local/bin/ocamlopt.opt we can use /usr/local/bin/ocamlopt.opt checking for ocamldep.opt... /usr/local/bin/ocamldep.opt we can use /usr/local/bin/ocamldep.opt checking for ocamldoc.opt... /usr/local/bin/ocamldoc.opt we can use /usr/local/bin/ocamldoc.opt checking for ocamllex.opt... /usr/local/bin/ocamllex.opt we can use /usr/local/bin/ocamllex.opt Objective-Caml version 4.1.0 (4.01.0) interpreter: /usr/local/bin/ocaml bytecode compiler: /usr/local/bin/ocamlc.opt native code compiler: /usr/local/bin/ocamlopt.opt documentation generator(s): /usr/local/bin/ocamldoc, /usr/local/bin/ocamldoc.opt lexer generator: /usr/local/bin/ocamllex.opt parser generator: /usr/local/bin/ocamlyacc dependencies generator: /usr/local/bin/ocamldep.opt library builder: /usr/local/bin/ocamlmklib toplevel builder: /usr/local/bin/ocamlmktop profiler: /usr/local/bin/ocamlprof camlp4: /usr/local/bin/camlp4 ocamlfind: /usr/bin/ocamlfind
checking required tools and libraries
checking for config-file... ok checking for pcre... ok checking for lablgtk2... ok checking for lablgtk2.glade... ok checking for lablgtk2-extras.configwin... ok checking for lablgladecc2... /usr/local/bin/lablgladecc2
Debug level is set to 0 checking for iconv... /usr/bin/iconv 1168 charsets available in editor configure: creating ./config.status config.status: creating master.Makefile config.status: creating META config.status: creating src/ed_installation.ml
config.status: creating src/ed_config.ml
The following packages will be installed with findlib:
chamo
Glade file will be installed in /usr/local/share/glade
Pixmaps file will be installed in /usr/local/share/pixmaps
emilper@mobile ~/work/github/chamo $ make
cd src && make all
make[1]: Entering directory /home/emilper/work/github/chamo/src' /usr/bin/ocamlfind ocamlc -package str,threads.posix,compiler-libs.common,pcre,config-file,xmlm,lablgtk2.glade,lablgtk2-extras.configwin,lablgtk2.auto-init -predicates mt -I +ocamldoc -annot -thread -c ed_extern.mli ocamlfind: Package
compiler-libs.common' not found
make[1]: *** [ed_extern.cmi] Error 2
make[1]: Leaving directory `/home/emilper/work/github/chamo/src'
make: *** [src] Error 2