caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] odb.ml mailing list
@ 2012-05-28  4:08 Edgar Friendly
  2012-05-28 10:21 ` Daniel Bünzli
  0 siblings, 1 reply; 2+ messages in thread
From: Edgar Friendly @ 2012-05-28  4:08 UTC (permalink / raw)
  To: caml-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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] odb.ml mailing list
  2012-05-28  4:08 [Caml-list] odb.ml mailing list Edgar Friendly
@ 2012-05-28 10:21 ` Daniel Bünzli
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Bünzli @ 2012-05-28 10:21 UTC (permalink / raw)
  To: Edgar Friendly; +Cc: caml-list



Le lundi, 28 mai 2012 à 06:08, Edgar Friendly a écrit :

> 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.
>  


One should however note that unfortunately if you use the oasis installed by odb itself you won't be able to upload your packages to oasis-db because of version mismatch (that's the reason why this file [1] exists for now, and will continue to exist in the future).

Best,

Daniel
  
[1] http://erratique.ch/software/odb-packages.txt


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-28 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-28  4:08 [Caml-list] odb.ml mailing list Edgar Friendly
2012-05-28 10:21 ` Daniel Bünzli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).