From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 657F77F02D for ; Mon, 20 Oct 2014 16:14:46 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of edwin+ml-ocaml@etorok.net) identity=pra; client-ip=62.113.205.31; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="edwin+ml-ocaml@etorok.net"; x-sender="edwin+ml-ocaml@etorok.net"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of edwin+ml-ocaml@etorok.net designates 62.113.205.31 as permitted sender) identity=mailfrom; client-ip=62.113.205.31; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="edwin+ml-ocaml@etorok.net"; x-sender="edwin+ml-ocaml@etorok.net"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of postmaster@mx.etorok.net designates 62.113.205.31 as permitted sender) identity=helo; client-ip=62.113.205.31; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="edwin+ml-ocaml@etorok.net"; x-sender="postmaster@mx.etorok.net"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAI8XRVQ+cc0f/2dsb2JhbABcgw6EMdB0AoERFgF9hAMBAQQjHTgCDwsYAgIFEwMLAgIJAwIBAgFFEwgCiD+vVXiFCI9BBoEsjywWgmGBVIthkX2WIoFHgjM6L4JLAQEB X-IPAS-Result: AgUFAI8XRVQ+cc0f/2dsb2JhbABcgw6EMdB0AoERFgF9hAMBAQQjHTgCDwsYAgIFEwMLAgIJAwIBAgFFEwgCiD+vVXiFCI9BBoEsjywWgmGBVIthkX2WIoFHgjM6L4JLAQEB X-IronPort-AV: E=Sophos;i="5.04,756,1406584800"; d="scan'208";a="102058684" Received: from mx.etorok.net ([62.113.205.31]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Oct 2014 16:14:45 +0200 Received: by mx.etorok.net (OpenSMTPD) with ESMTP id b9d19e51; for ; Mon, 20 Oct 2014 17:14:42 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=etorok.net; h= message-id:date:from:mime-version:to:references:in-reply-to :content-type:content-transfer-encoding; s=ml; l=1577; bh=S9tkYc DF3EvYv7EWZEIC3EPfFTU=; b=ruPewvN1g2SK1bMHs7u81sPIE/Slf31kmFBKP/ M2yvzl6O1uJgjLiV2i2/wd22mtTVj9zEwb14xpHpnU/H/3SUye1/RZa0F02x4Zjq eyvBF1xzGUfYISKZ3SQ3UBK+ShIdUN3uprPkXfYILS3Rj9ofXfD+3q8tiarF8czD 5uhE0= Received: by mx.etorok.net (OpenSMTPD) with ESMTPSA id 384eee13; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; for ; Mon, 20 Oct 2014 17:14:40 +0300 (EEST) Message-ID: <544518CF.3010303@etorok.net> Date: Mon, 20 Oct 2014 17:14:39 +0300 From: =?UTF-8?B?VMO2csO2ayBFZHdpbg==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.1.2 MIME-Version: 1.0 To: caml-list@inria.fr References: <5445153E.7010203@gmx.net> In-Reply-To: <5445153E.7010203@gmx.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] Errors in installing 'lwt' On 10/20/2014 04:59 PM, Helmut Brandl wrote: > 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 Which Linux distribution are you using, and where did you get the packages from? Do you have both the camlp4 executable and the camlp4 libraries installed (in case they are in separate packages)? > # 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 What is the output of: ocamlfind list|grep camlp4 Did you install ocamlfind before or after you installed camlp4? Best regards, --Edwin