我正在尝试安装 gtk+-3.6.4
我的配置因以下错误而中断:
checking Pango flags... -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -L/usr/local/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0
checking for GDK_DEP... yes
checking for ATK... no
configure: error: Package requirements (atk atk-bridge-2.0) were not met:
No package 'atk-bridge-2.0' 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 ATK_CFLAGS
and ATK_LIBS to avoid the need to call pkg-config.
我已经安装了
sudo apt-get install libatk1.0*
知道如何解决这个问题吗?
最佳答案
我有完全相同的错误,在我的例子中我使用了
sudo apt-get install libatk-bridge2.0
请注意,我使用的是 Ubuntu,无论如何,如果我是正确的话,你想要的包是 libatk-bridge2.0
。
关于c++ - gtk 配置错误 - 找不到包 'atk-bridge-2.0',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16887942/