Re: Compiling Libvirt on Windows for Hyper V support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 19, 2019 at 03:52:51PM -0400, reza shahriari wrote:
> Hi, 
> 
> I am trying to compile Libvirt from the source code on windows using msys2 but keep hitting issues while running `./configure`. 
> 
> ….
> > checking whether C compiler handles -Wno-suggest-attribute=pure… yes
> >  checking whether C compiler handles -Wno-suggest-attribute=const... yes
> > checking for how to force completely read-only GOT table…
> > checking for how to avoid indirect lib deps... -Wl,--no-copy-dt-needed-entries
> > checking for how to stop undefined symbols at link time…
> > checking sys/acl.h usability... no                                                                                      
> > checking sys/acl.h presence… no
> > checking for sys/acl.h… no
> > checking for aa_change_profile in -lapparmor… no
> > checking for pthread_mutexattr_init… no
> > checking for pthread.h... (cached) no
> > configure: error: A pthreads impl is required for building libvirt 
> ...

As the error message says, you need to have a pthreads impl to
build libvirt. This is not a standard part of Windows, but is
provided by the mingw64 cross compiler toolchain. I'm unclear
if its possible to get this into msys or not/


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 :|

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux