reza shahriari
2019-Aug-20 16:29 UTC
Re: [libvirt-users] Compiling Libvirt on Windows for Hyper V support
Hi, I have attached my compressed config file. Thanks, Reza> On Aug 20, 2019, at 12:03 PM, Daniel P. Berrangé <berrange@redhat.com> wrote: > > Re-adding the mailing list CC - please don't drop it. > > On Tue, Aug 20, 2019 at 11:54:34AM -0400, reza shahriari wrote: >> Hi, >> >> I am using msys2. When I run `./configure` without any parameters and I still see missing pthreads impl. >> >> I have installed mingw64 cross compiler toolchain. Here is the output of pacman I see when searching for pthreads (they are all installed). >> >> mingw64/mingw-w64-x86_64-libwinpthread-git 7.0.0.5480.e14d23be-1 (mingw-w64-x86_64-toolchain) [installed] >> MinGW-w64 winpthreads library >> mingw64/mingw-w64-x86_64-winpthreads-git 7.0.0.5480.e14d23be-1 (mingw-w64-x86_64-toolchain) [installed] >> MinGW-w64 winpthreads library >> msys/mingw-w64-cross-winpthreads-git 7.0.0.5480.b627284b-1 (mingw-w64-cross-toolchain mingw-w64-cross) [installed] >> MinGW-w64 winpthreads library for cross-compiler >> >> >> Also, is there any another way to enable hyper-v domains on Libvirt ? > > The pthreads library is a mandatory part of libvirt, so we can't > skip that. > > Can you provide your "config.log" file - if it is larger than > 200 KB, please compress it, or upload it somewhere > > > Regards, > Daniel > -- > |: https://berrange.com <https://berrange.com/> -o- https://www.flickr.com/photos/dberrange <https://www.flickr.com/photos/dberrange> :| > |: https://libvirt.org <https://libvirt.org/> -o- https://fstop138.berrange.com <https://fstop138.berrange.com/> :| > |: https://entangle-photo.org <https://entangle-photo.org/> -o- https://www.instagram.com/dberrange <https://www.instagram.com/dberrange> :|
Daniel P. Berrangé
2019-Aug-20 16:36 UTC
Re: [libvirt-users] Compiling Libvirt on Windows for Hyper V support
On Tue, Aug 20, 2019 at 12:29:15PM -0400, reza shahriari wrote:> Hi, > > I have attached my compressed config file. > > Thanks, > > Reza > > > > > On Aug 20, 2019, at 12:03 PM, Daniel P. Berrangé <berrange@redhat.com> wrote: > > > > Re-adding the mailing list CC - please don't drop it. > > > > On Tue, Aug 20, 2019 at 11:54:34AM -0400, reza shahriari wrote: > >> Hi, > >> > >> I am using msys2. When I run `./configure` without any parameters and I still see missing pthreads impl. > >> > >> I have installed mingw64 cross compiler toolchain. Here is the output of pacman I see when searching for pthreads (they are all installed). > >> > >> mingw64/mingw-w64-x86_64-libwinpthread-git 7.0.0.5480.e14d23be-1 (mingw-w64-x86_64-toolchain) [installed] > >> MinGW-w64 winpthreads library > >> mingw64/mingw-w64-x86_64-winpthreads-git 7.0.0.5480.e14d23be-1 (mingw-w64-x86_64-toolchain) [installed] > >> MinGW-w64 winpthreads library > >> msys/mingw-w64-cross-winpthreads-git 7.0.0.5480.b627284b-1 (mingw-w64-cross-toolchain mingw-w64-cross) [installed] > >> MinGW-w64 winpthreads library for cross-compiler > >> > >> > >> Also, is there any another way to enable hyper-v domains on Libvirt ? > > > > The pthreads library is a mandatory part of libvirt, so we can't > > skip that. > > > > Can you provide your "config.log" file - if it is larger than > > 200 KB, please compress it, or upload it somewhereThe log shows configure:8796: checking for pthread.h configure:8796: gcc -c -g -O2 conftest.c >&5 conftest.c:82:10: fatal error: pthread.h: No such file or directory #include <pthread.h> ^~~~~~~~~~~ compilation terminated. so it is not finding the winpthreads package you installed. You might be ablke to set the "CFLAGS" env variable to "-I/path/to/winpthreads/include" to get it to work. Might need LDFLAGS="-L/path/to/winpthreads/lib" too. 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 :|
reza shahriari
2019-Aug-20 17:03 UTC
Re: [libvirt-users] Compiling Libvirt on Windows for Hyper V support
Hi, I tried that out, I got a new error about pthreads in my config.log. Could you take another look. Thanks again, Reza> On Aug 20, 2019, at 12:36 PM, Daniel P. Berrangé <berrange@redhat.com> wrote: > > On Tue, Aug 20, 2019 at 12:29:15PM -0400, reza shahriari wrote: >> Hi, >> >> I have attached my compressed config file. >> >> Thanks, >> >> Reza >> >> >> >>> On Aug 20, 2019, at 12:03 PM, Daniel P. Berrangé <berrange@redhat.com> wrote: >>> >>> Re-adding the mailing list CC - please don't drop it. >>> >>> On Tue, Aug 20, 2019 at 11:54:34AM -0400, reza shahriari wrote: >>>> Hi, >>>> >>>> I am using msys2. When I run `./configure` without any parameters and I still see missing pthreads impl. >>>> >>>> I have installed mingw64 cross compiler toolchain. Here is the output of pacman I see when searching for pthreads (they are all installed). >>>> >>>> mingw64/mingw-w64-x86_64-libwinpthread-git 7.0.0.5480.e14d23be-1 (mingw-w64-x86_64-toolchain) [installed] >>>> MinGW-w64 winpthreads library >>>> mingw64/mingw-w64-x86_64-winpthreads-git 7.0.0.5480.e14d23be-1 (mingw-w64-x86_64-toolchain) [installed] >>>> MinGW-w64 winpthreads library >>>> msys/mingw-w64-cross-winpthreads-git 7.0.0.5480.b627284b-1 (mingw-w64-cross-toolchain mingw-w64-cross) [installed] >>>> MinGW-w64 winpthreads library for cross-compiler >>>> >>>> >>>> Also, is there any another way to enable hyper-v domains on Libvirt ? >>> >>> The pthreads library is a mandatory part of libvirt, so we can't >>> skip that. >>> >>> Can you provide your "config.log" file - if it is larger than >>> 200 KB, please compress it, or upload it somewhere > > The log shows > > configure:8796: checking for pthread.h > configure:8796: gcc -c -g -O2 conftest.c >&5 > conftest.c:82:10: fatal error: pthread.h: No such file or directory > #include <pthread.h> > ^~~~~~~~~~~ > compilation terminated. > > > so it is not finding the winpthreads package you installed. > > You might be ablke to set the "CFLAGS" env variable to > "-I/path/to/winpthreads/include" to get it to work. Might > need LDFLAGS="-L/path/to/winpthreads/lib" too. > > Regards, > Daniel > -- > |: https://berrange.com <https://berrange.com/> -o- https://www.flickr.com/photos/dberrange <https://www.flickr.com/photos/dberrange> :| > |: https://libvirt.org <https://libvirt.org/> -o- https://fstop138.berrange.com <https://fstop138.berrange.com/> :| > |: https://entangle-photo.org <https://entangle-photo.org/> -o- https://www.instagram.com/dberrange <https://www.instagram.com/dberrange> :|
Possibly Parallel Threads
- Re: Compiling Libvirt on Windows for Hyper V support
- Re: Compiling Libvirt on Windows for Hyper V support
- Re: Compiling Libvirt on Windows for Hyper V support
- Re: Compiling Libvirt on Windows for Hyper V support
- Compiling Libvirt on Windows for Hyper V support