The check for the headers for libxml2 uses an incorrect path.
If you build libxml2 using its default settings, then the headers are
installed as:
<prefix>/include/libxml2/libxml/
but configure checks for:
<prefix>/include/libxml
This causes OpenDKIM to incorrectly fail while trying to detect the
presence of libxml2. I would suggest an "elif" so that things can be
correctly found, along the following lines (to configure.ac):
elif test -f $xml2path/include/libxml2/libxml/parser.h
then
AC_MSG_RESULT($xml2path)
xml2_found="yes"
LIBXML2_CPPFLAGS="-I$xml2path/include/libxml2"
LIBXML2_LDFLAGS="-I$xml2path/lib"
LIBXML2_LIBS="-lxml2"
My guess is most distributions change the default installation behavior of
libxml2.
--Quanah
--
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
Received on Thu Apr 26 2012 - 22:33:58 PST