You need do only make (and not make install),<div>copy the generated binaries in a bin directory inside the activity directory,</div><div>and probably you will need start the acivity with a .sh file and set env variables.</div>
<div>You can look at the Tuxmath activity as a example.</div><div><br></div><div>Gonzalo</div><div> <br><br><div class="gmail_quote">On Fri, Jun 29, 2012 at 10:59 PM, Sameer Verma <span dir="ltr"><<a href="mailto:sverma@sfsu.edu" target="_blank">sverma@sfsu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, Jun 29, 2012 at 5:37 PM, Alan Jhonn Aguiar Schwyn<br>
<<a href="mailto:alanjas@hotmail.com">alanjas@hotmail.com</a>> wrote:<br>
><br>
> Maybe I don't understand all..<br>
> When activity launs, calls a sh with the commands that you need to make the<br>
> binary. After, only calls the binary and start.<br>
><br>
> Alan<br>
<br>
</div>I was thinking about how we would package the binaries, given that the<br>
.xo activity isn't supposed to install in /usr/local/bin and other<br>
locations. If we bundle the RPM, the olpc user does not have rights to<br>
install the binary.<br>
<span class="HOEnZb"><font color="#888888"><br>
Sameer<br>
</font></span><div class="im HOEnZb"><br>
><br>
>> From: <a href="mailto:sverma@sfsu.edu">sverma@sfsu.edu</a><br>
>> Date: Fri, 29 Jun 2012 17:35:07 -0700<br>
>> Subject: compiled to .XO<br>
>> To: <a href="mailto:sugar-devel@lists.sugarlabs.org">sugar-devel@lists.sugarlabs.org</a>; <a href="mailto:devel@lists.laptop.org">devel@lists.laptop.org</a><br>
><br>
>><br>
>> We are looking at an app that goes through the classic "./configure,<br>
>> make, make install" to compile from source. The compile process runs<br>
>> ok (this is on a XO-1). We are also able to run the binary, but I am<br>
>> unclear about how we would package this into a .xo activity. Any<br>
>> pointers?<br>
>><br>
>> cheers,<br>
>> Sameer<br>
>> _______________________________________________<br>
>> Devel mailing list<br>
>> <a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
>> <a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</div></div></blockquote></div><br></div>