在尝试使用gtk + 2.0构建emacs 24.5时出现以下错误
checking whether GTK compiles... no
configure: error: Gtk+ wanted, but it does not compile, see config.log.
Maybe some x11-devel files missing?
我正在使用以下命令
./configure --prefix=/some_path/ --with-x-toolkit=gtk2 --enable-link-time-optimization
我已经在网上搜索过但仍然无法解决此错误
答案 0 :(得分:0)
要构建需要GTK +的软件包,您需要安装开发软件包,其中包含编译所需的头文件。
在基于Debian的系统(例如Ubuntu)上,所需的包将命名为List<WebElement> buttons=driver.findElements(By.className("ui-dialobuttonset"));
buttons.get(0).click().
。