caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Errors in installing 'lwt'
@ 2014-10-20 13:59 Helmut Brandl
  2014-10-20 14:14 ` Török Edwin
       [not found] ` <544518F1.4050907@inria.fr>
  0 siblings, 2 replies; 19+ messages in thread
From: Helmut Brandl @ 2014-10-20 13:59 UTC (permalink / raw)
  To: caml-list

Hello,

I am trying to install 'js_of_ocaml' with 'opam' and run into some 
problems. It seems that the ocaml compile cannot compile the 'lwt' package.

$opam list
Installed packages for system:
base-unix           base  Unix library distributed with the OCaml compiler
camlp4     4.02.0+system  Camlp4 is a system for writing extensible 
parsers for programming languages
cmdliner           0.9.5  Declarative definition of command line 
interfaces for OCaml
menhir          20140422  LR(1) parser generator
ocamlfind          1.5.3  A library manager for OCaml
ppx_tools         0.99.1  Tools for authors of ppx rewriters and other 
syntactic tools

opam install js_of_ocaml
The following actions will be performed:
  - install lwt.2.4.6 [required by js_of_ocaml]
  - install js_of_ocaml.2.5
2 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove
Do you want to continue ? [Y/n]

=-=-= Installing lwt.2.4.6 =-=-=
Building lwt.2.4.6:
   ./configure --prefix /home/helmut/.opam/system --disable-libev 
--disable-react --disable-ssl --enable-unix --enable-extra 
--disable-preemptive --disable-glib --enable-ppx
   make build
   make install
[ERROR] The compilation of lwt.2.4.6 failed.
Removing lwt.2.4.6.
   ocamlfind remove lwt

[ERROR] Due to some errors while processing lwt.2.4.6, the following 
actions will NOT proceed:
  - install js_of_ocaml.2.5

===== ERROR while installing lwt.2.4.6 =====
# opam-version 1.1.1
# os           linux
# command      ./configure --prefix /home/helmut/.opam/system 
--disable-libev --disable-react --disable-ssl --enable-unix 
--enable-extra --disable-preemptive --disable-glib --enable-ppx
# path         /home/helmut/.opam/system/build/lwt.2.4.6
# compiler     system (4.02.0)
# exit-code    1
# env-file /home/helmut/.opam/system/build/lwt.2.4.6/lwt-25223-ffb3fd.env
# stdout-file /home/helmut/.opam/system/build/lwt.2.4.6/lwt-25223-ffb3fd.out
# stderr-file /home/helmut/.opam/system/build/lwt.2.4.6/lwt-25223-ffb3fd.err
### stderr ###
# ...[truncated]
# W: Failure("Command ''/home/helmut/.opam/system/bin/ocamlfind' query 
-format %d camlp4 > '/tmp/oasis-c39eab.txt'' terminated with error code 2")
# ocamlfind: Package `camlp4' not found
# W: Failure("Command ''/home/helmut/.opam/system/bin/ocamlfind' query 
-format %d camlp4 > '/tmp/oasis-5e24a6.txt'' terminated with error code 2")
# ocamlfind: Package `camlp4.quotations.o' not found
# W: Failure("Command ''/home/helmut/.opam/system/bin/ocamlfind' query 
-format %d camlp4.quotations.o > '/tmp/oasis-f94904.txt'' terminated 
with error code 2")
# E: Cannot find buildable internal library 'lwt-preemptive' when 
checking build depends
# E: Cannot find findlib package camlp4
# E: Cannot find findlib package camlp4.extend
# E: Cannot find findlib package camlp4.quotations.o
# E: Failure("4 configuration errors")

'opam install js_of_ocaml' failed.


Can anybody help (or if this list is not the right location to ask can 
you redirect me)?

Thanks in advance
Helmut

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

end of thread, other threads:[~2014-10-21 21:25 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-20 13:59 [Caml-list] Errors in installing 'lwt' Helmut Brandl
2014-10-20 14:14 ` Török Edwin
2014-10-20 15:06   ` helmut.brandl
2014-10-20 16:21     ` Török Edwin
2014-10-20 16:37       ` Helmut Brandl
2014-10-20 17:59         ` Török Edwin
2014-10-21  8:18           ` Nicolas Boulay
     [not found]             ` <54461AFF.9010407@inria.fr>
2014-10-21 20:55               ` Nicolas Boulay
2014-10-21 21:25                 ` Török Edwin
     [not found] ` <544518F1.4050907@inria.fr>
     [not found]   ` <544519B6.6050007@gmx.net>
     [not found]     ` <54451A2A.6010300@inria.fr>
2014-10-20 14:44       ` Helmut Brandl
2014-10-20 14:50         ` John Whitington
2014-10-20 14:56           ` Helmut Brandl
2014-10-20 15:03             ` Helmut Brandl
2014-10-20 15:08             ` Francois Berenger
2014-10-20 15:19               ` Helmut Brandl
2014-10-20 15:25                 ` Francois Berenger
2014-10-20 16:24                   ` Helmut Brandl
2014-10-20 16:50                     ` Marek Kubica
2014-10-20 15:30                 ` Daniel Bünzli

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).