David,<br><br>Cool! I&#39;ll take a look at it ASAP. I suppose I&#39;ll start (optionally) adapting TM one function at a time, and polishing the implementation of each function as I convert it. I&#39;ll keep my changes local for today/tomorrow in case you&#39;d like to do a release (a good idea, IMO). Let&#39;s just be extra careful not to muddle things up, instead of another branching mishap :P<br>
<br>Best,<br>Brendan<br><br><div class="gmail_quote">On Sun, Dec 27, 2009 at 9:05 PM, David Bruce <span dir="ltr">&lt;<a href="mailto:davidstuartbruce@gmail.com">davidstuartbruce@gmail.com</a>&gt;</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;">
Hi Brendan,<br>
<div class="im"><br>
&gt; Built with libtool.  The autotools build of libt4kcommon can be done<br>
&gt; from tux4kids/branches/commonification/t4kcommon/trunk with:<br>
&gt;<br>
&gt; autoreconf -i<br>
&gt; ./configure<br>
&gt; make<br>
&gt; sudo make install<br>
<br>
</div>Well, after an afternoon of puzzlement and RTFMing, I eventually found<br>
that t4k-menu.c had undefined max() and min() functions/macros that<br>
somehow didn&#39;t cause errors when I compiled libt4kcommon, but that<br>
caused configure to fail to link libt4kcommon to tuxmath.  After<br>
fixing those, now it works.  Tuxmath in trunk now has an option to<br>
link to libt4kcommon that is disabled by default.  It doesn&#39;t do<br>
anything with it yet - none of the files have an #include<br>
t4k-common.h.<br>
<br>
To build tuxmath in trunk with the new linkage, first do the above<br>
&quot;./configure; make; sudo make install&quot; for libt4kcommon.  Then build<br>
and install tuxmath with:<br>
<br>
./configure --with-libt4kcommon<br>
make<br>
sudo make install<br>
<br>
We should now be able to start adapting tuxmath to use the functions<br>
from libt4kcommon.  My only questions are whether we should make<br>
(another) tuxmath branch to do this, and whether we should put out a<br>
tuxmath 1.8.0 &quot;as is&quot; before we get embroiled in the transition to<br>
libt4k.  I&#39;m inclined to push out a new release in the next couple of<br>
days while my family is away.<br>
<br>
Best,<br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br>