[sword-devel] Build problems with CVS

Scott Thomas sword-devel@crosswire.org
Thu, 10 Jan 2002 08:50:40 -0500


Thanks for the reply, but that has taken me to a new error:

include/localemgr.h:81: parse error before `(' token
make[2]: *** [versekey.lo] Error 1

BTW, I'm using gcc 3.0.1, if that helps.

Scott

On Wednesday 09 January 2002 07:15 pm, Daniel Glassey wrote:
> This happens with some version of gcc
>
> Add a #include <ctype.h> to include/versekey.h and that ought to be
> enough
>
> Daniel
>
> On Wednesday 09 Jan 2002 6:40 pm, you wrote:
> > Sorry to sound lame, but I just recently joined the list and
> > wanted to look at the code, and see where I might be able to
> > volunteer (most likely testing or documentation, but who knows).
> >
> > I immediately had two problems I can't resolve from the web info.
> >
> > 1. I followed the cvs (Linux) instructions and obtained the sword
> > module. I ran ./configure fine, but when I tried to make I got as
> > far as the keys directory when I got errors, as follows:
> >
> > src/keys/versekey.cpp: In member function `virtual ListKey
> >    VerseKey::ParseVerseList(const char*, const char*, bool)':
> > src/keys/versekey.cpp:402: `isdigit' undeclared (first use this
> > function)
> > src/keys/versekey.cpp:402: (Each undeclared identifier is
> > reported only once
> >    for each function it appears in.)
> > src/keys/versekey.cpp: In member function `VerseKey&
> > VerseKey::UpperBound(const
> >    char*)':
> > src/keys/versekey.cpp:718: `isalpha' undeclared (first use this
> > function)
> > make[2]: *** [versekey.lo] Error 1
> > make[2]: Leaving directory `/space/docs/scott/Sword/sword'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/space/docs/scott/Sword/sword'
> > make: *** [all] Error 2
> >
> > Have I missed something in the preparation for building?
> >
> > 2. On the web site (the URL I received in the email after joining
> > the list) I tried to download a couple of the publicly locked
> > modules from the Beta links, but all I got was the conf files. Is
> > there another location where I should be looking for those
> > modules?
> >
> > Thanks in advance for any help.
> >
> > Scott
> >
> > On Wednesday 09 January 2002 07:57 am, Daniel Glassey wrote:
> > > I've commited everything I have at the moment including the
> > > files generated by autoconf/automake and everything works for
> > > me on a clean checkout. 'make install' need tweaked to install
> > > /etc/sword.conf and stuff, but apart from that the library
> > > builds and runs fine.
> > >
> > > hth,
> > > Daniel
> > >
> > > _________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at http://mail.yahoo.com
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com