xautomation

Hi
i get errors if I try to install xautomation on 11.2.
Any help?
Thanks Michael

How did you try? Did you take it from the repository?
Software.openSUSE.org
Just search for xautomation there and you have the option to do 1-Click install too.

Thanks added this to the bookmarks.

Compiling the current version I got this but the download worked fine. ( and installed some fonts which might have
been missing )

4-pool:/home/michael/Downloads/xautomation-1.03 # make
gcc -DPACKAGE_NAME=“xautomation” -DPACKAGE_TARNAME=“xautomation” -DPACKAGE_V
ERSION=“1.03” -DPACKAGE_STRING=“xautomation\ 1.03” -DPACKAGE_BUGREPORT=""
-DPACKAGE=“xautomation” -DVERSION=“1.03” -DDEBUG_A_LOO=1 -DX_DISPLAY_MISSING
=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -
DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE
_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H
=1 -DHAVE_LOCALE_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_BZERO=1 -DHAVE_WME
MSET=1 -DHAVE_MBSTOWCS=1 -I. -g -O2 -MT xte.o -MD -MP -MF .deps/xte.Tpo -c -
o xte.o xte.c
xte.c:23:22: error: X11/Xlib.h: Datei oder Verzeichnis nicht gefunden
xte.c:24:34: error: X11/extensions/XTest.h: Datei oder Verzeichnis nicht gefunde
n
In file included from xte.c:37:
kbd.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘keysym
to_keycode_map’
xte.c:41: error: expected ‘)’ before ‘*’ token
xte.c:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘thing

to_keycode’
xte.c:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘get_ke
ysym’
xte.c:90: error: expected ‘)’ before ‘’ token
xte.c:120: error: expected ‘)’ before ‘
’ token
xte.c:176: error: expected ‘)’ before ‘’ token
xte.c:181: error: expected ‘)’ before ‘
’ token
xte.c:187: error: expected ‘)’ before ‘’ token
xte.c:192: error: expected ‘)’ before ‘
’ token
xte.c:201: error: expected ‘)’ before ‘’ token
xte.c:255: error: expected ‘)’ before ‘
’ token
xte.c: In function ‘main’:
xte.c:302: error: ‘Display’ undeclared (first use in this function)
xte.c:302: error: (Each undeclared identifier is reported only once
xte.c:302: error: for each function it appears in.)
xte.c:302: error: ‘dpy’ undeclared (first use in this function)
make: *** [xte.o] Fehler 1

Could not understand the real error message (not in English). It looks like the header files are mixed up somehow.

Sorry about bringing up the old topic, but I really need the xautomation package. xte, to be more precise. It is not present in any of the repositories (I am using openSUSE 12.1). What’s the reason for that? I am new to opensuse, is it always this hard to find popular software on suse?
Anyway, since there is no easy way, I tried to compille it myself, but I also get an error about XTest.h missing. And I do not know what to do further. Please help.

Am 24.11.2011 20:56, schrieb evll z:
>
> Sorry about bringing up the old topic, but I really need the xautomation
> package. xte, to be more precise. It is not present in any of the
> repositories (I am using openSUSE 12.1). What’s the reason for that?
You have to ask the developers not other users!

> I
> am new to opensuse, is it always this hard to find popular software on
> suse?
Never heard about it, what is your definition of the word popular - I
would say it depends on very personal preferences.
> Anyway, since there is no easy way, I tried to compille it myself, but
> I also get an error about XTest.h missing. And I do not know what to do
> further. Please help.
>
I quickly compiled now version 1.0.5


../configure
make

it compiles just fine on 11.4 (did not try on 12.1) I guess you miss a
requirement. The output from configure should tell you which otherwise
it is a bug in xautomation.
Anyway XTest.h is in xorg-x11-devel, install it and try again.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram

Thanks for such a quick response, I will try that.

Installed that package, then another error popped up. Just took an xautomation rpm from Fedora 15 ant it worked like a charm.
And here is my definition of word “popular”: xautomation RPM DEB Free Download for Linux - pkgs.org

Am 24.11.2011 22:06, schrieb evll z:
>
> Installed that package, then another error popped up. Just took an
> xautomation rpm from Fedora 15 ant it worked like a charm.

You solved it by using a different package, but let me show what is
needed for others who want to compile it on 12.1.

Just checked it myself on 12.1 to see what really goes wrong there. It
is almost definitely a bug in the xautomation configure script it does
not properly recognize how to link correctly with the X libraries on
different systems (which means on some systems or xorg versions it will
just compile on others it will just fail without a patch).

For everyone else who wants to compile that


../configure LIBS='-lX11'

solves that and make will succeed.

> And here is my definition of word “popular”: ‘xautomation RPM DEB Free
> Download for Linux - pkgs.org’ (http://pkgs.org/download/xautomation)
>
??? I do not see anything about its popularity ???

Take the following as a friendly suggestion for the future:

Next time you miss a package post a feature request at openFATE
https://features.opensuse.org/

If nobody does that (including you, I cannot see your request) it simply
means nobody wants it.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram