X-Git-Url: http://git.annexia.org/?p=virt-top.git;a=blobdiff_plain;f=README;h=3bcaa7ec8e75de9a76a9a667de81d3086e413451;hp=1737c479dc336f8a8a9b09a385753dcca04d277a;hb=04c20013c295eb1aa5e65936cc1b71d1fd59a756;hpb=0e09861c06a0c274bcfdacceaee347f8aaa969cb diff --git a/README b/README old mode 100644 new mode 100755 index 1737c47..3bcaa7e --- a/README +++ b/README @@ -2,7 +2,7 @@ ocaml-libvirt ---------------------------------------------------------------------- Copyright (C) 2007 Richard W.M. Jones, Red Hat Inc. -http://et.redhat.com/~rjones/ocaml-libvirt/ +http://libvirt.org/ocaml/ http://libvirt.org/ This is a complete set of OCaml bindings around libvirt, exposing all @@ -12,14 +12,16 @@ known functionality to OCaml programs. Requirements ---------------------------------------------------------------------- -To build the bindings and mlvirsh (required): +To build the bindings, examples, and mlvirsh (required): GNU make, gcc libvirt >= 0.2.1 (from http://libvirt.org/, get the latest version if you can) ocaml >= 3.08 (from http://caml.inria.fr/) + +Optional, but highly recommended: + findlib (from http://www.ocaml-programming.de/packages/) - Extlib (from http://ocaml-lib.sourceforge.net/) To build the OCaml interface documentation (optional): @@ -28,11 +30,14 @@ To build the OCaml interface documentation (optional): To build virt-top (optional): ocaml-curses (from http://www.nongnu.org/ocaml-tmk/) + Extlib (from http://ocaml-lib.sourceforge.net/) xml-light (from http://tech.motion-twin.com/doc/xml-light/) ocaml CSV library (from http://merjis.com/developers/csv) + ocaml-calendar (http://www.lri.fr/~signoles/prog.en.html) - [Only ocaml-curses is required for building virt-top. The other - packages are not required, but you will get reduced functionality]. + [Only ocaml-curses and Extlib are required for building virt-top. + The other packages are not required, but you will get reduced + functionality]. To build mlvirtmanager (optional): @@ -43,6 +48,10 @@ To build the manpages (optional): perldoc (part of Perl) +To build a Windows installer (optional): + + NSIS (http://nsis.sf.net) + OCaml packages are available for Fedora 7 and above (ocaml, ocaml-findlib, ocaml-findlib-devel, ocaml-ocamldoc, ocaml-extlib, ocaml-extlib-devel, ocaml-lablgtk, ocaml-lablgtk-devel, ocaml-curses, @@ -76,6 +85,24 @@ contains the build directory. eg: LD_LIBRARY_PATH=libvirt/ mlvirsh/mlvirsh.opt +Windows +---------------------------------------------------------------------- + +I have built libvirt (the bindings), examples, mlvirsh and +mlvirtmanager on Windows using the MinGW port of OCaml. It's quite +likely that it will also work under VC++, but I have not tested this. + +To build the Windows installer, you will need NSIS. Then do: + + ./configure --with-nsis=/c/Progra~1/NSIS + make all opt + make wininstaller + +This should build a Windows binary installer called +ocaml-libvirt-$VERSION.exe which includes the bindings, all required +DLLs and all programs that can be built under Windows. + + mlvirsh ----------------------------------------------------------------------