我正在尝试从https://wiki.documentfoundation.org/DLP/Libraries/libvisio在我的 mac os x 中添加 libvisio
我已经添加了下面列出的所有依赖项:
boost
gperf
icu
librevenge
libxml2
perl
doxygen
添加依赖项后,我正在尝试运行以下命令。
$ ./autogen.sh ''# only needed for building from git''
$ ./configure
$ make
$ make install
但是我对第二个命令有问题$ ./configure
得到以下错误。
configure: error: Package requirements (
libxml-2.0
) were not met:
No package 'libxml-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 LIBXML_CFLAGS
and LIBXML_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
我试图安装 libxml2$ brew install libxml
但它说Warning: libxml2-2.9.3 already installed
。
我正在使用 OS X 10.11.4
有人可以帮我吗?谢谢