Re: unable to build glusterfs rpm on RHEL 6.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 27, 2017 at 04:11:38PM +0200, Niels de Vos wrote:
> 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

Oh, this works when the CentOS Extras repository is available, which it
is not by default on RHEL, duh!

You can edit the .repo file that comes from the centos-release package:

  $ cd /var/tmp
  $ curl -o http://mirror.centos.org/centos/6/os/x86_64/Packages/centos-release-6-8.el6.centos.12.3.x86_64.rpm
  $ rpm2cpio < centos-release*.rpm | cpio -id '*.repo'
  $ ls etc/yum.repos.d/

Copy the definition for the extras repository to a new file under
/etc/yum.repos.d/centos-extras.repo and you should be able to have it
all working with that.

Niels


> 
> HTH,
> Niels


Attachment: signature.asc
Description: PGP signature

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux