<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">Am Mi., 10. Okt. 2018 um 13:31 Uhr schrieb Amar Tumballi <<a href="mailto:atumball@redhat.com">atumball@redhat.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 10, 2018 at 4:43 PM David Spisla <<a href="mailto:spisla80@gmail.com" target="_blank">spisla80@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi folks,</div><div>I am trying some stuff with xlator compiling and at the moment I use a Makefile according to this manual: <a href="https://github.com/gluster/glusterfs/blob/master/doc/developer-guide/translator-development.md#this-time-for-real" target="_blank">https://github.com/gluster/glusterfs/blob/master/doc/developer-guide/translator-development.md#this-time-for-real</a></div><div><br></div></div></div></blockquote><div><br></div><div>While this gives a great details about translator developments, it may not be up-to-date! Will get to fixing that!</div></div></div></blockquote><div>I am looking forward for this! <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div></div><div>There is a Lib called 'glusterfs' which is used by the Linker to create the so file. This refers to a package 'glusterfs-api-devel' which has to be installed when using that Lib in the Makefile. One will have a folder /usr/include/glusterfs which contains a lot of Header files from the Gluster Source.</div><div><br></div><div>
In my opinion all the Header files inside there are also in the GLFS
Source Tree and one doesn't need that library to compile xlators to so
files. If I remove that library in the Makefile the compilation succeed
and the xlator is running correctly.
</div><div><br></div><div>If I want to compile a xlator without the GLFS Source Tree by using only that 'glusterfs-api-devel' the compiler misses a lot of sources.</div><div><br></div><div>But what is the meaning of that library now? Is the manual linked above outdated?</div><div>At the moment I prefer not using that 'glusterfs' library and compile only from the GLFS Soruce Tree.<br></div><div><br></div></div></div></blockquote><div> </div><div>Two questions:<div><br></div><div>Are you looking at developing a translator outside of glusterfs tree? like mentioned @ <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1636297" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1636297</a> ?</div></div></div></div></blockquote><div>Nice project. I am looking for this option! But it should be a solution without installing global packages, something like a minimal source tree <br></div><div><br></div><div>Regards</div><div>David<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><div><br></div><div>Or do you want to add a translator to glusterfs source tree? Then I recommend having a look at <a href="https://github.com/gluster/glusterfs/tree/master/xlators/playground/template/src" target="_blank">https://github.com/gluster/glusterfs/tree/master/xlators/playground/template/src</a></div><div><br></div><div>-Amar</div></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div></div><div>Regards</div><div>David Spisla<br></div><div> <br></div><div><br></div><div><br></div></div></div>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-devel</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-7845880726295136441gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Amar Tumballi (amarts)<br></div></div></div></div></div></div>
</blockquote></div></div>