My favorites | Sign in
Project Logo
                
Search
for
Updated May 09, 2008 by lcoquelle
OcamerlIntro  
Erlang node written in Ocaml, kind of ml_interface.

Introduction

Ocamerl is an attempt to implement an Erlang node completely in Ocaml:

Build

Use a standard Makefile to run ocamlbuild.

Require:

Known to run on:

  • GNU/Linux Ubuntu 7.10, 8.04

Examples


Comment by nor...@alum.mit.edu, Jan 25, 2009

I tried to build this example with the following (latest) software packages. Do you have any suggestions on how to correct this compilation error?

ocaml-3.11.0 findlib-1.2.3 ounit-1.0.3

[localhost 1] ocamerl > svn info
Path: .
URL: http://erlocaml.googlecode.com/svn/trunk/lib/ocamerl
Repository Root: http://erlocaml.googlecode.com/svn
Repository UUID: b4b40c7b-e933-0410-96e4-4b8b98d1e50a
Revision: 51
Node Kind: directory
Schedule: normal
Last Changed Author: lcoquelle
Last Changed Rev: 51
Last Changed Date: 2008-05-20 20:27:36 +0900 (Tue, 20 May 2008)

[11:35 0.50]
[localhost 2] ocamerl > make
mkdir -p beam
erlc +debug_info -DEUNIT -Wall -o beam ex/ex_wc.erl

ocamlbuild -classic-display ocamerl.cma ocamerl.cmxa ocamerl/ocamerl.docdir/index.html ex/ex_epmc.byte ex/ex_node_double.byte ex/ex_node_mult.byte ex/ex_node_wc.byte
/usr/local/stow/ocaml-HEAD/bin/ocamlopt.opt -I /usr/local/stow/ocaml-HEAD/lib/ocaml/ocamlbuild unix.cmxa /usr/local/stow/ocaml-HEAD/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/local/stow/ocaml-HEAD/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
ocamlfind ocamldep -package threads -pp camlp4o -modules ocamerl/econn.ml > ocamerl/econn.ml.depends
+ ocamlfind ocamldep -package threads -pp camlp4o -modules ocamerl/econn.ml > ocamerl/econn.ml.depends
File "ocamerl/econn.ml", line 36, characters 43-44:
Parse error: [stream_patt_comp_err_list] expected after ";" (in [stream_patt])
Preprocessing error on file ocamerl/econn.ml
Command exited with code 2.
make: *** [main_build] Error 10
[11:35 0.46]
[localhost 3] ocamerl > 
[11:35 0.46]
[localhost 3] ocamerl > exit
exit

Script done on Mon 26 Jan 2009 11:35:25 AM JST

Sign in to add a comment
Hosted by Google Code