[bt-devel] building problems
Martin Gruner
bt-devel@crosswire.org
Tue, 31 Oct 2000 18:06:45 +0100
Hi Jeff,
I think you need sword cvs.
Check that you do not have 2 different sword versins installed by accident.
make > file.txt 2>&1 should write into a file.
Martin
On Dienstag, 31. Oktober 2000 18:22, you wrote:
> Hi, I decided to build the latest CVS of BibleTime since I updated my
> system to KDE 2.0 (final release). I'm having a problem building it, can
> someone tell me what I'm doing wrong? I'm using Sword 1.51pre from
> ftp.crosswire.org. Do I need the actual CVS sources? I think I have my
> paths set correctly, but possibly not. Here's the make output:
>
> [jhoyt@elderfelder bibletime-2]$ make
> make all-recursive
> make[1]: Entering directory `/home/jhoyt/bibletime-2'
> Making all in bibletime
> make[2]: Entering directory `/home/jhoyt/bibletime-2/bibletime'
> Making all in backend
> make[3]: Entering directory `/home/jhoyt/bibletime-2/bibletime/backend'
> Making all in .
> make[4]: Entering directory `/home/jhoyt/bibletime-2/bibletime/backend'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory `/home/jhoyt/bibletime-2/bibletime/backend'
> Making all in sword_backend
> make[4]: Entering directory
> `/home/jhoyt/bibletime-2/bibletime/backend/sword_backend' /bin/sh
> ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../..
> -I/opt/kde2/include -I/usr/lib/qt2/include -I/usr/X11R6/include
> -I/usr/local/sword/include -O2 -fno-exceptions -fno-check-new -Wall
> -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
> -Wno-long-long -fno-builtin -c cswordmoduleinfo.cpp g++ -DHAVE_CONFIG_H
> -I. -I. -I../../.. -I/opt/kde2/include -I/usr/lib/qt2/include
> -I/usr/X11R6/include -I/usr/local/sword/include -O2 -fno-exceptions
> -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes
> -Wwrite-strings -Wno-long-long -fno-builtin
> -Wp,-MD,.deps/cswordmoduleinfo.pp -c cswordmoduleinfo.cpp -o
> cswordmoduleinfo.o cswordmoduleinfo.cpp:108: warning: ANSI C does not allow
> `#warning' cswordmoduleinfo.cpp:108: warning: #warning Incorrect casting,
> we should use dynamic_cast or static_cast
> /usr/local/sword/include/swfilter.h: In method `void
> SWFilter::setOptionValue(const char *)': In file included from
> /usr/local/sword/include/swmodule.h:30,
> from /usr/local/sword/include/swmgr.h:29,
> from cswordbackend.h:30,
> from cswordmoduleinfo.h:23,
> from cswordmoduleinfo.cpp:19:
> /usr/local/sword/include/swfilter.h:36: warning: unused parameter `const
> char * ival' /usr/local/sword/include/swfilter.h: In method `char
> SWFilter::ProcessText(char *, int, const class SWKey *)':
> /usr/local/sword/include/swfilter.h:38: warning: unused parameter `const
> class SWKey * key' /usr/local/sword/include/swmgr.h: At top level:
> In file included from cswordbackend.h:30,
> from cswordmoduleinfo.h:23,
> from cswordmoduleinfo.cpp:19:
> /usr/local/sword/include/swmgr.h:45: warning: extra qualification `SWMgr::'
> on member `CreateMods' ignored /usr/local/sword/include/swmgr.h:46:
> warning: extra qualification `SWMgr::' on member `CreateMod' ignored
> /usr/local/sword/include/swmgr.h:47: warning: extra qualification `SWMgr::'
> on member `DeleteMods' ignored cswordmoduleinfo.cpp: In method `bool
> CSwordModuleInfo::search(class QString, int, class QString, class QString,
> void (*)(char, void *))': cswordmoduleinfo.cpp:234: no matching function
> for call to `SWModule::Search (const QString &, int &, int &, SWKey *&,
> int, void (*&)(char, void *))' /usr/local/sword/include/swmodule.h:68:
> candidates are: SWModule::Search(const char *, int, int, SWKey *) make[4]:
> *** [cswordmoduleinfo.lo] Error 1
> make[4]: Leaving directory
> `/home/jhoyt/bibletime-2/bibletime/backend/sword_backend' make[3]: ***
> [all-recursive] Error 1
> make[3]: Leaving directory `/home/jhoyt/bibletime-2/bibletime/backend'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/jhoyt/bibletime-2/bibletime'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/jhoyt/bibletime-2'
> make: *** [all-recursive-am] Error 2
> [jhoyt@elderfelder bibletime-2]$
>
> P.S. Is there a way to pipe make output into a text file?
>
> Thanks, guys!
>
> --
> Jeffrey C. Hoyt
> ---------------
> email: jeff@jhoyt.faithweb.com
> web: http://jhoyt.faithweb.com
> ---------------