Building from sources

It is possible to build and run Ramen from a Linux or a MacOS machine.

First, you need to get the sources:

$ git clone https://github.com/rixed/ramen.git
$ cd ramen

Ramen is implemented in OCaml and C so you need recent compilers for those languages. You also need GNU make.

To install the few libraries Ramen depends on, the easiest option is probably to use the opam package manager. With it, you could merely:

$ opam repo add --priority=1 ramen git://github.com/rixed/ocalme-opam-repository.git
$ opam pin --no-action add ramen $PWD
$ opam install --deps-only ramen

You can then compile "by hand" running:

$ ./configure
$ make
$ make install

or let opam do it:

$ opam install ramen

Then if you modify the source code and want to reinstall you have to either make reinstall or opam upgrade ramen, depending on the method you have chosen to install ramen.

The result of the compilation should be a single executable file named ramen and a directory named bundle containing all the libraries that are needed at runtime to compile and run the data stream workers. This directory can be copied anywhere as long as ramen can find it using the RAMEN_LIBS environment variable.

For archival in ORC format you will need to install independently the master branch of liborc.