[sword-devel] bindings

Ben Morgan benpmorgan at gmail.com
Thu Jan 29 03:31:05 MST 2009

I'd guess you forgot one step in the building to get that particular error
message; the instructions are here:

In particular, this step was missing:

make pythonswig

(not make python_swig as stated in the readme - I guess that needs fixing)

However, once you do this, you'll find it doesn't work. The bindings have
been broken by the changes for alternate versification.

We really need to have a 1.5.12 without alternate versification support, but
including new filter support plus some patches. Minor releases shouldn't
break existing software (or at least, not much). I'm not sure how much would
need to change in BPBible, but quite a lot of code would (for example,
VerseKeys should no longer exist without a module...).

And then after 1.5.12 we can have 1.6 or (better) 2.0. Better version
numbering schemes seem to be something that lots of people want - and the
schemes have already been suggested, so there isn't a lot of work in this -
and SWORD might as well fit in with established standards.

God Bless,
Multitudes, multitudes,
   in the valley of decision!
For the day of the LORD is near
   in the valley of decision.

Giôên 3:14 (ESV)

On Thu, Jan 29, 2009 at 2:56 PM, Peter von Kaehne <refdoc at gmx.net> wrote:

> I tried to build Corba and Python bindings today against current svn but
> failed on both counts quite miserably.
> > writing python/setup.py
> > cd python && /usr/bin/python setup.py build_ext -L/usr/local/lib -lsword
> > running build_ext
> > building '_Sword' extension
> > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
> -Wstrict-prototypes -fPIC -DSWIG=1 -I/usr/include/sword -I.. -I../..
> -I/usr/include/python2.5 -c Sword.cxx -o build/temp.linux-i686-2.5/Sword.o
> > gcc: Sword.cxx: No such file or directory
> > gcc: no input files
> > error: command 'gcc' failed with exit status 1
> > make: *** [python_make] Error 1
> This was the python error.
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20090129/f7e14450/attachment.html>

More information about the sword-devel mailing list