<div>Hi. I am currently executing the configure script of gtk. It tests for the presence of XInput, and it stops the execution with the error message:"configure: error: *** XInput2 extension not found. Check 'config.log' for more details.</div><div> </div><div>Looking at config.log, it says "configure:23050: error: *** XInput2 extension not found. Check 'config.log' for more details."</div><div>So, the same except for the line number.</div><div> </div><div>Then I decided to look at configure.ac. There I found the full Xi detection test that it is:</div><div> </div><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><div>    AC_CHECK_HEADER(X11/extensions/XInput2.h,</div><div>                    have_xinput2=yes</div><div>                    AC_DEFINE(XINPUT_2, 1, [Define to 1 if XInput 2.0 is available]))</div><div> </div><div>    gtk_save_LIBS="$LIBS"</div><div>    LIBS="$LIBS -lXi"</div><div> </div><div>    # Note that we also check that the XIScrollClassInfo struct is defined,</div><div>    # because at least Ubuntu Oneiric seems to have XIAllowTouchEvents(), but not the XIScrollClassInfo struct.</div><div>    AC_CHECK_FUNC([XIAllowTouchEvents],</div><div>      [AC_CHECK_MEMBER([XIScrollClassInfo.number],</div><div>                       have_xinput2_2=yes</div><div>                       AC_DEFINE(XINPUT_2_2, 1, [Define to 1 if XInput 2.2 is available]),</div><div>                       have_xinput2_2=no,</div><div>                       [[#include <X11/extensions/XInput2.h>]])])</div><div>    LIBS="$gtk_save_LIBS"</div><div> </div><div>    if test "x$have_xinput2_2" = "xyes"; then</div><div>      X_EXTENSIONS="$X_EXTENSIONS XI2.2"</div><div>    else</div><div>      X_EXTENSIONS="$X_EXTENSIONS XI2"</div><div>    fi</div><div>  fi</div><div> </div><div>  AS_IF([test "x$have_xinput2" != "xyes"],</div><div>        [AC_MSG_ERROR([*** XInput2 extension not found. Check 'config.log' for more details.])])</div><div> </div><div>I am no expert about setting configure.ac, but I thought that this line:  "if $PKG_CONFIG --exists "xi" ; then" would be satisfied by this parameter that I pass to configure:  PKG_CONFIG_PATH=:/media/34GB/Arquivos-de-Programas-Linux/xorg/Xi-1.5.0/lib/pkgconfig/</div><div> </div><div>Also this line:<div>AC_CHECK_HEADER(X11/extensions/XInput2.h,</div><div>                    have_xinput2=yes</div><div>                    AC_DEFINE(XINPUT_2, 1, [Define to 1 if XInput 2.0 is available]))</div><div> </div><div>could have been satisfied by this parameter that I pass to configure: CPPFLAGS=-I/media/34GB/Arquivos-de-Programas-Linux/xorg/Xi-1.5.0/include/</div><div> </div><div>O I am a bit loss about why it doesn't detect nothing.</div><div> </div><div>A curious point that I read in the documentation is that there is a parameter called: --disable-xinput.</div><div>Well I am passing it to configure and it obviously didn't disable the test. So I would appreciate any suggestions about how to change the test to try to figure out what is wrong with it (or with my system)</div></div></div>