[sword-devel] Swig and Diatheke
Joachim Ansorg
sword-devel@crosswire.org
Tue, 10 Feb 2004 13:13:38 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
got the Python bindings working now.
Here are some short steps to get it working:
1. Install latest Swig (1.3.20)
2. Checkout Sword's CVS
3. Build and install Sword from this CVS
4. cd bindings/swig/package/
5. ./autogen.sh; ./configure
6. make pythonswig python_make
7. cd python; python setup.py install
This should work (I hope :)
Since I don't know python I just tested if the extension could be loaded with
import Sword
In bindings/swig/examples/ is a Perl script which shows how you can use the
bindings. Let me know if you need help,
Joachim
> Hi,
>
> Has anyone gotten the Sword libraries to compile with Python? I am
> trying to use the swig bindings to compile for python, but have not
> been able to get it to work. I have attached the command line for
> compiling and the output from the command line given. I have never
> used swig bindings before, so this is new to me.
>
> Also, does diatheke access generic books? Thanks for your help.
>
> Richard Guay
>
> _______________________________________________
> sword-devel mailing list
> sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
- --
<>< Re: deemed!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFAKMr2EyRIb2AZBB0RAgiDAJ9BgynW0CD32pb/kLMdbEc2VVs+2ACggCB5
SuWeDTQZyidb7mzqTojxQJ8=
=egDt
-----END PGP SIGNATURE-----