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 mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by sympa.inria.fr (Postfix) with ESMTPS id 636637ED26 for ; Mon, 28 May 2012 06:08:44 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AokBABz5wk/RVaG2kGdsb2JhbABFgx2yAQgiAQEBAQkJDQcUBCOCMAIkCAEbEgoCAxIQFgMTGAMCAQIBEREBBQEiDQgBAR6HWgEDCwuXJoJeCQOMK4JwhAYKGScNV4hxAQUMgjiNfgOVF4EPhECIRj2EGw X-IronPort-AV: E=Sophos;i="4.75,667,1330902000"; d="scan'208";a="160204345" Received: from mail-gg0-f182.google.com ([209.85.161.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-MD5; 28 May 2012 06:08:43 +0200 Received: by ggnm2 with SMTP id m2so2456825ggn.27 for ; Sun, 27 May 2012 21:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=RlaurE+Npk5cSAidMc3HNxYk7iNIYhkJSPJ4Ln5ZZcI=; b=LnL/RNvmpwPROmJ/9FzR+PVVFQQ9C574mToBs/s1GSJUQ4Nz5ck7VGgtbqxeM5ou77 Fc5IY7cmM7kmRTJJDRmjPSLQcdH4GZXggRjvaaR3c3ne8dYcW75vOUOAhGuDAn5xW9BV Hqyimz5h9HdXUgEo08DxZp7uEK98aA0PhZbg+IS+mNb77pE3/nSnUGv455zUt9EXeBCP OFnTzGbdzfzIxD7OEUGlt/UQdXnDh0Q6bEY+R5b/snnPYPB66atXpVnwvQ8ytiz4wwZV BRZQT8TE/F76UsKN+Mj7DUb0m9CJk60yccDjpi3lneCb6bLQSYuvsRxSJSFafzJIGUMu qkAw== Received: by 10.43.106.147 with SMTP id du19mr2905895icc.56.1338178122418; Sun, 27 May 2012 21:08:42 -0700 (PDT) Received: from [192.168.1.65] (99-121-78-10.lightspeed.lnngmi.sbcglobal.net. [99.121.78.10]) by mx.google.com with ESMTPS id b11sm9360117igq.7.2012.05.27.21.08.41 (version=SSLv3 cipher=OTHER); Sun, 27 May 2012 21:08:41 -0700 (PDT) Message-ID: <4FC2FA47.8000205@gmail.com> Date: Mon, 28 May 2012 00:08:39 -0400 From: Edgar Friendly User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: "caml-list@inria.fr" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Caml-list] odb.ml mailing list Francois Berenger has been kind enough to set up a google group for users of odb.ml[1], a simple package installer for OCaml. If you're using odb or would like some help with it, you can subscribe to the group at: http://groups.google.com/group/odb-users If you don't know what odb is, it could be compared to GODI, but is much simpler. It doesn't bootstrap itself, and assumes OCaml and findlib are already installed. It has no configuration and requires no installation, just download and run a single .ml file. It integrates with an existing ocaml install and works nicely with non-root installations of OCaml. It gets package metadata (where packages are located, dependencies, etc.) from oasis-db[2], from a local or remote package file [3] or, in the simplest case, by being given the URL (or path) to a tarball on the command line. Package files can also be used as the instructions for what to install, for example, Jane Street Core library 108.00 (and all its dependencies) can be installed using the single command[4]: ocaml odb.ml --package https://raw.github.com/thelema/odb/master/core.package If you'd like your software to be installable with Odb, the easiest way is to use oasis to generate your build system and upload your package to oasis-db. For legacy packages, OMake and autoconf/make are also supported under some assumptions[5] that usually hold. If you have any questions or comments, the best place for them is now the google group, although you can find me as thelema on #ocaml@irc.freenode.net most of the time. E. [1] https://github.com/thelema/odb [2] http://oasis.ocamlcore.org/dev/odb/ (ignore the scary alpha warnings on the site) [3] https://github.com/thelema/odb/blob/master/packages [4] Ok, not really, you have to either use --sudo or --have-perms to install in the system-wide findlib site-lib, or do one of the following two commands so that OCaml can find the c stubs: 1) echo $HOME/.odb/lib/stublibs | sudo tee -a `ocamlc -where`/ld.conf 2) export CAML_LD_LIBRARY_PATH=$HOME/.odb/lib/stublibs [5] https://github.com/thelema/odb/blob/master/guidelines.md