[sword-devel] Problem compiling CVS of Sword
Steven P. Ulrick
sword-devel@crosswire.org
Sun, 6 Jul 2003 23:00:32 -0500
Hello, Everyone :)
Here is the ouput I get when I run "make" on the CVS of Sword:
make all-recursive
make[1]: Entering directory `/home/steve/CVS/sword'
Making all in lib
make[2]: Entering directory `/home/steve/CVS/sword/lib'
source='../src/mgr/installmgr.cpp' object='installmgr.lo' libtool=yes \
depfile='.deps/installmgr.Plo' tmpdepfile='.deps/installmgr.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
-I../include -DUSE_AUTOTOOLS -DUNIX -DUSBINARY -g3 -O0 -Werror -c
-o installmgr.lo `test -f '../src/mgr/installmgr.cpp' || echo
'./'`../src/mgr/installmgr.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DUSE_AUTOTOOLS -DUNIX
-DUSBINARY -g3 -O0 -Werror -c ../src/mgr/installmgr.cpp -MT
installmgr.lo -MD -MP -MF .deps/installmgr.TPlo
In file included from ../src/mgr/installmgr.cpp:12:
../include/untgz.h:9:7: no newline at end of file
In file included from ../src/mgr/installmgr.cpp:16:
../include/installmgr.h: In member function `void
sword::InstallSource::flush()':
../include/installmgr.h:50: invalid use of undefined type `struct
sword::SWMgr'
../include/installmgr.h:13: forward declaration of `struct sword::SWMgr'
make[2]: *** [installmgr.lo] Error 1
make[2]: Leaving directory `/home/steve/CVS/sword/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/CVS/sword'
make: *** [all] Error 2
After I got this the first time, I ran "make distclean", re-updated, and
then ran the following:
1. ./autogen.sh
2. ./usrinst.sh
3. make
4. su
5. make install
If you have any questions, feel free to ask me. I can't think of any
other pertinent information, other that that I run Red Hat 9 with all
the official updates installed, and EVERY (about 1400) package
installed.
Steven P. Ulrick