[sword-devel] cmake python

Greg Hellings greg.hellings at gmail.com
Fri Jan 4 14:36:45 MST 2013


I just made a series of commits which further improve handling of
Python builds. They do the following:

1) Move handling of bindings configuration up a directory level so
CMake can include support for bindings other than SWIG in the future
(unrelated to your complaint)
2) Add detection for the Python development headers and libraries that
are necessary. This should leave you and anyone else wanting to build
the library with bindings a little less flustered when Python is
supposedly detected by CMake but not able to build.
3) Adds the ability for the user to optionally define
SWORD_PYTHON_INSTALL_DIR which will be passed as an argument to --home
when setup.py is invoked.

These are in the tip of SVN. Let me know if they resolve that problem
for you. I haven't had a chance to get your ICU fix worked out, but
that's next on my list.


On Sat, Dec 22, 2012 at 12:51 PM,  <cricketc at gmail.com> wrote:
> On Wed, Dec 19, 2012 at 9:06 PM, Greg Hellings <greg.hellings at gmail.com> wrote:
>>> On Tue, Dec 18, 2012 at 9:27 PM,  <cricketc at gmail.com> wrote:
>>> Here's a patch that helps some with osistest. I still get the
>>> following error when I run osistest, though:
>>> UTF8Transliterator: ICU: no resource index to load
>>> UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
>> This is because it's not finding the locales or some such. I very
>> frequently get it, mainly when running from an uninstalled SWORD
>> instance but it happens other times even on install.
>> I'll see about applying these patches.
> Here's patch that I think helps with the ICU support. It finds the
> genrb command, and then also sets the ICU_VERSION variable, like the
> configure build system does. (The osis test still fails, but it
> doesn't have the UTF8Transliterator error.)
> -Ben
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

More information about the sword-devel mailing list