tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Pkgsrc/../gtk3 brak with XInput2.h



Hello
For Brassero i need GTK3 now try to compile GTK3 but i have the error message 
file XInput.h are not available?

File are here /usr/pkg/include/X11/extensions/XInput2.h

for me opinion the file exist. i try also to add the hole Path from XInput2.h 
to configure.ac and configure but this had no succsess. The switch options 
"--Disable-xinput" also give me no success.
possible any help ?
regards
Mauri


bash-4.2# uname -rsa
NetBSD powermac.G4 5.1 NetBSD 5.1 (GENERIC) #0: Sat Nov  6 17:09:11 UTC 2010  
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-RELEASE/macppc/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/macppc/compile/GENERIC
 macppc

Configure break with:
Configure: error: *** XInput2 extension not found. Check 'config.log' for more 
details.

checking for X11/extensions/sync.h... yes
checking for Xinerama packages... yes
checking for XGetEventData... no
checking X11/extensions/XInput2.h usability... no
checking X11/extensions/XInput2.h presence... no
checking for X11/extensions/XInput2.h... no
checking for XIAllowTouchEvents... no
configure: error: *** XInput2 extension not found. Check 'config.log' for more 
details.
*** Error code 1
Stop.

viewing to cat Config.log
configure:22944: checking usr/pkg/include/X11/extensions/XInput2.h usability
configure:22944: cc -std=gnu99 -c -O2 -pthread -I/usr/pkg/include 
-I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -Wall 
-DPREFIX="\"/usr/pkg\"" -D
PNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include 
-I/usr/X11R7/include/freetype2 -D_REENTRANT -I/usr/X11R7/include    conftest.c 
>&5
conftest.c:92:52: error: X11/extensions/XInput2.h: No such file or directory
configure:22944: $? = 1
configure: failed program was:


From config log explan to configure ...

[Snip]
cat Configure

  # 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_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XInput2.h" 
"ac_cv_header_X11_extensions_XInput2_h" "$ac_includes_default"
        if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes; then :
        have_xinput2=yes
    $as_echo "#define XINPUT_2 1" >>confdefs.h
fi  
    gtk_save_LIBS="$LIBS"
    LIBS="$LIBS -lXi"

    # Note that we also check that the XIScrollClassInfo struct is defined,
    # because at least Ubuntu Oneiric seems to have XIAllowTouchEvents(), but 
not the XIScrollClassInfo struct.

    ac_fn_c_check_func "$LINENO" "XIAllowTouchEvents" 
"ac_cv_func_XIAllowTouchEvents"
        if test "x$ac_cv_func_XIAllowTouchEvents" = xyes; then :
    ac_fn_c_check_member "$LINENO" "XIScrollClassInfo" "number" 
"ac_cv_member_XIScrollClassInfo_number" "#include <X11/extensions/XInput2.h>
[Snip]

-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                          
        
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a


Home | Main Index | Thread Index | Old Index