我装完anjuta-2.0.1 得必须包之后,再conifgure anjuta 但是就出现这个错误,我 要如何解决阿?如何设置它得那个PKG_CONFIG_PATH 环境变量阿?我 用 vi ./bash_profile 好象不是这个,因为打开了它显示时newfile.
另外,用vi打开的文件 ,修改完后,如何保存阿?
Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found
configure: error: Library requirements (gtk+-2.0 >= 2.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
我用./configure --prefix=/usr; make; make install 来安装pango-1.9.1, 但是,安装完后再安装gtk+-2.8.7 时就提示下面得信息,但我已经使用 export PKG_CONFIG_PATH=/usr/lib/pkgconfig 了 。里面有pango.pc 这个文件的,为什么还是提示找不到pango呢?我应该怎样配置阿?
Package pango was not found in the pkg-config search path.
Perhaps you should add the directory containing `pango.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pango' 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 BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
老大,我已经在同一个终端下 export 啦,但是在./configure gtk+-2.8.7 到最后都是会出现错误阿!还要如何解决阿?求救阿!
checking for XRRUpdateConfiguration in -lXrandr... yes
checking for X11/extensions/Xrandr.h... yes
checking Pango flags... configure: error:
*** Pango not found. Pango built with Cairo support is required
*** to build GTK+. See http://www.pango.org for Pango information.