Install problem for xdotool
Clash Royale CLAN TAG#URR8PPP
Since I have problems with my Internet connection I'm not able to always run commandapt-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
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#
What I'm doing wrong?
Can you suggest me other methods of installation of xdotool (but without Internet connection)?
terminal software-installation kali-linux xdotool
add a comment |
Since I have problems with my Internet connection I'm not able to always run commandapt-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
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#
What I'm doing wrong?
Can you suggest me other methods of installation of xdotool (but without Internet connection)?
terminal software-installation kali-linux xdotool
1
Did you runmake
beforemake install
? You are also likely to need development packages to compile.
– Bruno9779
Mar 29 '17 at 18:12
2
ALSO, read up about persistent storage for live mediums. It looks like the real game changer for your issue
– Bruno9779
Mar 29 '17 at 18:13
@Bruno9779 for first comment I edited my question above. For second comment, I know for persistence and already tried different tutorials and none of them unfortunately didn't work.
– user219258
Mar 29 '17 at 18:33
Why do you download the source code and try to compile it, instead of downloading the binary.deb
(the oneapt-get install xdotool
would also fetch and install, without compiling)?
– egmont
Mar 30 '17 at 0:11
add a comment |
Since I have problems with my Internet connection I'm not able to always run commandapt-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
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#
What I'm doing wrong?
Can you suggest me other methods of installation of xdotool (but without Internet connection)?
terminal software-installation kali-linux xdotool
Since I have problems with my Internet connection I'm not able to always run commandapt-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
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#
What I'm doing wrong?
Can you suggest me other methods of installation of xdotool (but without Internet connection)?
terminal software-installation kali-linux xdotool
terminal software-installation kali-linux xdotool
edited Mar 29 '17 at 18:31
asked Mar 29 '17 at 18:03
user219258
1
Did you runmake
beforemake install
? You are also likely to need development packages to compile.
– Bruno9779
Mar 29 '17 at 18:12
2
ALSO, read up about persistent storage for live mediums. It looks like the real game changer for your issue
– Bruno9779
Mar 29 '17 at 18:13
@Bruno9779 for first comment I edited my question above. For second comment, I know for persistence and already tried different tutorials and none of them unfortunately didn't work.
– user219258
Mar 29 '17 at 18:33
Why do you download the source code and try to compile it, instead of downloading the binary.deb
(the oneapt-get install xdotool
would also fetch and install, without compiling)?
– egmont
Mar 30 '17 at 0:11
add a comment |
1
Did you runmake
beforemake install
? You are also likely to need development packages to compile.
– Bruno9779
Mar 29 '17 at 18:12
2
ALSO, read up about persistent storage for live mediums. It looks like the real game changer for your issue
– Bruno9779
Mar 29 '17 at 18:13
@Bruno9779 for first comment I edited my question above. For second comment, I know for persistence and already tried different tutorials and none of them unfortunately didn't work.
– user219258
Mar 29 '17 at 18:33
Why do you download the source code and try to compile it, instead of downloading the binary.deb
(the oneapt-get install xdotool
would also fetch and install, without compiling)?
– egmont
Mar 30 '17 at 0:11
1
1
Did you run
make
before make install
? You are also likely to need development packages to compile.– Bruno9779
Mar 29 '17 at 18:12
Did you run
make
before make install
? You are also likely to need development packages to compile.– Bruno9779
Mar 29 '17 at 18:12
2
2
ALSO, read up about persistent storage for live mediums. It looks like the real game changer for your issue
– Bruno9779
Mar 29 '17 at 18:13
ALSO, read up about persistent storage for live mediums. It looks like the real game changer for your issue
– Bruno9779
Mar 29 '17 at 18:13
@Bruno9779 for first comment I edited my question above. For second comment, I know for persistence and already tried different tutorials and none of them unfortunately didn't work.
– user219258
Mar 29 '17 at 18:33
@Bruno9779 for first comment I edited my question above. For second comment, I know for persistence and already tried different tutorials and none of them unfortunately didn't work.
– user219258
Mar 29 '17 at 18:33
Why do you download the source code and try to compile it, instead of downloading the binary
.deb
(the one apt-get install xdotool
would also fetch and install, without compiling)?– egmont
Mar 30 '17 at 0:11
Why do you download the source code and try to compile it, instead of downloading the binary
.deb
(the one apt-get install xdotool
would also fetch and install, without compiling)?– egmont
Mar 30 '17 at 0:11
add a comment |
1 Answer
1
active
oldest
votes
The error you are getting says that you miss the file XTest.h.
Look up which package provides it with (on debian derivates):
dpkg -S Xtest.h
The package should be libXtst-dev
, you might need to add some repositories, if the command doesn't return anything
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f354634%2finstall-problem-for-xdotool%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The error you are getting says that you miss the file XTest.h.
Look up which package provides it with (on debian derivates):
dpkg -S Xtest.h
The package should be libXtst-dev
, you might need to add some repositories, if the command doesn't return anything
add a comment |
The error you are getting says that you miss the file XTest.h.
Look up which package provides it with (on debian derivates):
dpkg -S Xtest.h
The package should be libXtst-dev
, you might need to add some repositories, if the command doesn't return anything
add a comment |
The error you are getting says that you miss the file XTest.h.
Look up which package provides it with (on debian derivates):
dpkg -S Xtest.h
The package should be libXtst-dev
, you might need to add some repositories, if the command doesn't return anything
The error you are getting says that you miss the file XTest.h.
Look up which package provides it with (on debian derivates):
dpkg -S Xtest.h
The package should be libXtst-dev
, you might need to add some repositories, if the command doesn't return anything
answered Mar 29 '17 at 19:49
Bruno9779Bruno9779
1,138515
1,138515
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f354634%2finstall-problem-for-xdotool%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Did you run
make
beforemake install
? You are also likely to need development packages to compile.– Bruno9779
Mar 29 '17 at 18:12
2
ALSO, read up about persistent storage for live mediums. It looks like the real game changer for your issue
– Bruno9779
Mar 29 '17 at 18:13
@Bruno9779 for first comment I edited my question above. For second comment, I know for persistence and already tried different tutorials and none of them unfortunately didn't work.
– user219258
Mar 29 '17 at 18:33
Why do you download the source code and try to compile it, instead of downloading the binary
.deb
(the oneapt-get install xdotool
would also fetch and install, without compiling)?– egmont
Mar 30 '17 at 0:11