[sword-devel] Making module from non-Biblical OSIS text?

Daniel Glassey sword-devel@crosswire.org
Sat, 28 Feb 2004 08:33:23 +0000


On Sat, 2004-02-28 at 05:15, Chuck Bearden wrote:
> Fourth, I tried to build sword-1.5.7 on my Debian box, and it seems to
> have choked on installmgr:
> 
>   g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DUSE_AUTOTOOLS -DUNIX
>   -DGLOBCONFPATH=\"/opt/local/sword-1.5.7/etc/sword.conf\" -g -O2
>   -ftemplate-depth-25 -DCURLAVAILABLE -DUSELUCENE -MT installmgr.lo -MD
>   -MP -MF .deps/installmgr.Tpo -c ../src/mgr/installmgr.cpp  -fPIC -DPIC
>   ../src/mgr/installmgr.cpp: In member function `char 
>      sword::InstallMgr::FTPURLGetFile(void*, const char*, const char*)':
>   ../src/mgr/installmgr.cpp:153: error: `TRUE' undeclared (first use this 
>      function)
>   ../src/mgr/installmgr.cpp:153: error: (Each undeclared identifier is
>   reported 
>      only once for each function it appears in.)
>   make[2]: *** [installmgr.lo] Error 1
>   make[2]: Leaving directory `/home/cbearden/apps/sword-1.5.7/lib'
>   make[1]: *** [all-recursive] Error 1
>   make[1]: Leaving directory `/home/cbearden/apps/sword-1.5.7'
>   make: *** [all] Error 2
> 
> 'configure' was only invoked with the '--prefix' argument (didn't 
> want to conflict with the Debian package), after which I typed 
> 'make'.  I'm running Sarge, and I think I have just about everything one
> would need to build most things.  I don't know C or C++, so I'm not sure
> of the significance of this error.

This part I can answer :) Just 'apt-get install libsword-dev'. 1.5.7 is
already in sarge.

If you still want to build it you need to change TRUE to 1 (the curl API
has changed since 1.5.7 was released).

Regards,
Daniel