From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr 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 B39607FACD for ; Fri, 19 Sep 2014 22:22:39 +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: AiAFAEqPHFQ+cc0f/2dsb2JhbABggw1TV4MBxnqHSwGBBBYBeYQEAQEEIx04Ag8LGAICBRMDCwICCQMCAQIBRRMIAog+CawXeIUIkRUGgSyOXBaCYoFTi0SKTYcHgWGTbYNiOi8BAYJIAQEB X-IPAS-Result: AiAFAEqPHFQ+cc0f/2dsb2JhbABggw1TV4MBxnqHSwGBBBYBeYQEAQEEIx04Ag8LGAICBRMDCwICCQMCAQIBRRMIAog+CawXeIUIkRUGgSyOXBaCYoFTi0SKTYcHgWGTbYNiOi8BAYJIAQEB X-IronPort-AV: E=Sophos;i="5.04,556,1406584800"; d="scan'208";a="96710986" Received: from mx.etorok.net ([62.113.205.31]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Sep 2014 22:22:39 +0200 Received: by mx.etorok.net (OpenSMTPD) with ESMTP id b4a7dd69; for ; Fri, 19 Sep 2014 23:22:34 +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=705; bh=4fpo50m u0MQ2DITXJY6Il7fk89Q=; b=Y9qLOgpU84N9cgHTBpiwhxw7mdWVN5LfAcWeTA1 jn67m/M58is92tHNPGigw2HQBYqKYfnVmKRLIks0Kvn1QyGgdrM+3bbfk3e854Re uFety7bhFT96WYJqlG2C2s0WVZF8l/L+x/StVJaOz1W86Cf/PHXHoP6cbZw7evj5 cNdg= Received: by mx.etorok.net (OpenSMTPD) with ESMTPSA id a5534f18; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; for ; Fri, 19 Sep 2014 23:22:33 +0300 (EEST) Message-ID: <541C90C9.2080302@etorok.net> Date: Fri, 19 Sep 2014 23:23:37 +0300 From: =?UTF-8?B?VMO2csO2ayBFZHdpbg==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0 MIME-Version: 1.0 To: caml-list@inria.fr References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] Ocamlbuild, -ocamlc, and -use-ocamlfind in ocaml 4.02.0 On 09/19/2014 10:43 PM, Jerry James wrote: > ocamlfind ocp-ocamlopt.opt unix.cmxa -I /usr/lib64/ocaml/ocamlbuild > /usr/lib64/ocaml/ocamlbuild/ocamlbuildlib.cmxa -g -linkpkg > myocamlbuild.ml /usr/lib64/ocaml/ocamlbuild/ocamlbuild.cmx -o > myocamlbuild > [...] > I found PR#6300, which deals with this issue, but don't > understand what I need to do. I tried moving the -use-ocamlfind flag > to the first position on the command line, but that didn't help. How > does the ocamlbuild invocation need to be changed to avoid this > problem? Perhaps this will help: https://github.com/ocaml/opam-repository/blob/master/packages/tplib/tplib.1.3/files/fix-makefile.diff Best regards, --Edwin