[sword-devel] sword (or diatheke) daemon?

Bryan L. Fordham bfordham at socialistsushi.com
Wed Nov 9 14:16:18 MST 2005


On Wed, Nov 09, 2005 at 06:00:41PM +0100, Joachim Ansorg wrote:
> I remember that I posted some instructions a while back on this list.
> At least I think it was python.
> I suggest to checkout latest CVS and then search for the instructions to build 
> the python bindings.

I followed the instructions I found at
http://www.crosswire.org/pipermail/sword-devel/2005-January/021533.html
(among other places).  Below is the error I'm getting.

I tried similar for the perl bindings, and it turns out I get the same error
(no method Sword::LocaleMgr::getSystemLocaleMgr) when trying that.

So, what stupid thing am I doing? 8)

--B

$ make python_make
mkdir -p python
echo "writing python/setup.py"
writing python/setup.py
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.3 -c Sword.cxx -o
build/temp.linux-i686-2.3/Sword.o
In file included from /usr/include/sword/swconfig.h:32,
                 from Sword.cxx:1414:
/usr/include/sword/swbuf.h: In method oid sword::SWBuf::assureMore(long
unsigned int)':
/usr/include/sword/swbuf.h:47: warning: comparison between signed and
unsigned
/usr/include/sword/swbuf.h: In method lass sword::SWBuf &
sword::SWBuf::operator <<(int)':
/usr/include/sword/swbuf.h:196: warning: comparison between signed and
unsigned
In file included from /usr/include/sword/swmgr.h:45,
                 from Sword.cxx:1578:
/usr/include/sword/swmodule.h: In method lass sword::SWBuf &
sword::SWModule::getRawEntryBuf()':
/usr/include/sword/swmodule.h:347: warning: control reaches end of non-void
function word::SWModule::getRawEntryBuf()'
Sword.cxx: In function lass sword::SWModule *
SWMgr_getModuleAt(sword::SWMgr *, int)':
Sword.cxx:1742: warning: comparison between signed and unsigned
Sword.cxx: In function truct PyObject *
_wrap_LocaleMgr_getSystemLocaleMgr(PyObject *, PyObject *)':
Sword.cxx:9337: no method word::LocaleMgr::getSystemLocaleMgr'
Sword.cxx:9334: warning: lass sword::LocaleMgr * result' might be used
uninitialized in this function
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_map.h: At
top level:
Sword.cxx:1454: warning: oid SWIG_exception_(int, const char *)' defined
but not used
error: command 'gcc' failed with exit status 1
make: *** [python_make] Error 1



More information about the sword-devel mailing list