From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.7 required=5.0 tests=AWL,DNS_FROM_RFC_POST, HTML_MESSAGE,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 5A4F5BB84 for ; Tue, 23 Dec 2008 03:01:41 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.36,267,1228086000"; d="scan'208";a="32997989" Received: from discorde.inria.fr ([192.93.2.38]) by mail4-smtp-sop.national.inria.fr with ESMTP; 23 Dec 2008 03:01:41 +0100 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id mBN21eRq030788 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Tue, 23 Dec 2008 03:01:40 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmMBACrVT0nRVcbjkGdsb2JhbACCPjGQOz4BAQEBCQkMBxEDqi5Yg1OBBItjAQMBA4ZA X-IronPort-AV: E=Sophos;i="4.36,267,1228086000"; d="scan'208";a="21649885" Received: from rv-out-0506.google.com ([209.85.198.227]) by mail1-smtp-roc.national.inria.fr with ESMTP; 23 Dec 2008 03:01:39 +0100 Received: by rv-out-0506.google.com with SMTP id k40so4118042rvb.57 for ; Mon, 22 Dec 2008 18:01:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=CiQsHFJEMvydeaVwrwd/9YiMeA0XkIFJCGe8fqMoi3A=; b=fHTrGggB1JETcW/w9gcukiyT7YBZ+a57P1UlXY8U2Ly0DCuhRszYyfNY0APrl/eEsu CRtPXGV9Y/ZV7dWoX49fDP6ZrdANi5t0crgnLoqb72PcfC5PPlkClv/KDie3BIOx2aj1 5D8C4Ghp6rIdMvO7xG4u8vLj61mQZZuE8sRSY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=VdwZh2+4plXJ9kC9GiKNBOzpKjQQxZGSAWCeDRLFm/mgeeQo9vGfgPpgwZdHrMvdHa 5SDYF/ZSlywxSanpcKve0/5hWJ4sY7UfLsAq5QTWekGJifPzdnjFvvQGzLvKmY+BHlBQ +gJA9OuuGpQkhO9JovH71iD0Y79fEZPvl2oZg= Received: by 10.142.49.20 with SMTP id w20mr2943807wfw.171.1229997698540; Mon, 22 Dec 2008 18:01:38 -0800 (PST) Received: by 10.143.93.7 with HTTP; Mon, 22 Dec 2008 18:01:38 -0800 (PST) Message-ID: Date: Mon, 22 Dec 2008 21:01:38 -0500 From: "Ashish Agarwal" To: "Caml List" Subject: ocamlbuild + ocamldoc + external library problems MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_64003_25940277.1229997698534" X-Miltered: at discorde with ID 49504684.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocamldoc:01 ocamlfind:01 ocamldoc:01 odoc:01 mli:01 ocamlfind:01 odoc:01 mli:01 1975:98 unbound:01 unbound:01 compile:01 compile:01 executes:01 executes:01 ------=_Part_64003_25940277.1229997698534 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline How can I get ocamlbuild to include paths to external libraries when building documentation? Ocamlbuild gives me errors when building documentation, when my interface files contain references to an external library. I have set up my plugin and _tags file to correctly compile the code, but cannot get the documentation to work. The command that ocamlbuild executes is [1], which gives error [2]. Module M is declared in an external library. I get no errors if I manually type [3], where ~/mylibs contains the appropriate library. [1] ocamlfind ocamldoc -dump a.odoc a.mli [2] Unbound module M [3] ocamlfind ocamldoc -dump a.odoc -I ~/mylibs/ a.mli Thank you. ------=_Part_64003_25940277.1229997698534 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline How can I get ocamlbuild to include paths to external libraries when building documentation?

Ocamlbuild gives me errors when building documentation, when my interface files contain references to an external library. I have set up my plugin and _tags file to correctly compile the code, but cannot get the documentation to work. The command that ocamlbuild executes is [1], which gives error [2]. Module M is declared in an external library. I get no errors if I manually type [3], where ~/mylibs contains the appropriate library.

[1] ocamlfind ocamldoc -dump a.odoc a.mli
[2] Unbound module M
[3] ocamlfind ocamldoc -dump a.odoc -I ~/mylibs/ a.mli

Thank you.

------=_Part_64003_25940277.1229997698534--