[libvirt-users] Compiling Libvirt on Windows for Hyper V support

reza shahriari reza_shahriari at yahoo.ca
Wed Aug 21 19:34:48 UTC 2019


Hi,

I have hit a new issue with `./configure` when specifying the `—with-hyper` parameter.

Configure runs successfully when no parameters are given but when trying to build with hyper-v I run into this issue. I was wondering if anyone knows how to install this dependency on msys2.

> checking for libxl_cpupool_cpuadd_cpumap in -lxenlight... no
> checking whether LIBXL_DOMAIN_TYPE_PVH is declared... no
> checking for PARALLELS_SDK... no
> checking for bhyve... no
> checking for bhyvectl... no
> checking for bhyveload... no
> configure: error: openwsman is required for the Hyper-V driver

Thanks,

Reza Shahriari


> On Aug 20, 2019, at 1:53 PM, reza shahriari <reza_shahriari at yahoo.ca> wrote:
> 
> Thanks so much. I got it to go past pthreads. Now I am working on other dependencies
> 
> 
> 
>> On Aug 20, 2019, at 1:30 PM, Daniel P. Berrangé <berrange at redhat.com> wrote:
>> 
>> On Tue, Aug 20, 2019 at 01:03:40PM -0400, reza shahriari wrote:
>>> Hi,
>>> 
>>> I tried that out, I got a new error about pthreads in my config.log.
>> 
>> It finds the header file now which is good, but it still fails to
>> find the libpthread.dll file, which is what LDFLAGS should have
>> addressed
>> 
>> configure:15417: checking for pthread_kill in -lpthread
>> configure:15442: gcc -o conftest.exe -I/c/msys64/mingw64/x86_64-w64-mingw32/include/  -L/c/msys64/mingw64/x86_64-w64-mingw32/lib/:/c/msys64/mingw64/bin/ conftest.c -lpthread   >&5
>> c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: cannot find -lpthread
>> | char pthread_kill ();
>> 
>> 
>> 
>> Regards,
>> Daniel
>> -- 
>> |: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
>> |: https://libvirt.org         -o-            https://fstop138.berrange.com :|
>> |: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20190821/5a94886a/attachment.htm>


More information about the libvirt-users mailing list