Are you seeing a problem with $SWORDSRC/src/utilfuns/swversion.cpp not finding config.h?<div>./src/sword/utilfuns/swversion.cpp:18:20: fatal error: config.h: No such file or directory<br><br>~A</div><div><span></span><br>On Saturday, January 5, 2013, Ben wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Andrew,<br>
<br>
Cmake is a replacement for autotools/configure - it still uses make. Cmake isn't related to python.<br>
<br>
The normal sequence with cmake is:<br>
cmake<br>
make<br>
make install<br>
<br>
The normal sequence otherwise is:<br>
./configure<br>
make<br>
make install<br>
<br>
So cmake is just another way of setting up the Makefiles and build process.<br>
<br>
-Ben<br>
<br>
On 01/04/2013 05:42 PM, Andrew Thule wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm curious, why do people seem to prefer cmake to make? Is that a<br>
python thing?<br>
<br>
~A<br>
<br>
<br>
On Fri, Jan 4, 2013 at 5:09 PM, Greg Hellings <<a>greg.hellings@gmail.com</a><br>
<mailto:<a>greg.hellings@gmail.com</a>>> wrote:<br>
<br>
On Sat, Dec 22, 2012 at 12:51 PM, <<a>cricketc@gmail.com</a><br>
<mailto:<a>cricketc@gmail.com</a>>> wrote:<br>
> On Wed, Dec 19, 2012 at 9:06 PM, Greg Hellings<br>
<<a>greg.hellings@gmail.com</a> <mailto:<a>greg.hellings@gmail.com</a>>> wrote:<br>
>>> On Tue, Dec 18, 2012 at 9:27 PM, <<a>cricketc@gmail.com</a><br>
<mailto:<a>cricketc@gmail.com</a>>> wrote:<br>
>>> Here's a patch that helps some with osistest. I still get the<br>
>>> following error when I run osistest, though:<br>
>>> UTF8Transliterator: ICU: no resource index to load<br>
>>> UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR<br>
>><br>
>> This is because it's not finding the locales or some such. I very<br>
>> frequently get it, mainly when running from an uninstalled SWORD<br>
>> instance but it happens other times even on install.<br>
>><br>
>> I'll see about applying these patches.<br>
><br>
> Here's patch that I think helps with the ICU support. It finds the<br>
> genrb command, and then also sets the ICU_VERSION variable, like the<br>
> configure build system does. (The osis test still fails, but it<br>
> doesn't have the UTF8Transliterator error.)<br>
<br>
Your patch was on the right path but used icu-config which is horridly<br>
broken in native Windows builds (it's a Bash script) or in cross-build<br>
environments from Linux (it explodes looking for a .so library when it<br>
should look for a .dll).<br>
<br>
I have substituted using CMake's built-in pkg-config functions to pull<br>
out the modversion variable of libicuuc, which is one of the few that<br>
we actually link directly against.<br>
<br>
I wish I could tell you why that fixes the issue, but it does. Thank<br>
you much, because that has been bugging me for a long time. The fix<br>
should be in the SVN HEAD now.<br>
<br>
--Greg<br>
<br>
><br>
> -Ben<br>
><br>
> ______________________________<u></u>_________________<br>
> sword-devel mailing list: <a>sword-devel@crosswire.org</a><br>
<mailto:<a>sword-devel@crosswire.org</a>><br>
> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/<u></u>mailman/listinfo/sword-devel</a><br>
> Instructions to unsubscribe/change your settings at above page<br>
<br>
______________________________<u></u>_________________<br>
sword-devel mailing list: <a>sword-devel@crosswire.org</a><br>
<mailto:<a>sword-devel@crosswire.org</a>><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/<u></u>mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
sword-devel mailing list: <a>sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/<u></u>mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
<br>
</blockquote>
<br>
<br>
______________________________<u></u>_________________<br>
sword-devel mailing list: <a>sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/<u></u>mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</blockquote></div>