I am trying to add libvisio in my mac os x from https://wiki.documentfoundation.org/DLP/Libraries/libvisio
I have added all dependancy described there listed bellow:
boost gperf icu librevenge libxml2 perl doxygen
After adding dependancies i am trying to run bellow commands.
$ ./autogen.sh ''# only needed for building from git'' $ ./configure $ make $ make install
But i having problem with second command $ ./configure
Getting bellow error.
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.
i have tried to install libxml2 with $ brew install libxml
but its says Warning: libxml2-2.9.3 already installed
.
I am using OS X 10.11.4
Can some one help me out here. Thanks
For Ubuntu the following helped me:
apt-get install libxml2-dev
This should also work as I didn't have brew:
yum install libxml2-devel
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With