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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id E10D87EE4A for ; Thu, 21 Feb 2013 15:34:41 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of markus.mottl@gmail.com) identity=pra; client-ip=74.125.82.169; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="markus.mottl@gmail.com"; x-sender="markus.mottl@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of markus.mottl@gmail.com designates 74.125.82.169 as permitted sender) identity=mailfrom; client-ip=74.125.82.169; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="markus.mottl@gmail.com"; x-sender="markus.mottl@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-we0-f169.google.com) identity=helo; client-ip=74.125.82.169; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="markus.mottl@gmail.com"; x-sender="postmaster@mail-we0-f169.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlgCAIYvJlFKfVKpk2dsb2JhbABFrwSReH4IFg4BAQEBBwsLCRQEI4IfAQEFJxkBFAcSCwEDDAYFCwMKDSEhAQERAQUBChIGExKHbQEDDwyhGowygnuENgoZJwMKWYh7AQUMjCuCJDMHg0ADiGmLcYFcgR2KLIMzFimESA X-IPAS-Result: AlgCAIYvJlFKfVKpk2dsb2JhbABFrwSReH4IFg4BAQEBBwsLCRQEI4IfAQEFJxkBFAcSCwEDDAYFCwMKDSEhAQERAQUBChIGExKHbQEDDwyhGowygnuENgoZJwMKWYh7AQUMjCuCJDMHg0ADiGmLcYFcgR2KLIMzFimESA X-IronPort-AV: E=Sophos;i="4.84,709,1355094000"; d="scan'208";a="3004352" Received: from mail-we0-f169.google.com ([74.125.82.169]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 21 Feb 2013 15:34:41 +0100 Received: by mail-we0-f169.google.com with SMTP id t11so7823468wey.0 for ; Thu, 21 Feb 2013 06:34:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=Y65xOiF4toY9Lu/Av7DvQEM2GGW5PRLLV3TxPEXuxxA=; b=lSBH7F99F3elWnq+TuR5JMinO2QzhKU6/6ql/Ux0xonujR/Mwee0YKchpEJqYLJgZ9 VSyyxQpSRv0QA4kBaVpTwol9WYsFqnJqClOu2zeAHlPJTWKJSV7+utIIBn4YisN86i0a 31wvyF+HASdTr6kcE0yVppbj2zfW4NDiHuvPUXkRomytBDtSDZtfXoh+pPKuD1jLkRR7 UXcHQyDUBtEFCSVa5My3zpqP46h/iFqgVJJOZ5oxwhzi7ZjQq1LVbGS7z293lYcoWc4T wrR4pmw75xLdt8V7pUckeIFpYklYqTO21GXgs6N3cc/vdEMDlRaG/xPSyWVbhYVwfW5q zFIQ== MIME-Version: 1.0 X-Received: by 10.194.158.100 with SMTP id wt4mr41795263wjb.37.1361457280915; Thu, 21 Feb 2013 06:34:40 -0800 (PST) Received: by 10.194.18.135 with HTTP; Thu, 21 Feb 2013 06:34:40 -0800 (PST) In-Reply-To: <5126203A.9040205@gmail.com> References: <51261C28.3030108@gmail.com> <5126203A.9040205@gmail.com> Date: Thu, 21 Feb 2013 09:34:40 -0500 Message-ID: From: Markus Mottl To: Elisa Rebolini Cc: Gabriel Scherer , caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Caml-list] Ocamlbuild doc with lacaml module Hi, I've just set up a small, self-contained example "lacaml_test" in my OCaml playground repository on Bitbucket: https://bitbucket.org/mmottl/ocaml-playground Just clone the repository to your computer: hg clone ssh://hg@bitbucket.org/mmottl/ocaml-playground Then follow the instructions in the README files. Regards, Markus On Thu, Feb 21, 2013 at 8:25 AM, Elisa Rebolini wrote: > I've installed lacaml 7.0.3 by following the installation procedure > 'ocaml setup.ml -configure' > 'ocaml setup.ml -build' > 'ocaml setup.ml -install' > The path to the lacaml package is /usr/local/lib/ocaml/site-lib/lacaml > and my Makefile is > > hostname :=3D $(shell uname -n) > > # Default > LIB=3D-I,+site-lib/lacaml > > ifeq ($(hostname),clastos) > LIB=3D-I,+site-lib/lacaml > endif > > ifeq ($(hostname),bulle) > LIB=3D-I,/usr/local/lib/ocaml/3.12.1/lacaml > endif > > all: > ocamlbuild -libs bigarray,lacaml,str,unix -verbose 2 -cflags $(LI= B) > -lflags $(LIB) molexc.native > > clean: > ocamlbuild -clean > > doc: > ocamlbuild -libs bigarray,lacaml,str,unix -verbose 2 -cflags $(LI= B) > -lflags $(LIB) molexc.docdir/index.html > > thanks > -- > Elisa > > Le 21/02/2013 14:11, Gabriel Scherer a =E9crit : >> It would help to have more precise information about your setup. Could y= ou >> detail how you installed lacaml on your system, and provide a directory >> tarball for a simple project allowing to reproduce your problem (with the >> _tags file etc.)? >> >> On Thu, Feb 21, 2013 at 2:07 PM, Elisa Rebolini wr= ote: >> >> Hello list, >> I'm developping a quantum chemistry software with ocaml and use lacaml >> as a binding to the LAPACK and BLAS libraries. >> I have a warning at the compilation with ocamlbuild >> Warning: Failed to build the module Lacaml requested by ocamldep >> mid rule ocaml: ml -> cmo & cmi (%=3Dparser_epsilon ): cache hit >> but the compilation is still successful and the program works as >> expected but when I try to compile the documentation I have an error >> Error: Unbound module Lacaml >> I'm not very skilled (yet?) with caml so any help would be very much >> appreciated. >> Thanks a lot >>> >>> -- >>> Caml-list mailing list. Subscription management and archives: >>> https://sympa.inria.fr/sympa/arc/caml-list >>> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners >>> Bug reports: http://caml.inria.fr/bin/caml-bugs >>> >> > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs --=20 Markus Mottl http://www.ocaml.info markus.mottl@gmail.com