[sword-devel] Building Python bindings

Mark Trompell mark at marktrompell.de
Tue Jun 14 11:59:08 MST 2005

How to build python bindings for sword-1.5.8?
  ./configure --with-python=/usr/bin/python && make

ends up with

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

More information about the sword-devel mailing list