[Gluster-devel] unable to build glusterfs rpm on RHEL 6.6

Niels de Vos ndevos at redhat.com
Mon Mar 27 14:11:38 UTC 2017


On Mon, Mar 27, 2017 at 07:24:38PM +0530, Manohar Mikkili wrote:
> Hi,
> 
> I am trying to build glusterfs v3.10.0 on a RHEL 6.6 (x86_64 GNU/Linux)
> 
> $./autoConfig # works fine
> $ ./configure  --enable-fusermount
> ....
> ....
> ....
> checking for sys/acl.h... no
> configure: error: Support for POSIX ACLs is required
> 
> pls guide/advise, which rpm/library should be installed to get past the
> above error?

You need to install libacl-devel. On systems with YUM, you can run this:

  # yum install /usr/include/sys/acl.h

That way should work for other missing header files as well. In the
glusterfs.spec(.in) file the BuildRequires list all RPM packages too.

Alternatively, you can use the builds from the CentOS Storage SIG so
that you do not need to compile anything yourself:

  # yum install centos-release-gluster
  # yum install glusterfs-server

HTH,
Niels
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20170327/242f627f/attachment.sig>


More information about the Gluster-devel mailing list