[sword-devel] Compiling sword-1.5.0 on an i586 Linux box

Joachim Ansorg sword-devel@crosswire.org
Wed, 26 Jul 2000 21:22:16 +0000


Hi!

You are missing the standard STL headers. Please install  the required 
packages (nromally something like g++-devel or similair).

--Joachim

Am Mit, 26 Jul 2000 schrieben Sie:
> I can't get it to work.  I am only compiling it myself so I can use the
> utilities to make modules from GBF files, etc.  The RPM (binary) version
> for 1.4.6 works fine for when I use Bibletime.
>
> Here's what I get when I do a make, after making sure the Makefile.cfg is
> set correctly for my Mandrake 7.1 Linux distribution.  Everything compiles
> fine until this point:
>
> make[1]: Entering directory `/home/jsk/dl/sword-1.5.0/src'
> make -C keys just-targets
> make[2]: Entering directory `/home/jsk/dl/sword-1.5.0/src/keys'
> gcc -I../../include/ -D_GNU_SOURCE -DNDEBUG -pipe -Wall -Wno-format 
> -fomit-fram e-pointer -s -O6 -m486 -c -o versekey.o versekey.cpp
> In file included from versekey.cpp:21:
> ../../include/localemgr.h:26: string: No such file or directory
> .../../include/localemgr.h:27: map: No such file or directory
> .../../include/localemgr.h:28: list: No such file or directory
> IIn file included from ../../include/localemgr.h:29,
>                  from versekey.cpp:21:
> ../../include/swconfig.h:28: string: No such file or directory
> .../../include/swconfig.h:29: map: No such file or directory
> IIn file included from ../../include/localemgr.h:30,
>                  from versekey.cpp:21:
> ../../include/swlocale.h:26: string: No such file or directory
> .../../include/swlocale.h:27: map: No such file or directory
> IIn file included from ../../include/localemgr.h:29,
>                  from versekey.cpp:21:
> ../../include/swconfig.h:35: `string' was not declared in this scope
> .../../include/swconfig.h:35: `string' was not declared in this scope
> .../../include/swconfig.h:35: `less' was not declared in this scope
> .../../include/swconfig.h:35: `string' was not declared in this scope
> .../../include/swconfig.h:35: syntax error before `>'
> .../../include/swconfig.h:36: `string' was not declared in this scope
> .../../include/swconfig.h:36: `ConfigEntMap' was not declared in this scope
> .../../include/swconfig.h:36: `less' was not declared in this scope
> .../../include/swconfig.h:36: `string' was not declared in this scope
> .../../include/swconfig.h:36: syntax error before `>'
> .../../include/swconfig.h:41: type specifier omitted for parameter
> .../../include/swconfig.h:41: parse error before `&'
> .../../include/swconfig.h:43: syntax error before `;'
> .../../include/swconfig.h:44: syntax error before `;'
> IIn file included from ../../include/localemgr.h:30,
>                  from versekey.cpp:21:
> ../../include/swlocale.h:35: `string' was not declared in this scope
> .../../include/swlocale.h:35: `less' was not declared in this scope
> .../../include/swlocale.h:35: `string' was not declared in this scope
> .../../include/swlocale.h:35: syntax error before `>'
> .../../include/swlocale.h:38: syntax error before `;'
> IIn file included from versekey.cpp:21:
> ../../include/localemgr.h:34: `string' was not declared in this scope
> .../../include/localemgr.h:34: `less' was not declared in this scope
> .../../include/localemgr.h:34: `string' was not declared in this scope
> .../../include/localemgr.h:34: syntax error before `>'
> .../../include/localemgr.h:42: syntax error before `;'
> .../../include/localemgr.h:50: `string' was not declared in this scope
> .../../include/localemgr.h:50: ANSI C++ forbids declaration `list' with no
> type .../../include/localemgr.h:50: template-id `list<{error}>' used as a
> declarator .../../include/localemgr.h:50: `list' declared as a `virtual'
> field .../../include/localemgr.h:50: parse error before `('
> mmake[2]: *** [versekey.o] Error 1
> make[2]: Leaving directory `/home/jsk/dl/sword-1.5.0/src/keys'
> make[1]: *** [keys/targets] Error 2
> make[1]: Leaving directory `/home/jsk/dl/sword-1.5.0/src'
> make: *** [src/targets] Error 2
>
> Sorry for the long email, but I don't know what else I can post to help you
> guys figure out what the problem is.
>
> Can someone help me get this working, so I can make some new modules?? :)
>
> God bless,
> Solomon