<div dir="ltr"><div>OK. It worked on another node with the same OS version.  I will have to fix the node where it doesnt work.<br><br></div>Thanks for the help. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 8, 2014 at 11:28 AM, Prakash Madiraju <span dir="ltr">&lt;<a href="mailto:prakashm@fractalio.com" target="_blank">prakashm@fractalio.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,<br><br></div>Thanks for the reply.<br><br> I did install all the packages mentioned in the link. Still it does not work for me. pasted below the error logs.<br><br><br>&gt;&gt;[root@prakash LinuxRPM]# cat /etc/redhat-release <br>&gt;&gt;CentOS release 6.6 (Final)<br><br><div><div><div><br>Processing files: glusterfs-server-3.6.1-0.23.git471292e.el6.x86_64<br>error: File not found: /home/prakash/gluster/glusterfs/glusterfs/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/etc/init.d/glusterd<br>Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zZbSq6<br>+ umask 022<br>+ cd /home/prakash/gluster/glusterfs/glusterfs/extras/LinuxRPM/rpmbuild/BUILD<br>+ cd glusterfs-3.6.1<br>+ DOCDIR=/home/prakash/gluster/glusterfs/glusterfs/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/usr/share/doc/glusterfs-server-3.6.1<br>+ export DOCDIR<br>+ rm -rf /home/prakash/gluster/glusterfs/glusterfs/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/usr/share/doc/glusterfs-server-3.6.1<br>+ /bin/mkdir -p /home/prakash/gluster/glusterfs/glusterfs/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/usr/share/doc/glusterfs-server-3.6.1<br>+ cp -pr extras/clear_xattrs.sh /home/prakash/gluster/glusterfs/glusterfs/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/usr/share/doc/glusterfs-server-3.6.1<span class=""><br>+ exit 0<br><br><br>RPM build errors:<br></span>    File not found: /home/prakash/gluster/glusterfs/glusterfs/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/etc/init.d/glusterd<br><br></div></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 4, 2014 at 2:44 PM, Niels de Vos <span dir="ltr">&lt;<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On Thu, Dec 04, 2014 at 08:46:55AM +0530, Prakash Madiraju wrote:<br>
&gt; On both master and release-3.6 branch, I am not able to build gluster rpms<br>
&gt; on CentOS 6.5.<br>
&gt;<br>
&gt; &gt;&gt;cd extras/LinuxRPM<br>
&gt; &gt;&gt;make glusterrpms<br>
&gt;<br>
&gt; + cp -pr extras/clear_xattrs.sh<br>
&gt; ....../glusterfs/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/usr/share/doc/glusterfs-server-3.6.1<br>
&gt; + exit 0<br>
&gt;<br>
&gt;<br>
&gt; RPM build errors:<br>
&gt;     File not found:<br>
&gt; ..../extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/etc/init.d/glusterd<br>
&gt; make: *** [rpms] Error 1<br>
&gt;<br>
&gt; Any help ??<br>
<br>
</div></div>I just installed a CentOS-6.5 to check, but this works for me... I<br>
expect that you have a missing package (redhat-rpm-config?) that causes<br>
the build to fail. Please re-check the packages you have installed,<br>
<a href="http://www.gluster.org/community/documentation/index.php/CompilingRPMS" target="_blank">http://www.gluster.org/community/documentation/index.php/CompilingRPMS</a><br>
should contain a reference for all the needed ones.<br>
<br>
HTH,<br>
Niels<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>