<div class="gmail_quote">On Wed, Sep 15, 2010 at 10:55 AM, Greg Hellings <span dir="ltr"><<a href="mailto:greg.hellings@gmail.com">greg.hellings@gmail.com</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">
<br>
</div>IMO, it would be the other way. If people see a CMake system they<br>
will probably think it's exactly like the autotools, which is not easy<br>
to guarantee. I would think CMake should be held off for a feature<br>
update release and the bindings fixes should be included. My<br>
alterations in the bindings directory aren't adding new functionality<br>
- it's fixes for functionality which was there but long broken. I<br>
would hesitate to include those changes though, until we've heard from<br>
the BPBible team. I've asked a few times since I made the changes and<br>
haven't seen any comments from them on here. Either they don't use<br>
SVN HEAD in their development, or they haven't noticed any breakage.<br>
<font color="#888888"><br>
--Greg<br></font></blockquote><div><br>I did try building sword with cmake on OS X and it seemed to work, as did the bindings. But I didn't ever get round to running with it. I'm doing that now, and it appears that there are problems with it with some of the VerseKey added methods like bookName<br>
(i.e.<br>>>> vk = Sword.VerseKey()<br>>>> vk.bookName(2, 2)<br>b is null for 4536913?!?<br>)<br><br>Could this be because the python version is linking against a libsword 1.6.1 dylib (which was already there from a previous compilation without cmake) and there have been changes in the .h files which it was including when building the swig which break things (i.e. no ABI compatibility with 1.6.1)? That's all I can think of. I haven't got any time to look at it at the moment really.<br>
<br>Currently trying to use the cmake checked into sword's trunk gives this error: <br>[ 3%] Building CXX object CMakeFiles/buildtest.dir/buildtest.cpp.o<br>Linking CXX executable buildtest<br>[ 3%] Built target buildtest<br>
make[2]: *** No rule to make target `../sword', needed by `CMakeFiles/pythonswig'. Stop.<br>make[1]: *** [CMakeFiles/pythonswig.dir/all] Error 2<br>make: *** [all] Error 2<br></div><div><br clear="all">God Bless,<br>
Ben<br>-------------------------------------------------------------------------------------------<br>Multitudes, multitudes,<br> in the valley of decision!<br>For the day of the LORD is near<br> in the valley of decision.<br>
<br>Giôên 3:14 (ESV)<br> </div></div>