<div dir="ltr"><div>I'm curious, why do people seem to prefer cmake to make? Is that a python thing?<br><br></div>~A<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 4, 2013 at 5:09 PM, Greg Hellings <span dir="ltr"><<a href="mailto:greg.hellings@gmail.com" target="_blank">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">On Sat, Dec 22, 2012 at 12:51 PM, <<a href="mailto:cricketc@gmail.com">cricketc@gmail.com</a>> wrote:<br>
> On Wed, Dec 19, 2012 at 9:06 PM, Greg Hellings <<a href="mailto:greg.hellings@gmail.com">greg.hellings@gmail.com</a>> wrote:<br>
>>> On Tue, Dec 18, 2012 at 9:27 PM, <<a href="mailto:cricketc@gmail.com">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>
> _______________________________________________<br>
> sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
> Instructions to unsubscribe/change your settings at above page<br>
<br>
_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</blockquote></div><br></div>