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. Ref: https://lists.gluster.org/pipermail/gluster-users/2018-January/033302.html
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" <amarts> 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. Change-Id: I3c4586e5555a521be5d4fb61bdb873ae0317311a Fixes: bz#1599219 Reported-by: Sachidananda Urs <surs> Signed-off-by: Niels de Vos <ndevos>
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 [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] https://lists.gluster.org/pipermail/announce/2018-October/000115.html [2] https://www.gluster.org/pipermail/gluster-users/