<div> </div><div> </div><div>08.08.2022, 22:47, "Alan Coopersmith" <alan.coopersmith@oracle.com>:</div><blockquote><p>On 8/8/22 18:22, alexandre schenberg wrote:</p><blockquote> Hi. I am currently executing the configure script of gtk. It tests for the<br /> presence of XInput, and it stops the execution with the error<br /> message:"configure: error: *** XInput2 extension not found. Check 'config.log'<br /> for more details.<br /> Looking at config.log, it says "configure:23050: error: *** XInput2 extension<br /> not found. Check 'config.log' for more details."<br /> So, the same except for the line number.</blockquote><p><br />And there's nothing on the prior lines, like for the check for the XInput2.h<br />header that sets the have_xinput2 flag?</p></blockquote><div>Do you mean on configure.log? No, prior to check libXi it says:</div><div> </div><div><div>configure:22996: checking for XGetEventData</div><div>configure:22996: gcc -std=gnu99 -o conftest -g -O2 -Wall -I/media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.4.4/include/ -I/media/34GB/Arquivos-de-Programas-Linux/xorg/Xorgproto-2018.1/include/ -I/media/34GB/Arquivos-de-Programas-Linux/xorg/Xi-1.5.0/include/   -L/media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.4.4/lib/ -L/media/34GB/Arquivos-de-Programas-Linux/xorg/Xext-1.1.1/lib/ conftest.c  -lXext -lX11    >&5</div><div>configure:22996: $? = 0</div><div>configure:22996: result: yes</div><div> </div><div>If you are talking about the test, there is only:</div><div> </div><div><div># set up things for XInput</div><div>  if $PKG_CONFIG --exists "xi" ; then</div><div> </div><div>    X_PACKAGES="$X_PACKAGES xi"</div><div>    GTK_PACKAGES_FOR_X="$GTK_PACKAGES_FOR_X xi"</div></div></div><blockquote><blockquote>      AC_CHECK_HEADER(X11/extensions/XInput2.h,<br />                      have_xinput2=yes<br />                      AC_DEFINE(XINPUT_2, 1, [Define to 1 if XInput 2.0 is<br /> available]))</blockquote><p> </p><blockquote>    AS_IF([test "x$have_xinput2" != "xyes"],<br />          [AC_MSG_ERROR([*** XInput2 extension not found. Check 'config.log' for<br /> more details.])])</blockquote><p><br /> </p><blockquote> CPPFLAGS=-I/media/34GB/Arquivos-de-Programas-Linux/xorg/Xi-1.5.0/include/</blockquote><p><br />Is there a X11/extensions/XInput2.h file under that path?</p></blockquote><div><br />Yes, it is there together with  Xinput.h</div><blockquote>--<br />         -Alan Coopersmith- <a href="mailto:alan.coopersmith@oracle.com" rel="noopener noreferrer">alan.coopersmith@oracle.com</a><br />          Oracle Solaris Engineering - <a href="https://blogs.oracle.com/solaris" rel="noopener noreferrer">https://blogs.oracle.com/solaris</a></blockquote>