08.08.2022, 22:47, "Alan Coopersmith" <alan.coopersm...@oracle.com>:

On 8/8/22 18:22, alexandre schenberg wrote:

 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.
 Looking at config.log, it says "configure:23050: error: *** XInput2 extension
 not found. Check 'config.log' for more details."
 So, the same except for the line number.


And there's nothing on the prior lines, like for the check for the XInput2.h
header that sets the have_xinput2 flag?

Do you mean on configure.log? No, prior to check libXi it says:
 
configure:22996: checking for XGetEventData
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
configure:22996: $? = 0
configure:22996: result: yes
 
If you are talking about the test, there is only:
 
# set up things for XInput
  if $PKG_CONFIG --exists "xi" ; then
 
    X_PACKAGES="$X_PACKAGES xi"
    GTK_PACKAGES_FOR_X="$GTK_PACKAGES_FOR_X xi"
      AC_CHECK_HEADER(X11/extensions/XInput2.h,
                      have_xinput2=yes
                      AC_DEFINE(XINPUT_2, 1, [Define to 1 if XInput 2.0 is
 available]))

 

    AS_IF([test "x$have_xinput2" != "xyes"],
          [AC_MSG_ERROR([*** XInput2 extension not found. Check 'config.log' for
 more details.])])


 

 CPPFLAGS=-I/media/34GB/Arquivos-de-Programas-Linux/xorg/Xi-1.5.0/include/


Is there a X11/extensions/XInput2.h file under that path?


Yes, it is there together with  Xinput.h
--
         -Alan Coopersmith- alan.coopersm...@oracle.com
          Oracle Solaris Engineering - https://blogs.oracle.com/solaris

Reply via email to