When I run the make of cyrus-imapd-2.4.17-caldav-beta9 get the following error:
In file included from httpd.c:68:0:
httpd.h:48:25: fatal error: libxml/tree.h: No such file or directory
compilation terminated.
I'm trying to install this beta version that supports calendars.
I have installed libxml2-dev.
apt-get install libxml2-dev
My operating system is Debian 7.
What am I forgetting?
Thanks.
Try including
`xml2-config --cflags`
and
`xml2-config --libs`
in your gcc args. This will probably fix the issue.
For some(in centos) who is not in this case, but encounter this error, the next may help (if in ubuntu, switch to 'apt install' ):
yum install -y libxml2-devel libxml2
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