David,<br><br>Cool! I'll take a look at it ASAP. I suppose I'll start (optionally) adapting TM one function at a time, and polishing the implementation of each function as I convert it. I'll keep my changes local for today/tomorrow in case you'd like to do a release (a good idea, IMO). Let'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"><<a href="mailto:davidstuartbruce@gmail.com">davidstuartbruce@gmail.com</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;">
Hi Brendan,<br>
<div class="im"><br>
> Built with libtool. The autotools build of libt4kcommon can be done<br>
> from tux4kids/branches/commonification/t4kcommon/trunk with:<br>
><br>
> autoreconf -i<br>
> ./configure<br>
> make<br>
> 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'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'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>
"./configure; make; sudo make install" 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 "as is" before we get embroiled in the transition to<br>
libt4k. I'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>