安装poppler(pdf中文支持)时出现环境变量设置问题
./configure后,出现下面的问题。但是实际上我已经安装上了fontconifg,最新版本。
-------------
checking for FONTCONFIG... configure: error: Package requirements (fontconfig >= 2.0.0) were not met:
No package 'fontconfig' 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 FONTCONFIG_CFLAGS
and FONTCONFIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
----------------
如何设置这两个环境变量啊?我的电脑里没有echo $FONTCONFIG后没有值.
FONTCONFIG_CFLAGS
FONTCONFIG