[sword-devel] Building Python bindings
Michael M
m.milvo at gmail.com
Sat Jun 18 02:39:35 MST 2005
I had this problem to, your solution seems to work but I need to use
it a bit more to be 100% sure.
Cheers
Michael
On 6/15/05, Joachim Ansorg <nospam+sword-devel at joachim-ansorg.de> wrote:
> Hi,
> thanks for reporting this.
>
> > cd python && /usr/bin/python setup.py build_ext -I/usr/include/sword
> > -L/usr/lib -lsword
> > running build_ext
> > building '_Sword' extension
> > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
> > -Wstrict-prototypes -fPIC -DSWIG=1 -I/usr/include/sword
> > -I/usr/include/python2.4 -c Sword.cxx -o build/temp.linux-i686-2.4/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
>
> I can confirm that but I found a workaround. I ran the following commands:
> cd bindings/switg/package/
> ./configure
> make pythonswig
> make
> cd python
> python setup.py install
>
> and to test the import:
> echo "import Sword" | python
>
> I don't know python so I can't test it more :)
>
> Does that help?
> Joachim
> --
> <>< Re: deemed
> www.bibletime.info
> _______________________________________________
> 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