Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 653 characters in body
Source Link
user219258
user219258

I type in make then make install and it always outputs me this error:

    root@kali:~/xdotool-master# make install
installcc -dpipe -O2 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -Wno-missing-field-initializers -g    -std=c99 -I/usr/local
shX11R6/include version.sh-I/usr/local/include -fPIC -headerc >xdo.c
xdo.c:29:34: xdo_versionfatal error: X11/extensions/XTest.h: No such file or directory
 #include <X11/extensions/XTest.h>
                                  ^
compilation terminated.
Makefile:124: recipe for target 'xdo.o' failed
make: *** [xdo.o] Error 1  


root@kali:~/xdotool-master# make install
install -d /usr/local
cc -pipe -O2 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -Wno-missing-field-initializers -g    -std=c99 -I/usr/X11R6/include -I/usr/local/include -fPIC -c xdo.c
xdo.c:29:34: fatal error: X11/extensions/XTest.h: No such file or directory
 #include <X11/extensions/XTest.h>
                                  ^
compilation terminated.
Makefile:124: recipe for target 'xdo.o' failed
make: *** [xdo.o] Error 1
root@kali:~/xdotool-master# 

I type in make install and it always outputs me this error:

root@kali:~/xdotool-master# make install
install -d /usr/local
sh version.sh --header > xdo_version.h
cc -pipe -O2 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -Wno-missing-field-initializers -g    -std=c99 -I/usr/X11R6/include -I/usr/local/include -fPIC -c xdo.c
xdo.c:29:34: fatal error: X11/extensions/XTest.h: No such file or directory
 #include <X11/extensions/XTest.h>
                                  ^
compilation terminated.
Makefile:124: recipe for target 'xdo.o' failed
make: *** [xdo.o] Error 1

I type in make then make install and it always outputs me this error:

    root@kali:~/xdotool-master# make
cc -pipe -O2 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -Wno-missing-field-initializers -g    -std=c99 -I/usr/X11R6/include -I/usr/local/include -fPIC -c xdo.c
xdo.c:29:34: fatal error: X11/extensions/XTest.h: No such file or directory
 #include <X11/extensions/XTest.h>
                                  ^
compilation terminated.
Makefile:124: recipe for target 'xdo.o' failed
make: *** [xdo.o] Error 1  


root@kali:~/xdotool-master# make install
install -d /usr/local
cc -pipe -O2 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -Wno-missing-field-initializers -g    -std=c99 -I/usr/X11R6/include -I/usr/local/include -fPIC -c xdo.c
xdo.c:29:34: fatal error: X11/extensions/XTest.h: No such file or directory
 #include <X11/extensions/XTest.h>
                                  ^
compilation terminated.
Makefile:124: recipe for target 'xdo.o' failed
make: *** [xdo.o] Error 1
root@kali:~/xdotool-master# 
Source Link
user219258
user219258

Install problem for xdotool

Since I have problems with my Internet connection I'm not able to always run command
apt-get install xdotool in Terminal, so I would like to download the xdotool package manually from website in .zip or .deb format and then install it manually every time I need it. (I'm using Usb Live Kali Linux 2016.2-amd64 and every time I reboot it deletes all files).

I've tried to download xdotool from https://github.com/jordansissel/xdotool at the right side in green box "Clone or download" there is option download ZIP. After that I extract all files in Home folder and then open it in Terminal.
in README file there are instructions like this:

See the website for more up-to-date documentation
http://www.semicomplete.com/projects/xdotool/ or the manpage listed below.

Compile: make
Install: make install
Remove: make uninstall

You may have to set 'PREFIX' to the location you want to install to. The default PREFIX is /usr/local

For packagers, there's also support for DESTDIR for staged install.

I type in make install and it always outputs me this error:

root@kali:~/xdotool-master# make install
install -d /usr/local
sh version.sh --header > xdo_version.h
cc -pipe -O2 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -Wno-missing-field-initializers -g    -std=c99 -I/usr/X11R6/include -I/usr/local/include -fPIC -c xdo.c
xdo.c:29:34: fatal error: X11/extensions/XTest.h: No such file or directory
 #include <X11/extensions/XTest.h>
                                  ^
compilation terminated.
Makefile:124: recipe for target 'xdo.o' failed
make: *** [xdo.o] Error 1

What I'm doing wrong?
Can you suggest me other methods of installation of xdotool (but without Internet connection)?