Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libXtst-9999 from x11 overlay won't compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
dreadlorde
Apprentice
Apprentice


Joined: 16 Dec 2008
Posts: 243
Location: /adm/timezone/US_Michigan

PostPosted: Sun Apr 05, 2009 8:13 pm    Post subject: libXtst-9999 from x11 overlay won't compile Reply with quote

I can't get libXtst-9999 from the x11 overlay, nor 1.0.2 or 1.0.3 from portage to compile. Here's what pmerge tells me
Code:

 * GIT update -->
 * repository:       git://anongit.freedesktop.org/git/xorg/lib/libXtst
 * at the commit:       378db00ee91a11629666fc1c5e5a5e13c65ffefc
 * branch:          master
 * storage directory:    "/var/portage/distfiles/git-src/libXtst"
Initialized empty Git repository in /var/tmp/portage/x11-libs/libXtst-9999/work/libXtst-9999/.git/
>>> Unpacked to /var/tmp/portage/x11-libs/libXtst-9999/work//libXtst-9999
 * Running eautoreconf in '/var/tmp/portage/x11-libs/libXtst-9999/work/libXtst-9999' ...
 * Running aclocal ...
 Running libtoolize --copy --force --install --automake ...
 * Running aclocal ...
 * Running autoconf ...
 * Running autoheader ...
 * Running automake --add-missing --copy --foreign ...
 * Running elibtoolize in: libXtst-9999
 * Applying sed-1.5.6.patch ...
 * econf: updating /var/tmp/portage/x11-libs/libXtst-9999/work/libXtst-9999/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating /var/tmp/portage/x11-libs/libXtst-9999/work/libXtst-9999/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --prefix=/usr --datadir=/usr/share
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking if xorg-macros used to generate configure is at least 1.2... yes, 1.2.1
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for xmlto... /usr/bin/xmlto
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XTST... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating xtst.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make -j2
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/x11-libs/libXtst-9999/work/libXtst-9999'
Making all in src
make[2]: Entering directory `/var/tmp/portage/x11-libs/libXtst-9999/work/libXtst-9999/src'
/bin/sh ../libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement   -O2 -march=native -pipe -fomit-frame-pointer -MT XRecord.lo -MD -MP -MF .deps/XRecord.Tpo -c -o XRecord.lo XRecord.c
/bin/sh ../libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement   -O2 -march=native -pipe -fomit-frame-pointer -MT XTest.lo -MD -MP -MF .deps/XTest.Tpo -c -o XTest.lo XTest.c
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -march=native -pipe -fomit-frame-pointer -MT XRecord.lo -MD -MP -MF .deps/XRecord.Tpo -c XRecord.c  -fPIC -DPIC -o .libs/XRecord.o
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -march=native -pipe -fomit-frame-pointer -MT XTest.lo -MD -MP -MF .deps/XTest.Tpo -c XTest.c  -fPIC -DPIC -o .libs/XTest.o
In file included from XTest.c:37:
/usr/include/X11/extensions/XTest.h:50:35: error: X11/extensions/XInput.h: No such file or directory
In file included from XTest.c:37:
/usr/include/X11/extensions/XTest.h:104: error: expected declaration specifiers or '...' before 'XDevice'
/usr/include/X11/extensions/XTest.h:114: error: expected declaration specifiers or '...' before 'XDevice'
/usr/include/X11/extensions/XTest.h:124: error: expected declaration specifiers or '...' before 'XDevice'
/usr/include/X11/extensions/XTest.h:133: error: expected declaration specifiers or '...' before 'XDevice'
XTest.c: In function 'get_xinput_base':
XTest.c:82: error: 'INAME' undeclared (first use in this function)
XTest.c:82: error: (Each undeclared identifier is reported only once
XTest.c:82: error: for each function it appears in.)
XTest.c: At top level:
XTest.c:259: error: expected declaration specifiers or '...' before 'XDevice'
XTest.c: In function 'send_axes':
XTest.c:270: error: 'dev' undeclared (first use in this function)
XTest.c: At top level:
XTest.c:299: error: expected declaration specifiers or '...' before 'XDevice'
XTest.c: In function 'XTestFakeDeviceKeyEvent':
XTest.c:316: error: 'dev' undeclared (first use in this function)
XTest.c:318: error: too many arguments to function 'send_axes'
XTest.c: At top level:
XTest.c:325: error: expected declaration specifiers or '...' before 'XDevice'
XTest.c: In function 'XTestFakeDeviceButtonEvent':
XTest.c:342: error: 'dev' undeclared (first use in this function)
XTest.c:344: error: too many arguments to function 'send_axes'
XTest.c: At top level:
XTest.c:351: error: expected declaration specifiers or '...' before 'XDevice'
XTest.c: In function 'XTestFakeProximityEvent':
XTest.c:366: error: 'dev' undeclared (first use in this function)
XTest.c:368: error: too many arguments to function 'send_axes'
XTest.c: At top level:
XTest.c:375: error: expected declaration specifiers or '...' before 'XDevice'
XTest.c: In function 'XTestFakeDeviceMotionEvent':
XTest.c:391: error: 'dev' undeclared (first use in this function)
XTest.c:392: error: too many arguments to function 'send_axes'
make[2]: *** [XTest.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -march=native -pipe -fomit-frame-pointer -MT XRecord.lo -MD -MP -MF .deps/XRecord.Tpo -c XRecord.c -o XRecord.o >/dev/null 2>&1
mv -f .deps/XRecord.Tpo .deps/XRecord.Plo
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libXtst-9999/work/libXtst-9999/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libXtst-9999/work/libXtst-9999'
make: *** [all] Error 2
*
* ERROR: x11-libs/libXtst-9999 failed.
* Call stack:
*               ebuild.sh, line   48:  Called src_compile
*             environment, line 3132:  Called x-modular_src_compile
*             environment, line 3912:  Called x-modular_src_make
*             environment, line 3951:  Called die
* The specific snippet of code:
*       emake || die "emake failed"
*  The die message:
*   emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-libs/libXtst-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/libXtst-9999/temp/environment'.
* This ebuild is from a repository named 'x11'
*


Anyone know what to do? It looks like there's just a bunch of bad code, and it fails to compile. I've never had this problem before, and it would be nice to be able to get X working soon.
_________________
Ludwig von Mises Institute
Quote:
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.
Back to top
View user's profile Send private message
goffrie
n00b
n00b


Joined: 14 Mar 2007
Posts: 67

PostPosted: Sun Apr 05, 2009 9:11 pm    Post subject: Reply with quote

Quote:
/usr/include/X11/extensions/XTest.h:50:35: error: X11/extensions/XInput.h: No such file or directory

Try remerging x11-proto/inputproto , it looks like you're missing a header file.
Back to top
View user's profile Send private message
dreadlorde
Apprentice
Apprentice


Joined: 16 Dec 2008
Posts: 243
Location: /adm/timezone/US_Michigan

PostPosted: Sun Apr 05, 2009 10:09 pm    Post subject: Reply with quote

goffrie wrote:
Quote:
/usr/include/X11/extensions/XTest.h:50:35: error: X11/extensions/XInput.h: No such file or directory

Try remerging x11-proto/inputproto , it looks like you're missing a header file.

*facepalm*

I'll go try that.
_________________
Ludwig von Mises Institute
Quote:
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.
Back to top
View user's profile Send private message
dreadlorde
Apprentice
Apprentice


Joined: 16 Dec 2008
Posts: 243
Location: /adm/timezone/US_Michigan

PostPosted: Mon Apr 06, 2009 1:07 am    Post subject: Reply with quote

Turns out XInput.h is now in libXi. I just had to unmask libXi-9999 and now everything is fine.
_________________
Ludwig von Mises Institute
Quote:
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum