I continue to get the following build errors with the python bindings using
the following:
#cmake -DSWORD_BINDINGS="Perl Python" ../sword


.... CUT ...

[ 90%] Generating Sword.cxx
/usr/local/src/sword/include/multimapwdef.h:26: Warning 389: operator[]
ignored (consider using %extend)
/usr/local/src/sword/include/versemgr.h:124: Warning 325: Nested class not
currently supported (Book ignored)
/usr/local/src/sword/include/versemgr.h:149: Warning 325: Nested class not
currently supported (System ignored)
/usr/local/src/sword/include/treekey.h:61: Warning 325: Nested class not
currently supported (PositionChangeListener ignored)
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying Sword.py -> build/lib.linux-x86_64-2.7
running build_ext
building '_Sword' extension
creating build/temp.linux-x86_64-2.7
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -I/usr/local/src/sword/bindings/swig/python
-I/usr/local/src/sword/include
-I/usr/local/src/sword/bindings/swig/python/..
-I/usr/local/src/sword/bindings/swig/python../../ -I/usr/include/python2.7
-c Sword.cxx -o build/temp.linux-x86_64-2.7/Sword.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for
Ada/C/ObjC but not for C++ [enabled by default]
Sword.cxx: In function ‘PyObject* _wrap_SWDisplay_Display(PyObject*,
PyObject*)’:
Sword.cxx:44967:43: warning: ‘char
sword::SWDisplay::Display(sword::SWModule&)’ is deprecated (declared at
/usr/local/src/sword/include/swdisp.h:50) [-Wdeprecated-declarations]
Sword.cxx: In function ‘PyObject*
_wrap_SWModule_StripText__SWIG_0(PyObject*, PyObject*)’:
Sword.cxx:49480:65: warning: ‘const char* sword::SWModule::StripText(const
char*, int)’ is deprecated (declared at
/usr/local/src/sword/include/swmodule.h:634) [-Wdeprecated-declarations]
Sword.cxx: In function ‘PyObject*
_wrap_SWModule_StripText__SWIG_1(PyObject*, PyObject*)’:
Sword.cxx:49521:60: warning: ‘const char* sword::SWModule::StripText(const
char*, int)’ is deprecated (declared at
/usr/local/src/sword/include/swmodule.h:634) [-Wdeprecated-declarations]
Sword.cxx: In function ‘PyObject*
_wrap_SWModule_StripText__SWIG_2(PyObject*, PyObject*)’:
Sword.cxx:49552:42: warning: ‘const char* sword::SWModule::StripText(const
char*, int)’ is deprecated (declared at
/usr/local/src/sword/include/swmodule.h:634) [-Wdeprecated-declarations]
Sword.cxx: In function ‘PyObject*
_wrap_SWModule_RenderText__SWIG_0(PyObject*, PyObject*)’:
Sword.cxx:49850:71: warning: ‘const char* sword::SWModule::RenderText(const
char*, int, bool)’ is deprecated (declared at
/usr/local/src/sword/include/swmodule.h:645) [-Wdeprecated-declarations]
Sword.cxx: In function ‘PyObject*
_wrap_SWModule_RenderText__SWIG_1(PyObject*, PyObject*)’:
Sword.cxx:49900:66: warning: ‘const char* sword::SWModule::RenderText(const
char*, int, bool)’ is deprecated (declared at
/usr/local/src/sword/include/swmodule.h:645) [-Wdeprecated-declarations]
Sword.cxx: In function ‘PyObject*
_wrap_SWModule_RenderText__SWIG_2(PyObject*, PyObject*)’:
Sword.cxx:49941:61: warning: ‘const char* sword::SWModule::RenderText(const
char*, int, bool)’ is deprecated (declared at
/usr/local/src/sword/include/swmodule.h:645) [-Wdeprecated-declarations]
Sword.cxx: In function ‘PyObject*
_wrap_SWModule_RenderText__SWIG_3(PyObject*, PyObject*)’:
Sword.cxx:49972:43: warning: ‘const char* sword::SWModule::RenderText(const
char*, int, bool)’ is deprecated (declared at
/usr/local/src/sword/include/swmodule.h:645) [-Wdeprecated-declarations]
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
-Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/Sword.o
-L/usr/local/src/cmakebuild -lsword -o build/lib.linux-x86_64-2.7/_Sword.so

(From here on it seems successful and sword works save for the python
bindings)
When I try to use the python binding, it fails.  I believe that these build
errors are the problem.
Any ideas about why this is failing?

~A
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to