<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1482979477791_2639" dir="ltr">I've been trying to solve this on my own for several weeks now, to no avail.  Below I will share:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3034">1. ./configure output (the parts I *think* are relevant to the error)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3053">2. make output (spoiler alert : fails with the subject line error)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3180">3. description of my attempts to compile lxml</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3133"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3146">Pre-step: THE BASICS:<br>    System - MSYS2 / MINGW64</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3197">    LIBRARY_PATH=C:/msys64/usr/local/lib;<br id="yui_3_16_0_ym19_1_1482979477791_3386">    INCLUDE_PATH=C:/msys64/usr/local/include;<br id="yui_3_16_0_ym19_1_1482979477791_3387">    PATH=/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows: \</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3397">        /c/Windows/System32   /Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/: \</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3405">        /usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl<br id="yui_3_16_0_ym19_1_1482979477791_3388">    PKG_CONFIG_PATH=/usr/local/lib/pkgconfig</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3431">    CC=/mingw64/bin/x86_64-w64-mingw32-gcc (gcc version is 6.2.0-2)<br id="yui_3_16_0_ym19_1_1482979477791_3445">    CFLAGS=-I/usr/local/include -O3</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_4067">    msys/python2 2.7.11-1</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_4146"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3132">Step 1: ./configure  --disable-docs --enable-shared --enable-static</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3747">OUTPUT:<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3647">..... (stuff that I don't think is relevant is not shown....) .....<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3604">checking for pkg-config... /mingw64/bin/pkg-config<br id="yui_3_16_0_ym19_1_1482979477791_3635">checking pkg-config is at least version 0.9.0... yes<br id="yui_3_16_0_ym19_1_1482979477791_3636">checking for python... no<br id="yui_3_16_0_ym19_1_1482979477791_3637">checking for python2... /usr/bin/python2<br id="yui_3_16_0_ym19_1_1482979477791_3638">checking for python version... 2.7<br id="yui_3_16_0_ym19_1_1482979477791_3639">checking for python platform... msys<br id="yui_3_16_0_ym19_1_1482979477791_3640">checking for python script directory... ${prefix}/lib/python2.7/site-packages<br id="yui_3_16_0_ym19_1_1482979477791_3641">checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages<br id="yui_3_16_0_ym19_1_1482979477791_3642">checking for RM macro... rm -f<br id="yui_3_16_0_ym19_1_1482979477791_3643">checking build system type... x86_64-w64-mingw32<br id="yui_3_16_0_ym19_1_1482979477791_3644">checking host system type... x86_64-w64-mingw32</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3748">.....</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3749"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3766">Step 2: make</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3803">OUTPUT:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3782">make  all-recursive<br id="yui_3_16_0_ym19_1_1482979477791_3851">make[1]: Entering directory '/home/Ron/src/fontconfig-2.12.1'<br id="yui_3_16_0_ym19_1_1482979477791_3852">Making all in fontconfig<br id="yui_3_16_0_ym19_1_1482979477791_3853">make[2]: Entering directory '/home/Ron/src/fontconfig-2.12.1/fontconfig'<br id="yui_3_16_0_ym19_1_1482979477791_3854">make[2]: Nothing to be done for 'all'.<br id="yui_3_16_0_ym19_1_1482979477791_3855">make[2]: Leaving directory '/home/Ron/src/fontconfig-2.12.1/fontconfig'<br id="yui_3_16_0_ym19_1_1482979477791_3856">Making all in fc-blanks<br id="yui_3_16_0_ym19_1_1482979477791_3857">make[2]: Entering directory '/home/Ron/src/fontconfig-2.12.1/fc-blanks'<br id="yui_3_16_0_ym19_1_1482979477791_3858">  GEN      fcblanks.h<br id="yui_3_16_0_ym19_1_1482979477791_3859">Traceback (most recent call last):<br id="yui_3_16_0_ym19_1_1482979477791_3860">  File "./fc-blanks.py", line 14, in <module><br id="yui_3_16_0_ym19_1_1482979477791_3861">    from lxml import html<br id="yui_3_16_0_ym19_1_1482979477791_3862">ImportError: No module named lxml<br id="yui_3_16_0_ym19_1_1482979477791_3863">make[2]: *** [Makefile:595: fcblanks.h] Error 1<br id="yui_3_16_0_ym19_1_1482979477791_3864">......</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3876"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3908">Step 3: lxml</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3924">- I have tried searching (using pacman -Ss lxml), but the only python2-lxml is built for mingw64-w64-x86_64-python2, and that particular python2 creates it's own set of errors (mostly because it by default seems to choose Windows PATH formatting instead of using UNIX-like paths).</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_3976">- I have downloading and tried building lxml (successfully built both libxml2 and libxslt and installed them in /usr/local, all my attempts to build libxml2-python-2.6.9 end in errors shortly after starting ./setup.py install)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_4384"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_4385"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_4386">I recognize this might really be an lxml issue, but I'm hoping I'm not the first / only one to experience this and there's a simple setting / environment / download I can apply.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482979477791_4422"><br></div></div></body></html>