标题: 编译,安装一个软件时提示找不到libgnomeprint-2.2。 [打印本页] 作者: dpx4086 时间: 2007-08-18 10:50 标题: 编译,安装一个软件时提示找不到libgnomeprint-2.2。 RHEL4系统,编译,安装linsmith时提示找不到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.