Re: [libvirt] libvirt on mingw: undefined reference to htonl/ntohl

2008-07-01 Thread Atsushi SAKAI
Hi, Brecht One additional Note for libvirt python dll file python25.dll is not correctly working as we expected. We should try Python-MinGW. http://python-mingw.donbennett.org/mywiki/HomePage DLL should export _imp__* funtions. But We cannot see it on Python Windows Installation package. I have

[patch] python binding on mingw-make Re: [libvirt] libvirt on mingw: undefined reference to htonl/ntohl

2008-06-19 Thread Atsushi SAKAI
Hi, Brecht How about apply this patch. (dll.a is created.) But need to dig into the code. (many errors are appeared.) Attached patch should be applied after https://www.redhat.com/archives/libvir-list/2008-June/msg00196.html (the patch is waiting for Dan review) Instruction should be in ==Step

Re: [libvirt] libvirt on mingw: undefined reference to htonl/ntohl

2008-06-19 Thread Brecht Sanders
Hi, On my end I also had built libvirtmod.a, but without a DLL version of this file I don't think it will be loadable as a Python module. Or is there a way to load or link static libraries somehow in Python? Brecht P.S.: I didn't understand your spelling remark. Atsushi SAKAI wrote: > Hi, Brecht

Re: [libvirt] libvirt on mingw: undefined reference to htonl/ntohl

2008-06-19 Thread Atsushi SAKAI
Hi, Brecht I can compile and generate .a file on python directory. Sorry for spelling (I am using Zen-kaku(2byte) character in your name.) Thanks Atsushi SAKAI Atsushi SAKAI <[EMAIL PROTECTED]> wrote: > Hi, Brecht > > I can make .a file(not .dll). > With following instruction. > > ==1== > In

Re: [libvirt] libvirt on mingw: undefined reference to htonl/ntohl

2008-06-19 Thread Atsushi SAKAI
Hi, Brecht I can make .a file(not .dll). With following instruction. ==1== Install http://www.python.org/ftp/python/2.5.2/python-2.5.2.msi to /usr/local/(C:\msys\1.0\local) and copy to include file to /usr/include/python2.5 and copy /usr/local/python.exe pythonw.exe to /usr/local/bin ==2== Ins

Re: [libvirt] libvirt on mingw: undefined reference to htonl/ntohl

2008-06-19 Thread Atsushi SAKAI
Hi, Brecht > Just out of curiosity, have you done anything with virsh or the DLL you > have built? Yes By the way, I am doing to build Python bingings on MinGW. But it will need to do tomorrow, since many compilation warnings. Thanks Atsushi SAKAI Brecht Sanders <[EMAIL PROTECTED]> wrote:

Re: [libvirt] libvirt on mingw: undefined reference to htonl/ntohl

2008-06-19 Thread Brecht Sanders
Hi, I guesss I had got as far as you did. To Install Python on Windows you will need to download and install the following: http://www.python.org/ftp/python/2.5.2/python-2.5.2.msi http://ftp.gnome.org/pub/GNOME/binaries/win32/pygobject/2.14/pygobject-2.14.1-1.win32-py2.5.exe http://ft

Re: [libvirt] libvirt on mingw: undefined reference to htonl/ntohl

2008-06-19 Thread Atsushi SAKAI
Hi, Bericht By your suggestion, I am recognizing python bindings are not created(on my configuration). If you notice me to install python on MinGW, I will try to investigate it. My posting mail is follows(it does not create python library) https://www.redhat.com/archives/libvir-list/2008-June/ms

Re: [libvirt] libvirt on mingw: undefined reference to htonl/ntohl

2008-06-18 Thread Brecht Sanders
No. Can you tell me where to find it? I also noticed that I only produced one DLL: libvirt-0.dll. No Python module DLL was built. Were you able to build this? Atsushi SAKAI wrote: Hi, Did you check my instruction for libvirt on MinGW? Thanks Atsushi SAKAI Brecht Sanders <[EMAIL PROTECTED]> w

Re: [libvirt] libvirt on mingw: undefined reference to htonl/ntohl

2008-06-18 Thread Atsushi SAKAI
Hi, Did you check my instruction for libvirt on MinGW? Thanks Atsushi SAKAI Brecht Sanders <[EMAIL PROTECTED]> wrote: > Hi, > Some time passed by and I thought I'd have another go at compiling > libvirt for win32 using MinGW/MSYS again. > I tried to compile libvirt-0.4.3 and I got around most

[libvirt] libvirt on mingw: undefined reference to htonl/ntohl

2008-06-18 Thread Brecht Sanders
Hi, Some time passed by and I thought I'd have another go at compiling libvirt for win32 using MinGW/MSYS again. I tried to compile libvirt-0.4.3 and I got around most obstacles. Now it just seems I am stuck when it is trying to link. My search on google showed me that I am not the first one to