Link to home
Create AccountLog in
Avatar of opike
opike

asked on

Trying to install latest version of xdotool on ubuntu

I downloaded the tar.gz package for xdotool from a link on this page:
http://www.semicomplete.com/projects/xdotool/#id214700

and now I'm trying to install it with "make all install" but I get the following error message:

ollie@ollie-laptop:~/tools/xdotool-2.20101012.3049$ make all install
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 -std=c99 -I/usr/X11R6/include -I/usr/local/include -fPIC -c xdo.c
xdo.c:26:34: error: X11/extensions/XTest.h: No such file or directory

I know I need to obtain the xlib and xtst libraries and I tried installing these packages from the ubuntu software center:
Xlib/XCB interface library
libx11-xcb1

utility libraries for X C Binding -- image
libxcb-image0

X C Binding, xtest extension
libxcb-xtest0

However I'm still get the same error when I run make.




Avatar of coredatarecovery
coredatarecovery
Flag of United States of America image

http://groups.google.com/group/xdotool-users/browse_thread/thread/18be5fad4f86c4ba?pli=1
Should work on ubuntu 10.10.10, what ubuntu version are you running?

http://packages.debian.org/stable/x11/xdotool
are the dependencies, you might need to install them first.
ASKER CERTIFIED SOLUTION
Avatar of coredatarecovery
coredatarecovery
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of opike
opike

ASKER

I'm using 10.04
http://packages.ubuntu.com/lucid/i386/xdotool/download

Always search for tools first using synaptic package manager as it is an easy way to be certain all the dependencies are installed.

Trying to compile it from scratch is for the birds if you don't know what dependencies are there.
Avatar of opike

ASKER

I upgraded to 10.10 and used the link you provided (http://packages.ubuntu.com/maverick/i386/xdotool/download). Thanks.