Description of problem:
If libxml2-devel is installed after generating the configure script (for any reason whatsoever), autogen.sh has to be run again. Else, the configure script fails saying libxml2-devel is not installed,
configure: error: libxml2 devel libraries not found
which is quite confusing and misleading.
However this is not the caes for other packages. We should add it in
a FAQ if fixing this is not possible for any reason.
REVIEW: https://review.gluster.org/20589 (build: use standard PKG_CHECK_MODULES for libxml2 availability) posted (#1) for review on master by Niels de Vos
COMMIT: https://review.gluster.org/20589 committed in master by "Amar Tumballi" <email@example.com> with a commit message- build: use standard PKG_CHECK_MODULES for libxml2 availability
In case the development parts of libxml2 are not installed, it was
required to re-run ./autogen.sh to cleanup the cached values for the
check. This is not nice towards users. By using the standard
PKG_CHECK_MODULES for libxml-2.0 the results of the check are not cached
and will be probed again when running ./configure.
Reported-by: Sachidananda Urs <firstname.lastname@example.org>
Signed-off-by: Niels de Vos <email@example.com>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-5.0, please open a new bug report.
glusterfs-5.0 has been announced on the Gluster mailinglists , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.