Ubuntu – Configuring wacom tablet on Ubuntu 12.10 by installing missing dependencies

12.10dependenciesgimpwacomxorg

I've been reading a book on Gimp. The book recommended that I visit the LinuxWacom Project for the drivers of a Wacom tablet I own.

After extracting the tarball, I have to configure and make install. But this part is where ./configure got interesting.

configure: error: Package requirements (xorg-server >= 1.7.0 xproto xext kbproto inputproto randrproto) were not met:

No package 'xorg-server' found
No package 'xproto' found
No package 'xext' found
No package 'kbproto' found
No package 'inputproto' found
No package 'randrproto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
john@kotux:~/xf86-input-wacom-0.20.0$ 

Not to mention my laptop on 12.10 has Xorg version 1.13.0. Not right.

I thought it was as simple as installing the missing dependencies via apt-get, but they didn't work.

john@kotux:~/xf86-input-wacom-0.20.0$ sudo apt-get install xorg-server xproto xext 
kbproto inputproto randrproto
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package xorg-server
E: Unable to locate package xproto
E: Unable to locate package xext
E: Unable to locate package kbproto
E: Unable to locate package inputproto
E: Unable to locate package randrproto

How can I install these missing packages? I wish the process does not require much manual installation.

Best Answer

You need a lot of -dev packages to compile this. Try the following:

sudo apt-get install xserver-xorg-dev libxext-dev libxinerama-dev libxrandr-dev libxi-dev libudev-dev
Related Question