diff --git a/ChangeLog b/ChangeLog
index 8acedad883..034befd8db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Nov 29 16:19:00 GMT 2007 Richard W.M. Jones
@@ -1659,7 +1664,7 @@ source on Windows:
librpc.dll
.
+ A patch and a binary package are available from
+ the download area. Packages
openssh
@@ -1678,6 +1683,23 @@ source on Windows:
Note that you need to do this as Windows Administrator.
- sunrpc
+ sunrpc ≥ 4.0-4 (see below)
Install Cygwin sunrpc ≥ 4.0-4 package, patched to include
+ librpc.dll
.
+ To do this, first check to see whether /usr/lib/librpc.dll
+ exists. If it does, you're good to go and can skip to the next
+ step.
+ If you don't have this file, either install the binary package + sunrpc-4.0-4.tar.bz2 (just unpack it, as Administrator, in the Cygwin root directory). + Or you can download the + source patch + and apply it by hand to the Cygwin sunrpc package (eg. using + cygport). +
+Check out @@ -1745,24 +1767,46 @@ src/virsh.exe -c qemu://remote/system make install
+ The above steps should also build and install Python modules.
+ However for reasons which I don't fully understand, Python won't
+ look in the
+ non-standard /usr/local/lib/python*/site-packages/
+ directory by default so you may need to set the environment
+ variable PYTHONPATH:
+
+export PYTHONPATH=/usr/local/lib/python2.5/site-packages ++ +
+ (Change the version number to your version of Python). You + can test Python support from the command line: +
+ ++python +>>> import libvirt +>>> conn = libvirt.open ("test:///default") +>>> conn.listDomainsID () +[1] +>>> dom = conn.lookupByID (1) +>>> dom.XMLDesc (0) +"<domain type='test' id='1'> ..." ++ +
+ The most common failure will be with import libvirt
+ which usually indicates that either PYTHONPATH
is
+ wrong or a DLL cannot be loaded.
+
diff --git a/docs/windows.html b/docs/windows.html index cc960c2a98..c0aca155be 100644 --- a/docs/windows.html +++ b/docs/windows.html @@ -39,6 +39,11 @@ latest version from CVS
librpc.dll
.
+ A patch and a binary package are available from
+ the download area. These are the steps to take to compile libvirt from source on Windows: @@ -87,7 +92,7 @@ source on Windows:
Install Cygwin sunrpc ≥ 4.0-4 package, patched to include
+ librpc.dll
.
+ To do this, first check to see whether /usr/lib/librpc.dll
+ exists. If it does, you're good to go and can skip to the next
+ step.
+ If you don't have this file, either install the binary package + sunrpc-4.0-4.tar.bz2 (just unpack it, as Administrator, in the Cygwin root directory). + Or you can download the + source patch + and apply it by hand to the Cygwin sunrpc package (eg. using + cygport). +
+Check out @@ -170,4 +192,42 @@ src/virsh.exe -c qemu://remote/system make install
+ The above steps should also build and install Python modules.
+ However for reasons which I don't fully understand, Python won't
+ look in the
+ non-standard /usr/local/lib/python*/site-packages/
+ directory by default so you may need to set the environment
+ variable PYTHONPATH:
+
+export PYTHONPATH=/usr/local/lib/python2.5/site-packages ++ +
+ (Change the version number to your version of Python). You + can test Python support from the command line: +
+ ++python +>>> import libvirt +>>> conn = libvirt.open ("test:///default") +>>> conn.listDomainsID () +[1] +>>> dom = conn.lookupByID (1) +>>> dom.XMLDesc (0) +"<domain type='test' id='1'> ..." ++ +
+ The most common failure will be with import libvirt
+ which usually indicates that either PYTHONPATH
is
+ wrong or a DLL cannot be loaded.
+
Graphics and design by Diana Fong