X-Git-Url: http://git.annexia.org/?p=virt-top.git;a=blobdiff_plain;f=README;h=02be231d653a1edf727a1a2ecee42e6957159a33;hp=6be1cf4aa5c5346fb8ff89bec17c9f3789aaa703;hb=40cca545e1e010e8ee1a4ed4e9636b7c0119d5a2;hpb=d9efc66ec4fd75d3e0f89433de9fe20e93ed16c9 diff --git a/README b/README old mode 100755 new mode 100644 index 6be1cf4..02be231 --- a/README +++ b/README @@ -12,7 +12,7 @@ known functionality to OCaml programs. Requirements ---------------------------------------------------------------------- -To build the bindings (required): +To build the bindings, examples, and mlvirsh (required): GNU make, gcc libvirt >= 0.2.1 (from http://libvirt.org/, @@ -27,10 +27,6 @@ To build the OCaml interface documentation (optional): ocamldoc (part of OCaml itself) -To build mlvirsh (optional): - - Extlib (from http://ocaml-lib.sourceforge.net/) - To build virt-top (optional): ocaml-curses (from http://www.nongnu.org/ocaml-tmk/) @@ -52,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, @@ -88,9 +88,35 @@ contains the build directory. eg: Windows ---------------------------------------------------------------------- -I have built libvirt (the bindings) and examples 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. +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. + +You should make sure that your $PATH (environment variable) contains +the names of the directories containing all required DLLs, in +particular you will require: + + libvirt-*.dll (from libvirt) + libgnutls-*.dll (from GnuTLS) + libgcrypt-*.dll + libgpg-error-*.dll + libtasn1-*.dll + libxdr.dll (from libxdr) + libxml2-*.dll (from libxml2) + and, a multitude of DLLs from GTK if you want to run mlvirtmanager + +You can use a tool such as Dependency Walker to find/check the +locations of dependent libraries. + +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