diff options
author | Vijaykumar Koppad <vkoppad@redhat.com> | 2014-02-19 18:51:26 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-02-25 20:28:19 -0800 |
commit | 64079f83528edb4cc4ae1a85a8633fd578b6e393 (patch) | |
tree | d5664e6ea892b533f2fc7d9111e04a7c5443df16 /xlators | |
parent | fc01b0293bef8ba14650c6a52f733bb6b6b77954 (diff) |
build: fail configure if the libxml2 devel package is missing.
Problem:
Geo-replication uses volume info xml output.
While installing glusterfs through build+install from source,
and if the libxml2-devel package is not present in the system,
build will succeed with just warning and XML output : no.
If user fails to observe this and doesn't know that
geo-rep is dependent on xml output, user won't be able use
geo-rep.
Solution:
If libxml2-devel is unavailable, and if geo-rep is enabled error out in configure,
otherwise just warn with XML_OUTPUT = no.
If the xml-output is disabled while configuring, error out if
geo-rep is enabled, otherwise just warn.
Change-Id: Icde5d0c1e5f3b869e7db6ed6a046bdc49b450fcb
BUG: 1066997
Signed-off-by: Vijaykumar Koppad <vkoppad@redhat.com>
Reviewed-on: http://review.gluster.org/7131
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions