<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 9, 2013 at 6:33 AM, Dmitrijs Ledkovs <span dir="ltr"><<a href="mailto:dmitrij.ledkov@ubuntu.com" target="_blank">dmitrij.ledkov@ubuntu.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">On 9 July 2013 03:55, Jonathan Morgan <<a href="mailto:jonmmorgan@gmail.com">jonmmorgan@gmail.com</a>> wrote:<br>
> Hi Greg,<br>
><br>
> Python bindings were packaged by Ubuntu, and I believe 1.6.2 (current<br>
> latest) is still available for Ubuntu.<br>
><br>
<br>
</div>And subsequently dropped, due to failure to compile with gcc-4.7:<br>
<br>
sword (1.6.2+dfsg-4) unstable; urgency=low<br>
<br>
[ Matthias Klose ]<br>
* Fix build failure in installed header file with GCC 4.7.<br>
Addresses: #667387.<br>
<br>
[ Dmitrijs Ledkovs ]<br>
* Remove python-sword swig bindings. Loads of build-time warnings (4.6)<br>
and errors (4.7) and the resulting module was reported not to<br>
work. Should be readded if/when it can be build with gcc 4.7 without<br>
errors. (Closes: #667387)<br>
<br>
-- Dmitrijs Ledkovs <<a href="mailto:xnox@debian.org">xnox@debian.org</a>> Tue, 17 Apr 2012 21:39:11 +0100<br></blockquote><div><br></div><div>I'd appreciate if you can give them another go. I spent quite some time in the latter part of last year cleaning them up. On Fedora with gcc 4.7 now I only get a single warning about unused code when I build them. If you're still seeing errors and warnings, then I'd like to know what your settings are and what your errors are.</div>
<div><br></div><div>I'm keen to have the Swig bindings in a place where they can be included in distros, so if you're still seeing problems, I'd like to work with you and any other packagers to get them resolved.</div>
<div><br></div><div>--Greg</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
> Jon<br>
><br>
><br>
> On Tue, Jul 9, 2013 at 12:55 AM, Greg Hellings <<a href="mailto:greg.hellings@gmail.com">greg.hellings@gmail.com</a>><br>
> wrote:<br>
>><br>
>> So I was trying to solve both the "Perl won't install" and the "Python<br>
>> installs to the wrong place" issues. I committed a fix to the Python install<br>
>> (it was previously only installing to /usr/local regardless of the value of<br>
>> CMAKE_INSTALL_PREFIX) but this fix appears to have magically caused Perl to<br>
>> begin installing on my machine.<br>
>><br>
>> Peter, can you try and do a new install from the latest versions of SVN<br>
>> HEAD?<br>
>><br>
>> Perl is still only installing to /usr/local regardless of where I set<br>
>> CMAKE_INSTALL_PREFIX, but I imagine that fix is low priority at the moment<br>
>> as the bindings are not presently packaged by any distributions I am aware<br>
>> of.<br>
>><br>
>> I would invite distribution maintainers to begin packaging the Python and<br>
>> Perl bindings starting with 1.7.0. I have done lots to clean them up,<br>
>> suppress warnings, and resolve build failures. Packaging the Python bindings<br>
>> would permit packaging of BPBible as well, and also help with keeping the<br>
>> various build options I've created for the bindings clean and tested.<br>
>><br>
>> --Greg<br>
>><br>
>><br>
>> On Sun, Jul 7, 2013 at 3:20 PM, Peter von Kaehne <<a href="mailto:refdoc@gmx.net">refdoc@gmx.net</a>> wrote:<br>
>>><br>
>>> sword-tools/modules/crossreferences/<a href="http://xreffix.pl" target="_blank">xreffix.pl</a> without arguments will<br>
>>> test loading Perl Sword bindings<br>
>>><br>
>>> and in Python:<br>
>>><br>
>>> Simply run from commandline Python and do "import Sword" and see it fail:<br>
>>><br>
>>> >>> import Sword<br>
>>> Traceback (most recent call last):<br>
>>> File "<stdin>", line 1, in <module><br>
>>> File "Sword.py", line 26, in <module><br>
>>> _Sword = swig_import_helper()<br>
>>> File "Sword.py", line 18, in swig_import_helper<br>
>>> import _Sword<br>
>>> ImportError: /usr/local/lib/python2.7/dist-packages/_Sword.so: undefined<br>
>>> symbol: u_strFromUTF8_48<br>
>>> >>><br>
>>><br>
>>><br>
>>> Gesendet: Sonntag, 07. Juli 2013 um 19:06 Uhr<br>
>>> Von: "Greg Hellings" <<a href="mailto:greg.hellings@gmail.com">greg.hellings@gmail.com</a>><br>
>>> An: "SWORD Developers' Collaboration Forum" <<a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>><br>
>>> Betreff: Re: [sword-devel] SWORD 1.7.0 final stretch<br>
>>><br>
>>> There should be a sample of each in the swig directory tree somewhere. I<br>
>>> can check in an hour our so, when I get home.<br>
>>><br>
>>> - Greg<br>
>>><br>
>>> On Jul 7, 2013 11:42 AM, "Troy A. Griffitts" <<a href="mailto:scribe@crosswire.org">scribe@crosswire.org</a>><br>
>>> wrote:<br>
>>>><br>
>>>> OK guys,<br>
>>>><br>
>>>> I have just updated the autotools stuff and the README files to build<br>
>>>> the swig bindings for both Perl and Python. Anyone know how to use SWORD<br>
>>>> with Perl or Python and can let me know if it actually works?<br>
>>>><br>
>>>> Troy<br>
>>>><br>
>>>><br>
>>>><br>
>>>> On 07/06/2013 03:04 PM, Peter von Kaehne wrote:<br>
>>>><br>
>>>> On Sat, 2013-07-06 at 04:00 +0200, Troy A. Griffitts wrote:<br>
>>>><br>
>>>> Peter, still wondering if we have a problem we need to fix for you. Do<br>
>>>> our Perl and Python bindings work for other people with a similar<br>
>>>> configuration as you?<br>
>>>><br>
>>>> I have not heard from anyone that the Perl bindings are working nor have<br>
>>>> I heard from anyone with any clever ideas why they are not working.<br>
>>>><br>
>>>> From a module making point of view the bindings are a must. But I do not<br>
>>>> care if they are working in in 1.7 or in a subsequent iteration as long<br>
>>>> as it is soon enough again.<br>
>>>><br>
>>>> Peter<br>
>>>><br>
>>>><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>
>>>> _______________________________________________<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>
>>> _______________________________________________<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>
>><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>
><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>
</div></div></blockquote></div><br></div></div>