如何找到 X11/extensions/XTest.h
我使用的是 ubuntu 10.10,当我编译 chromium 时,它说 remoting/host/event_executor_linux.cc:9:致命错误:X11/extensions/XTest.h:没有这样的文件或目录
但是我已经安装了 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.
请告诉我如何修复我的问题问题。
谢谢。
I am using ubuntu 10.10, and when i compile chromium, it saidremoting/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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
安装 libxtst-dev 包,你就可以编译 Chromium 源代码了。
Install
libxtst-dev
package and you'll be able to compile Chromium sources.要查找您的包含文件 (
X11/extensions/XTest.h
) 属于哪个包,请安装apt-file
并搜索它,例如:一旦您找到了包名,安装方式:
当有更多类似的依赖项时,此方法特别有用,因此您不必猜测。
To find to which package your include file (
X11/extensions/XTest.h
) belong to, installapt-file
and search for it, example:Once you've the package name, install via:
This method is especially useful when there are more similar dependencies like that, so you don't have to guess.