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=2.8 required=5.0 tests=DNS_FROM_RFC_POST,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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id BFB18BBAF for ; Thu, 21 May 2009 16:47:03 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkwBAMsFFUrRVdqykGdsb2JhbACXMj8BAQEBCQkMBxEDp2uBE5BTAQMBBIQFBQ X-IronPort-AV: E=Sophos;i="4.41,227,1241388000"; d="scan'208";a="28102297" Received: from mail-bw0-f178.google.com ([209.85.218.178]) by mail3-smtp-sop.national.inria.fr with ESMTP; 21 May 2009 16:47:03 +0200 Received: by bwz26 with SMTP id 26so1490538bwz.27 for ; Thu, 21 May 2009 07:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=9zqNl6eYgqLH5EYylRc/BYTeO4XzACRVv0E4lSvfE6k=; b=Lwvb+VB1lYejE0cGU9MUq2FEI51Qitc9L7Y0KluUWLDDM4fY7YViBFUSoKUH4qKvgp 8jGqxwJXoC2xNsLpwzYYb+PhpjgzOwXlbrlOTY+7IklDPS3Bzmw6xXv6FSrDENPs5MTR b9us5gLJwHWv1LGKV1CuN2KsFq2GwPuQngrA4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=sY+58+bAJWn7IjgdrRG4NDsEoXpZLwB2fszxhIbroDki04XI3KcIDIVMnDTjenD/91 ZESEcprQH3+mCKMgqGJMaTpm4WetZCSvK+aa8dPtezK4zfSTfU6bnpL3CXcT2l1HYxbk OhX5oebMKijfoVAYQ4EcU8wVEpzoMF1cKqavs= MIME-Version: 1.0 Received: by 10.223.112.202 with SMTP id x10mr1681634fap.68.1242917222136; Thu, 21 May 2009 07:47:02 -0700 (PDT) From: Malcolm Reynolds Date: Thu, 21 May 2009 15:46:42 +0100 Message-ID: Subject: Issues building batteries / installing camlzip To: caml-list@yquem.inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; camlzip:01 ocaml:01 dependencies:01 ocamlc:01 ocamlc:01 ocaml:01 ocamlopt:01 ocamlopt:01 ocamldoc:01 ocamldoc:01 ocamlfind:01 ocamlfind:01 findlib:01 camomile:01 findlib:01 Hi, apologies if this is the wrong place for this message but I'm not sure exactly which piece of software I'm having issues with here. I am trying to build Batteries on OS X 1.5.6. I am using a binary of OCaml 3.11.0, and am attempting to build and install all dependencies. My problem is that when I think I'm done, trying "./configure" in the Batteries directory gets me this: checking for ocamlc.opt... ocamlc.opt checking ocaml version... configure: 3.11.0 checking for ocamlopt.opt... ocamlopt.opt checking for ocamlbuild... ocamlbuild checking for ocamldoc.opt... ocamldoc.opt checking for ocamlfind... ocamlfind checking findlib package camomile... found checking findlib package zip... ocamlfind: Package `zip' not found configure: WARNING: not found checking findlib package camlzip... ocamlfind: Package `camlzip' not found configure: WARNING: not found configure: error: Cannot find Camlzip Clearly some problem with camlzip, but as far as I can tell that's installed fine. I edited the makefile variables from /usr/local/{include,lib}/ to /usr/{include,lib} because that matches where OS X puts those files. It seems to build with no problem, and when I do install it looks like it's copying to `ocaml -g -where`, which evaluates to /usr/local/lib/ocaml - there is a zip subdirectory here, and it contains these files: dllcamlzip.so gzip.cmx libcamlzip.a zip.cma zip.cmx zip.mli gzip.cmi gzip.mli zip.a zip.cmi zip.cmxa Does this look reasonable? I'm definitely still missing something, because as well as the batteries configure script complaining, if i do 'ocamlfind list' I get a long list of libraries that does not include zip or camlzip (all the other ones I've installed myself like binprot/camomile/sexplib etc are present). The files are clearly being installed somewhere, but some part of the system doesn't know where to find them... Does anyone have any advice on how to fix this? I wonder whether it's due to some OS X idiosyncracy, like having library files end in ".dylib" rather that ".a"... Thanks in advance, Malcolm