Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Helmut Brandl <helmut.brandl@gmx.net>
To: caml-list@inria.fr
Subject: [Caml-list] Errors in installing 'lwt'
Date: Mon, 20 Oct 2014 08:59:26 -0500	[thread overview]
Message-ID: <5445153E.7010203@gmx.net> (raw)

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

             reply	other threads:[~2014-10-20 13:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-20 13:59 Helmut Brandl [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5445153E.7010203@gmx.net \
    --to=helmut.brandl@gmx.net \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox