Thanks Erick, figured out this to be a libtool issue it produces *.a for a debian based tarball, not on Fedora 11 libtool. <br><br>Regards<br>--<br clear="all">Harshavardhana<br>Gluster - <a href="http://www.gluster.com">http://www.gluster.com</a><br>
<br><br><div class="gmail_quote">On Thu, Dec 3, 2009 at 4:32 AM, Erick Tryzelaar <span dir="ltr"><<a href="mailto:idadesub@users.sourceforge.net">idadesub@users.sourceforge.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
My Fedora 11 machine doesn't seem to make the .a files, so it errors out,<br>
but it appears someone else's machine does, so try to fix it by explicitly<br>
removing the .a and .la files, rather than excluding them from the %files<br>
section.<br>
---<br>
<a href="http://glusterfs.spec.in" target="_blank">glusterfs.spec.in</a> | 5 ++---<br>
1 files changed, 2 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/<a href="http://glusterfs.spec.in" target="_blank">glusterfs.spec.in</a> b/<a href="http://glusterfs.spec.in" target="_blank">glusterfs.spec.in</a><br>
index 9ce6f1b..446018a 100644<br>
--- a/<a href="http://glusterfs.spec.in" target="_blank">glusterfs.spec.in</a><br>
+++ b/<a href="http://glusterfs.spec.in" target="_blank">glusterfs.spec.in</a><br>
@@ -143,7 +143,8 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool<br>
%{buildroot}%{_includedir}/glusterfs/<br>
<br>
# Remove unwanted files from all the shared libraries<br>
-find %{buildroot}%{_libdir}/glusterfs -name '*.la' | xargs rm -f<br>
+find %{buildroot}%{_libdir} -name '*.la' | xargs rm -f<br>
+find %{buildroot}%{_libdir} -name '*.a' | xargs rm -f<br>
<br>
%clean<br>
%{__rm} -rf %{buildroot}<br>
@@ -197,8 +198,6 @@ fi<br>
%{_includedir}/glusterfs<br>
%{_includedir}/libglusterfsclient.h<br>
%exclude %{_includedir}/glusterfs/y.tab.h<br>
-%exclude %{_libdir}/*.la<br>
-%exclude %{_libdir}/*.a<br>
%{_libdir}/*.so<br>
<br>
%changelog<br>
--<br>
1.6.2.5<br>
<br>
<br>
<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a><br>
<a href="http://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">http://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
</blockquote></div><br>