ubuntux11

How to find X11/extensions/XTest.h


I am using ubuntu 10.10, and when i compile chromium, it said remoting/host/event_executor_linux.cc:9: fatal error: X11/extensions/XTest.h: No such file or directory

But i have already installed libx11-dev:

$ sudo apt-get install  libx11-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libx11-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Please tell me how can I fix my problem.

Thank you.


Solution

  • Install the libxtst-dev package on Ubuntu and you'll be able to compile Chromium sources.

    For distros based on Fedora, the package is named libXtst-devel (note the capital 'X')