]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/ocaml-http/INSTALL
added ocaml-http 0.0.1
[helm.git] / helm / DEVEL / ocaml-http / INSTALL
diff --git a/helm/DEVEL/ocaml-http/INSTALL b/helm/DEVEL/ocaml-http/INSTALL
new file mode 100644 (file)
index 0000000..c98cdb4
--- /dev/null
@@ -0,0 +1,37 @@
+
+In order to build ocaml-http you will need:
+
+  - the ocaml compiler (>= 3.06)
+    [ http://caml.inria.fr ]
+
+  - findlib (>= 0.8)
+    [ http://www.ocaml-programming.de/packages/documentation/findlib/ ]
+
+  - ocamlnet (>= 0.94)
+    [ http://sourceforge.net/projects/ocamlnet ]
+
+  - pcre-ocaml (>= 4.28.2)
+    [ http://www.ai.univie.ac.at/~markus/home/ocaml_sources.html ]
+
+To build the bytecode library:
+
+  $ make all
+
+To build the nativecode library (only if you have an ocaml native code
+compiler):
+
+  $ make opt
+
+To install the built stuff in the OCaml standard library directory (as root):
+
+  # make install
+
+To install the built stuff in another directory:
+
+  $ make install DESTDIR=another_directory
+
+To build a debian package of the library (please note that to build a debian
+package you will also need some additional stuff like debhelper, fakeroot, ...):
+
+  $ fakeroot debian/rules binary
+