Have you considered simply installing libxml2 by running this command?
pacman -S mingw-w64-i686-libxml2
Also, make sure you are running MSYS2 via mingw32.exe, and that you
have installed the proper GCC toolchain:
pacman -S mingw-w64-i686-toolchain
--David
On Wed, Dec 11, 2019 at 1:51 PM David Mathog <[email protected]> wrote:
>
> Trying to build libxml2 in MSYS2 mingw32. About a year ago using the
> same commands 2.9.7 built without problems. Now neither 2.9.10 nor
> 2.9.7 will build, both failing in the "python" part of the build.
> After downloading and unpacking libxml2 2.9.10 (2.9.7 acts the same)
> did:
>
> #in an MSYS2 mingw32 window
> ./configure
> make
>
> which failed.
>
> The python section wanted to include "crypt.h". Installed that with:
> pacman -S libcrypt
> but it still did not find it, because the file is in /usr/include rather
> than /mingw32/include. It is looking for python includes in
> /usr/include/python3.7m but changing that to python2.7 did not help.
>
> With "make V=1" found the compile line which was looking for "crypt.h"
> and added to it "-I/usr/include". That got it past the crypt.h problem
> but then it wanted "sys/select.h", which is I think an even bigger
> problem.
>
> I didn't see an option for 2.9.10 like "--disable-libcrypt" or anything
> like that.
>
> Anybody else run into this yet?
>
> This was after updating all of mingw32 with "pacman -Syu" (twice)
> yesterday. So I think all of the Msys2/mingw32 pieces should be
> current.
> Everything was updated about a year ago too, before the last build. So
> some combination of mingw32 and libxml2 changes in the last year seem to
> have broken things.
>
> Thanks,
>
> David Mathog
> [email protected]
> Manager, Sequence Analysis Facility, Biology Division, Caltech
>
>
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public