Re: [libvirt] MinGW environment for libvirt (at this moment))

2008-06-25 Thread Daniel Veillard
On Thu, Jun 19, 2008 at 09:23:20AM +0900, Atsushi SAKAI wrote:
 Here is the update for instruction to make install on MinGW.
 (Since I goes to from make only to pass to make install)

  Hum, if that works maybe that should be made available from
http://libvirt.org/windows.html

  1.Install MinGW-5.1.4.exe
[snip]
 14.execute /usr/local/bin/virsh.exe
 
 Hope virsh.exe works on MinGW.

  If that works (I don't know), could you submit a patch for
docs/windows.html.in to make a new Compiling from source
separating the original Cygwin part and a new MinGW and either
include those instructions or just link to the archive from there

  https://www.redhat.com/archives/libvir-list/2008-June/msg00145.html

  thanks !

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard  | virtualization library  http://libvirt.org/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] MinGW environment for libvirt (at this moment))

2008-06-25 Thread Atsushi SAKAI
Hi, Daniel

Thank you for commenting this.
I will post the procedure as next step(after commit the patch).

Thanks
Atsushi SAKAI



Daniel Veillard [EMAIL PROTECTED] wrote:

 On Thu, Jun 19, 2008 at 09:23:20AM +0900, Atsushi SAKAI wrote:
  Here is the update for instruction to make install on MinGW.
  (Since I goes to from make only to pass to make install)
 
   Hum, if that works maybe that should be made available from
 http://libvirt.org/windows.html
 
   1.Install MinGW-5.1.4.exe
 [snip]
  14.execute /usr/local/bin/virsh.exe
  
  Hope virsh.exe works on MinGW.
 
   If that works (I don't know), could you submit a patch for
 docs/windows.html.in to make a new Compiling from source
 separating the original Cygwin part and a new MinGW and either
 include those instructions or just link to the archive from there
 
   https://www.redhat.com/archives/libvir-list/2008-June/msg00145.html
 
   thanks !
 
 Daniel
 
 -- 
 Red Hat Virtualization group http://redhat.com/virtualization/
 Daniel Veillard  | virtualization library  http://libvirt.org/
 [EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
 http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/


--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] MinGW environment for libvirt (at this moment))

2008-06-18 Thread Atsushi SAKAI
Here is the update for instruction to make install on MinGW.
(Since I goes to from make only to pass to make install)

 1.Install MinGW-5.1.4.exe
 2.Install MSYS-1.0.11-2004.04.30-1.exe
 3.Install msysDTK-1.0.1.exe
Above files are taken from following
http://sourceforge.net/project/showfiles.php?group_id=2435

 4.Install gtk-dev-2.12.9-win32-2.exe
  (This is for using pkg-config/gettext/libxml2)
  Expand this to C:\MinGW\lib\GTK
  Taken from
  http://gladewin32.sourceforge.net/

 5.update some MSYS packages 
  m4-1.4.7-MSYS.tar.bz2 from root directory
  (we need 1.4.5 or later but msysDTK installs 1.4)
  gawk-3.1.5-MSYS-1.0.11-1.tar.bz2
  (gawk match with 3 args are needed on ChangeLog.awk but not in gawk 3.0.4)
  Taken from
  http://sourceforge.net/project/showfiles.php?group_id=2435

 6.Install autoconf-2.62.tar.gz
  ./configure --prefix=/usr
  make
  make install
  Taken from
  http://www.gnu.org/software/autoconf/

 7.Install automake-1.10.1.tar.gz
  ./configure --prefix=/usr
  make
  make install
  (create /usr/share/aclocal-1.10)
  Taken from
  http://www.gnu.org/software/automake/

 8.Install libtool-1.5.26.tar.gz
  ./configure --prefix=/usr
  make
  make install
  Taken from
  http://www.gnu.org/software/libtool/

 9.Add m4 script for aclocal
   cp /mingw/lib/GTK/share/aclocal/* /usr/share/aclocal
  (This is for running autogen.sh)

10..Install GNUTLS
  expand gnutls-2.3.13.exe to c:\msys\1.0
  (it goes to /usr)(This is for /usr/share/aclocal)
  cp -r /usr/include/gnutls /mingw/include
  cp /usr/lib/libgnutls* /mingw/lib
  cp /usr/lib/libgpg-error* /mingw/lib
  cp /usr/lib/libgcrypt* /mingw/lib
  cp /usr/lib/libtasn1.* /mingw/lib
  rewrite  dependency_libs on /mingw/lib/libgnutls.la and   
/mingw/lib/libgcrypt.la
  from /home/jas/gnutls4win/inst to /mingw

  Taken from
  http://josefsson.org/gnutls4win/

11.expand xdr
  Install Rich's package xdr-4.0-mingw5.tar.gz
  rpc = /mingw/include
  lib*.a = /mingw/lib
  Taken from
  http://www.annexia.org/tmp/xdr-4.0-mingw5.tar.gz

12.get libvirt code
   get Hourly development snapshot(this package includes autogen.sh)
   Taken from
   ftp://libvirt.org/libvirt/
   apply patch.
   patch should be taken from
   https://www.redhat.com/archives/libvir-list/2008-June/msg00196.html

13.create virsh
./autogen.sh
./configure --without-xen --without-qemu --without-sasl --without-libvirtd
make
make syntax-check
make check
make install

14.execute /usr/local/bin/virsh.exe

Hope virsh.exe works on MinGW.

Thanks
Atsushi SAKAI



--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] MinGW environment for libvirt (at this moment))

2008-06-15 Thread Atsushi SAKAI
Hi, Rich

I do not know about m4 macro origin.
The current libvirt needs to run on latest version(autoconf 2.60 or later).
For this purpose, m4-1.4.5 or later is needed

If I install native m4-1.4.7, it cannot not compiling autoconf.

Thanks
Atsushi SAKAI


Richard W.M. Jones [EMAIL PROTECTED] wrote:

 On Fri, Jun 13, 2008 at 03:23:36PM +0900, Atsushi SAKAI wrote:
   5.expand m4-1.4.7-MSYS.tar.bz2 from root directory
(we need 1.4.5 or later but msysDTK installs 1.4)
  Taken from
  http://sourceforge.net/project/showfiles.php?group_id=2435
 
 I wonder if this is a bug in our use of m4 macros?
 
 Anyway, thanks for this.  An easier way to solve this whole problem
 would be to add the mingw32 cross compiler to Fedora.  See discussion
 here:
 http://www.redhat.com/archives/rhl-devel-list/2008-April/msg01224.html
 If we had this, we could relatively easily build libvirt DLLs / EXEs
 on our Fedora boxes and ship them through the main site.
 
 Rich.
 
 -- 
 Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
 Read my OCaml programming blog: http://camltastic.blogspot.com/
 Fedora now supports 59 OCaml packages (the OPEN alternative to F#)
 http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora


--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] MinGW environment for libvirt (at this moment))

2008-06-13 Thread Richard W.M. Jones
On Fri, Jun 13, 2008 at 03:23:36PM +0900, Atsushi SAKAI wrote:
  5.expand m4-1.4.7-MSYS.tar.bz2 from root directory
   (we need 1.4.5 or later but msysDTK installs 1.4)
 Taken from
 http://sourceforge.net/project/showfiles.php?group_id=2435

I wonder if this is a bug in our use of m4 macros?

Anyway, thanks for this.  An easier way to solve this whole problem
would be to add the mingw32 cross compiler to Fedora.  See discussion
here:
http://www.redhat.com/archives/rhl-devel-list/2008-April/msg01224.html
If we had this, we could relatively easily build libvirt DLLs / EXEs
on our Fedora boxes and ship them through the main site.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 59 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list