|
RHEL4系统,已经安装libgnomeprint-2.2,编译安装软件时却提示找不到libgnomeprint-2.2。
以下是./configure中止的提示信息:
......
checking for GNOMEPRINT... Package libgnomeprint-2.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnomeprint-2.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnomeprint-2.2' found
configure: error: Package requirements (libgnomeprint-2.2 >= 2.2) were not met:
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GNOMEPRINT_CFLAGS
and GNOMEPRINT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
我找了libgnomeprint-2.2.1.3.tar.bz2和libgnomeprint-2.2.1.3-0.ximian.6.2.i586.rpm,分别都装了,而且也执行了
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
并且我也能在/usr/local/lib/pkgconfig里面看到有libgnomeprint-2.2.pc文件,可就是./configure的时候总是中止,然后提示上面的信息。
请问这个要怎么解决?谢谢。 |
|