caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] OCamlJava opam packages troubles
@ 2015-07-18 19:36 Kenneth Adam Miller
  2015-07-18 19:44 ` Gabriel Scherer
  0 siblings, 1 reply; 8+ messages in thread
From: Kenneth Adam Miller @ 2015-07-18 19:36 UTC (permalink / raw)
  To: caml users

[-- Attachment #1: Type: text/plain, Size: 2387 bytes --]

There are duplicate ocamlfind specific opam packages:

opam search ocamlfind
...
ocamlfind-ocj             --  A library manager for OCaml
ocj-ocamlfind             --  A library manager for OCaml



In a second note, I have to install the library base-bytes. ocamlfind
1.5.5-ocp is required by base-bytes, when a non-ocp install of ocamlfind
was working fine. ocamlfind 1.5.5-ocp blows up with the following errors:

#=== ERROR while installing ocamlfind.1.5.5+ocp1
==============================#
# opam-version 1.2.0
# os           linux
# command      make all
# path
/home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfind.1.5.5+ocp1
# compiler     ocamljava-2.0-alpha3
# exit-code    2
# env-file
/home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfind.1.5.5+ocp1/ocamlfind-12342-e7966f.env
# stdout-file
 /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfind.1.5.5+ocp1/ocamlfind-12342-e7966f.out
# stderr-file
 /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfind.1.5.5+ocp1/ocamlfind-12342-e7966f.err
### stdout ###
# ...[truncated]
#            ocaml_args.cmo frontend.cmo
# if [ "false" = "true" ]; then                 \
# cp topfind.ml.in topfind.ml;                             \
# else                                                             \
# sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in     \
# > topfind.ml ;                                   \
# fi
# ocamlc -I +compiler-libs -c topfind.mli
# ocamlc -I +compiler-libs -g -c topfind.ml
# make[1]: Leaving directory
`/home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfind.1.5.5+ocp1/src/findlib'
### stderr ###
# File "itest-aux/ppx.ml", line 1, characters 0-25:
# Error: Unbound value Toploop.preprocess_phrase
# Makefile:160: depend: No such file or directory
# File "topfind.ml", line 1:
# Error: The files
/home/kennethadammiller/.opam/ocamljava-2.0-alpha3/lib/ocaml/compiler-libs/toploop.cmi
#        and
/home/kennethadammiller/.opam/ocamljava-2.0-alpha3/lib/ocaml/compiler-libs/parsetree.cmi
#        make inconsistent assumptions over interface Warnings
# make[1]: *** [topfind.cmo] Error 2
# make: *** [all] Error 2


=-=- Error report
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following failed
 - install   ocamlfind.1.5.5+ocp1
Due to the errors, the following have been cancelled
 - install   base-bytes.base

[-- Attachment #2: Type: text/html, Size: 3650 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-07-23  1:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-18 19:36 [Caml-list] OCamlJava opam packages troubles Kenneth Adam Miller
2015-07-18 19:44 ` Gabriel Scherer
2015-07-18 20:01   ` Kenneth Adam Miller
2015-07-18 20:04     ` Kenneth Adam Miller
2015-07-18 21:41       ` Kenneth Adam Miller
2015-07-18 23:11         ` Jeremy Yallop
2015-07-21  2:16     ` Louis Gesbert
2015-07-23  1:28       ` Kenneth Adam Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).