我正在尝试从https://wiki.documentfoundation.org/DLP/Libraries/libvisio将libvisio添加到我的Mac OS X中。
我已经添加了所有以下列出的依赖项:
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.
我尝试使用$ brew install libxml
安装libxml2,但它显示Warning: libxml2-2.9.3 already installed
。
我正在使用OS X 10.11.4。
能否有人在这里帮助我。谢谢。