[sword-devel] Problem compiling Sword 1.5.7 on Fedora Core 2

David Smith dsmith at programmablesolutions.net
Mon May 31 21:22:23 MST 2004


I am also having a similar problem if not exact problem with compiling
sword 1.5.7 on FC2. I am getting the error below:

make  all-recursive
make[1]: Entering directory `/home/eomer/downloads/bible/sword-1.5.7'
Making all in lib
make[2]: Entering directory
`/home/eomer/downloads/bible/sword-1.5.7/lib'
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
-I../include -DUSE_AUTOTOOLS -DUNIX  
-DGLOBCONFPATH=\"/usr/etc/sword.conf\"     -g -O2 -ftemplate-depth-25
-DCURLAVAILABLE -DUSELUCENE -MT installmgr.lo -MD -MP -MF
".deps/installmgr.Tpo" \
  -c -o installmgr.lo `test -f '../src/mgr/installmgr.cpp' || echo
'./'`../src/mgr/installmgr.cpp; \
then mv -f ".deps/installmgr.Tpo" ".deps/installmgr.Plo"; \
else rm -f ".deps/installmgr.Tpo"; exit 1; \
fi
rm -f .libs/installmgr.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DUSE_AUTOTOOLS -DUNIX
-DGLOBCONFPATH=\"/usr/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/eomer/downloads/bible/sword-1.5.7/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eomer/downloads/bible/sword-1.5.7'
make: *** [all] Error 2

The only difference from my installation from Steven's is that I intend
to use Gnome Sword2. I compiled 1.5.6 successfully under FC1 pretty
easily. I have tried 1.5.6 to see if it was any different, but it seemed
to be the same. So perhaps something has changed in the distro. Sorry
I'm not terribly good with c/c++, so I haven't been able to find the
problem.

David Smith

On Mon, 2004-05-31 at 01:04, Steven P. Ulrick wrote:
> Hello, Everyone :)
> I would like to install Bibletime 1.4.1 on our Fedora Core 2 system, but
> while compiling Sword 1.5.7, it crashes during "make" with the following
> error:
> 
> make  all-recursive
> make[1]: Entering directory `/home/steve/Archives/Computer/sword-1.5.7'
> Making all in lib
> make[2]: Entering directory `/home/steve/Archives/Computer/sword-1.5.7/lib'
> if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DUSE_AUTOTOOLS -DUNIX      -DUSBINARY  -g3 -O0 -Werror -DCURLAVAILABLE -MT installmgr.lo -MD -MP -MF ".deps/installmgr.Tpo" -c -o installmgr.lo `test -f '../src/mgr/installmgr.cpp' || echo './'`../src/mgr/installmgr.cpp; \
> then mv -f ".deps/installmgr.Tpo" ".deps/installmgr.Plo"; else rm -f ".deps/installmgr.Tpo"; exit 1; fi
>  g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DUSE_AUTOTOOLS -DUNIX -DUSBINARY -g3 -O0 -Werror -DCURLAVAILABLE -MT installmgr.lo -MD -MP -MF .deps/installmgr.Tpo -c ../src/mgr/installmgr.cpp -o installmgr.o
> ../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/steve/Archives/Computer/sword-1.5.7/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/steve/Archives/Computer/sword-1.5.7'
> make: *** [all] Error 2
> 
> System Details:
> Operating System: Fedora Core 2.
> Full installation (not an upgrade).
> EVERY package installed.
> All official updates installed, including the Kernel.
> Other changes from default (though almost certainly unrelated): QT from
> TrollTech source tarball, KDE from CVS HEAD.
> Other than that, our FC2 installation is pretty default.
> Any help you can give me is greatly appreciated :)
> 
> Steven P. Ulrick
> _______________________________________________
> sword-devel mailing list
> sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel



More information about the sword-devel mailing list