<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>I still recommend using the spec file to see how the packages are
built. <br>
</p>
<br>
<div class="moz-cite-prefix">On 03/27/2017 09:47 AM, Manohar Mikkili
wrote:<br>
</div>
<blockquote
cite="mid:CADbcyRdW3kaWfERGem_t6Eva+SAOe03ceOBZR4ZeRYzXXG4irg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>thanks Niels, for your advice.<br>
</div>
we are trying to bundle the glusterfs rpm in our binary,
which is shipped to customer.<br>
</div>
so, "yum install gluster" is not an option.<br>
<br>
</div>
I tried as you asked, but no luck, could you pls take a look
and advise? thanks in advance.<br>
<br>
[root@sipp tmp]# yum install /usr/include/sys/acl.h<br>
Loaded plugins: product-id, refresh-packagekit, security,
subscription-manager<br>
This system is not registered to Red Hat Subscription
Management. You can use subscription-manager to register.<br>
Setting up Install Process<br>
C6.6-extras
| 3.4 kB 00:00<br>
YumRepo Error: All mirror URLs are not using ftp, http[s] or
file.<br>
Eg. Invalid release/<br>
removing mirrorlist with no valid mirrors:
/var/cache/yum/x86_64/6Server/extras/mirrorlist.txt<br>
Error: Cannot retrieve repository metadata (repomd.xml) for
repository: extras. Please verify its path and try again<br>
<br>
<br>
</div>
<i>[root@sipp etc]# cat /etc/yum.repos.d/centos-extras.repo<br>
#additional packages that may be useful<br>
[extras]<br>
name=CentOS-$releasever - Extras<br>
mirrorlist=<a moz-do-not-send="true"
href="http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra">http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra</a><br>
#baseurl=<a moz-do-not-send="true"
href="http://mirror.centos.org/centos/$releasever/extras/$basearch/">http://mirror.centos.org/centos/$releasever/extras/$basearch/</a><br>
gpgcheck=1<br>
gpgkey=<a class="moz-txt-link-freetext" href="file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6</a><br>
<br>
[C6.0-extras]<br>
name=CentOS-6.0 - Extras<br>
baseurl=<a moz-do-not-send="true"
href="http://vault.centos.org/6.0/extras/$basearch/">http://vault.centos.org/6.0/extras/$basearch/</a><br>
gpgcheck=1<br>
gpgkey=<a class="moz-txt-link-freetext" href="file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6</a><br>
enabled=0<br>
<br>
[C6.1-extras]<br>
name=CentOS-6.1 - Extras<br>
baseurl=<a moz-do-not-send="true"
href="http://vault.centos.org/6.1/extras/$basearch/">http://vault.centos.org/6.1/extras/$basearch/</a><br>
gpgcheck=1<br>
gpgkey=<a class="moz-txt-link-freetext" href="file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6</a><br>
enabled=0<br>
<br>
[C6.2-extras]<br>
name=CentOS-6.2 - Extras<br>
baseurl=<a moz-do-not-send="true"
href="http://vault.centos.org/6.2/extras/$basearch/">http://vault.centos.org/6.2/extras/$basearch/</a><br>
gpgcheck=1<br>
gpgkey=<a class="moz-txt-link-freetext" href="file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6</a><br>
enabled=0<br>
<br>
[C6.3-extras]<br>
name=CentOS-6.3 - Extras<br>
baseurl=<a moz-do-not-send="true"
href="http://vault.centos.org/6.3/extras/$basearch/">http://vault.centos.org/6.3/extras/$basearch/</a><br>
gpgcheck=1<br>
gpgkey=<a class="moz-txt-link-freetext" href="file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6</a><br>
enabled=0<br>
<br>
[C6.4-extras]<br>
name=CentOS-6.4 - Extras<br>
baseurl=<a moz-do-not-send="true"
href="http://vault.centos.org/6.4/extras/$basearch/">http://vault.centos.org/6.4/extras/$basearch/</a><br>
gpgcheck=1<br>
gpgkey=<a class="moz-txt-link-freetext" href="file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6</a><br>
enabled=0<br>
<br>
[C6.5-extras]<br>
name=CentOS-6.5 - Extras<br>
baseurl=<a moz-do-not-send="true"
href="http://vault.centos.org/6.5/extras/$basearch/">http://vault.centos.org/6.5/extras/$basearch/</a><br>
gpgcheck=1<br>
gpgkey=<a class="moz-txt-link-freetext" href="file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6</a><br>
enabled=0<br>
<br>
[C6.6-extras]<br>
name=CentOS-6.6 - Extras<br>
baseurl=<a moz-do-not-send="true"
href="http://vault.centos.org/6.6/extras/$basearch/">http://vault.centos.org/6.6/extras/$basearch/</a><br>
gpgcheck=1<br>
gpgkey=<a class="moz-txt-link-freetext" href="file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6</a><br>
enabled=1<br>
</i><br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Mar 27, 2017 at 7:56 PM, Niels
de Vos <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span
class="">On Mon, Mar 27, 2017 at 04:11:38PM +0200, Niels
de Vos wrote:<br>
> On Mon, Mar 27, 2017 at 07:24:38PM +0530, Manohar
Mikkili wrote:<br>
> > Hi,<br>
> ><br>
> > I am trying to build glusterfs v3.10.0 on a RHEL
6.6 (x86_64 GNU/Linux)<br>
> ><br>
> > $./autoConfig # works fine<br>
> > $ ./configure --enable-fusermount<br>
> > ....<br>
> > ....<br>
> > ....<br>
> > checking for sys/acl.h... no<br>
> > configure: error: Support for POSIX ACLs is
required<br>
> ><br>
> > pls guide/advise, which rpm/library should be
installed to get past the<br>
> > above error?<br>
><br>
> You need to install libacl-devel. On systems with
YUM, you can run this:<br>
><br>
> # yum install /usr/include/sys/acl.h<br>
><br>
> That way should work for other missing header files
as well. In the<br>
> glusterfs.spec(.in) file the BuildRequires list all
RPM packages too.<br>
><br>
> Alternatively, you can use the builds from the CentOS
Storage SIG so<br>
> that you do not need to compile anything yourself:<br>
><br>
> # yum install centos-release-gluster<br>
> # yum install glusterfs-server<br>
<br>
</span>Oh, this works when the CentOS Extras repository is
available, which it<br>
is not by default on RHEL, duh!<br>
<br>
You can edit the .repo file that comes from the
centos-release package:<br>
<br>
$ cd /var/tmp<br>
$ curl -o <a moz-do-not-send="true"
href="http://mirror.centos.org/centos/6/os/x86_64/Packages/centos-release-6-8.el6.centos.12.3.x86_64.rpm"
rel="noreferrer" target="_blank">http://mirror.centos.org/<wbr>centos/6/os/x86_64/Packages/<wbr>centos-release-6-8.el6.centos.<wbr>12.3.x86_64.rpm</a><br>
$ rpm2cpio < centos-release*.rpm | cpio -id '*.repo'<br>
$ ls etc/yum.repos.d/<br>
<br>
Copy the definition for the extras repository to a new file
under<br>
/etc/yum.repos.d/centos-<wbr>extras.repo and you should be
able to have it<br>
all working with that.<br>
<br>
Niels<br>
<br>
<br>
><br>
> HTH,<br>
> Niels<br>
<br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://lists.gluster.org/mailman/listinfo/gluster-devel">http://lists.gluster.org/mailman/listinfo/gluster-devel</a></pre>
</blockquote>
<br>
</body>
</html>