[sword-devel] Building 1.5.5 or CVS w/ Debian

Rob French sword-devel@crosswire.org
26 Jan 2003 01:10:12 -0500


I'm trying to compile the source as Debian packages. I've tried both
1.5.5 and CVS. I used the command:

dpkg-buildpackage -rfakeroot -uc -b

I get the following error at the end of the config output:

#cd apps/console/diatheke && ./configure --prefix=/usr
cd bindings/swig &&  ./configure --prefix=/usr \
	--with-sword-dir=`pwd`/../.. --without-swigbin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for swig... ./configure: found: command not found
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for Sword library files... configure: error: SWORD library not
found. Try to use configure with --with-sword-dir=/your/SWORD/path!
make: *** [configure-stamp] Error 1

It -appears- to me that what's happening is that as it's attempting to
configure diatheke, it can't find the sword libs (which makes sense
since they haven't yet been built). I'd really like to build this as
deb's, any thoughts?