> Von: "Troy A. Griffitts" <scr...@crosswire.org>

> Just to confirm, you're building and installing sword, then building the 
> bindings, yes?

Yes

> pkg-config sword --libs

peter@peter-ThinkPad-Twist:~$ pkg-config sword --libs
-Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/local/lib -lsword -lz -lcurl 
-lclucene -licui18n -licuuc -licudata -ldl -lm -licuio  

> and also when you build the python bindings, could you send me the build 
> output lines for the compile, 

Please see attached build.log. The order of commands was
 
./autogen.sh > build.log
./configure >>build.log
make pythonswig >>build.log 2>&1
make python_make >>build.log 2>&1

I added empty lines to separate the bits, but you will recognise the relevant 
anyway.

Peter

*** copying swig files
*** Recreating libtool
libtoolize
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
*** Recreating aclocal.m4
aclocal
*** Recreating configure
*** Recreating the Makefile.in files
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for swig... /usr/bin/swig
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SWORD... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for perl... /usr/bin/perl
checking for Perl5 header files... /usr/lib/perl/5.14/CORE
checking for Perl5 library... perl.so.5.14.2
checking for NONE/bin/python... no
checking for python... /usr/bin/python
checking for Python prefix... /usr
checking for Python exec-prefix... /usr
checking for Python version... python2.7
checking for Python header files... -I/usr/include/python2.7 -I/usr/lib/python2.7/config
checking for Python library... /usr/lib/python2.7/config
checking for php... no
checking for php4... no
checking for PHP4 header files... not found
checking for Tcl configuration... no
checking for Tcl header files... not found
checking for Tcl library... not found
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands

mkdir -p python
/usr/bin/swig -python -c++ -shadow -o python/Sword.cxx -I. -I/usr/local/include/sword   ./sword.i
/usr/local/include/sword/multimapwdef.h:48: Warning 389: operator[] ignored (consider using %extend)
/usr/local/include/sword/versificationmgr.h:125: Warning 325: Nested class not currently supported (Book ignored)
/usr/local/include/sword/versificationmgr.h:150: Warning 325: Nested class not currently supported (System ignored)
/usr/local/include/sword/treekey.h:62: Warning 325: Nested class not currently supported (PositionChangeListener ignored)
/usr/local/include/sword/versetreekey.h:41: Warning 402: Base class 'TreeKey::PositionChangeListener' is incomplete.
/usr/local/include/sword/treekey.h:62: Warning 402: Only forward declaration 'TreeKey::PositionChangeListener' was found.
/usr/local/include/sword/versificationmgr.h:45: Warning 451: Setting a const char * variable may leak memory.
/usr/local/include/sword/versificationmgr.h:55: Warning 451: Setting a const char * variable may leak memory.
/usr/local/include/sword/swmgr.h:161: Warning 451: Setting a const char * variable may leak memory.
/usr/local/include/sword/swmgr.h:162: Warning 451: Setting a const char * variable may leak memory.
/usr/local/include/sword/swmgr.h:163: Warning 451: Setting a const char * variable may leak memory.
/usr/local/include/sword/swmgr.h:164: Warning 451: Setting a const char * variable may leak memory.
/usr/local/include/sword/swmgr.h:165: Warning 451: Setting a const char * variable may leak memory.
/usr/local/include/sword/swmgr.h:169: Warning 451: Setting a const char * variable may leak memory.
/usr/local/include/sword/swlocale.h:74: Warning 451: Setting a const char * variable may leak memory.
rendercallback.h:23: Warning 451: Setting a const char * variable may leak memory.

mkdir -p python
echo "writing python/setup.py"
writing python/setup.py
cd python && /usr/bin/python setup.py build_ext 
running build_ext
building '_Sword' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/sword -I.. -I../.. -I/usr/include/python2.7 -c Sword.cxx -o build/temp.linux-i686-2.7/Sword.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-i686-2.7/Sword.o -L/usr/local/lib -licuuc -licui18n -lm -ldl -licuio -licudata -lsword -lcurl -lz -lclucene -o build/lib.linux-i686-2.7/_Sword.so -Wl,-Bsymbolic-functions -Wl,-z,relro
_______________________________________________
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