[bt-devel] Bibletime compile problem, it works now

Fred Saalbach bt-devel@crosswire.org
Sun, 04 Mar 2001 20:15:31 -0500


Thanks, it work now.
Details at end of message.
Looks like I need to revise my sword installation instructions.
Fred

Joachim Ansorg wrote:

> Hi!
>
> Edit the file Makefile.cfg to enable the build of the shared lib of the Sword
> sources and compile Sword again.
> Then link sworddir/lib/libsword.so to /usr/local/lib/libsword.so and remove
> all old libs of Sword.
> Then coompile and start BibleTime.
>
> It should work,
>
> Joachim
>
> > Joachim
> >
> > Thanks for solving the problem with the bibletime compile problem.  The
> > compile completes now with no fatal errors.
> >
> > I am still having a problem with sword.  I updated the sword CVS today
> > along with bibletime-2.  First I deleted the existing sword library, and
> > then compiled sword, and then bibletime.
> > I had some trouble when I ran bibletime, it could not find libsword.so
> > It seems that libsword.so is not in the new sword directory.
> >
> > I found a copy in one of my archived files, and linked to it in
> > /etc/ld.so.conf
> >
> > the result is still a crash:
> >
> > [fks00@localhost fks00]$ su
> > Password:
> > [root@localhost fks00]# ldconfig
> > [root@localhost fks00]# bibletime
> > KCrash: crashing.... crashRecursionCounter = 2
> > KCrash: Application Name = bibletime path = <unknown>
> > [root@localhost fks00]#
> >
> > When linux tries to load bibletime, the sword logo displays, then the
> > kde crash handler displays.
> >
> >
> >
> > --
> > Best Regards
> > Fred Saalbach
> > saalbach@sybercom.net
>
> --
> Joachim Ansorg
> BibleTime - www.bibletime.de - info@bibletime.de
> BibleTime is an easy to use Bible study tool for KDE / Linux.

Result was
.
.
.
make[4]: Entering directory `/home/fks00/Develop/sword/src/frontend/X11'
make[4]: Nothing to be done for `just-install'.
make[4]: Leaving directory `/home/fks00/Develop/sword/src/frontend/X11'
make[3]: Leaving directory `/home/fks00/Develop/sword/src/frontend'
make[2]: Leaving directory `/home/fks00/Develop/sword/src'
make -C obj just-install
make[2]: Entering directory `/home/fks00/Develop/sword/obj'
make[2]: Nothing to be done for `just-install'.
make[2]: Leaving directory `/home/fks00/Develop/sword/obj'
make -C lib just-install
make[2]: Entering directory `/home/fks00/Develop/sword/lib'
install -o root -g sword -m a+r,u+rw libsword.a /usr/local/sword/lib/
install -o root -g sword -m a+rx,u+rwx libsword.so /usr/local/sword/lib/
install: libsword.so: No such file or directory
make[2]: *** [just-install] Error 1
make[2]: Leaving directory `/home/fks00/Develop/sword/lib'
make[1]: *** [lib/install] Error 2
make[1]: Leaving directory `/home/fks00/Develop/sword'
make: *** [install] Error 2
[root@localhost sword]#

I assumed that this indicated that for some reason libsword.so was not
downloaded in the last CVS.  I updated the sword CVS, recompiled with the
Makefile.cvs set to generate the shared libraries, and it works. or anyway as
far as telling me I need to reinstall the modules.  I expected this.

I did not - link sworddir/lib/libsword.so to /usr/local/lib/libsword.so -
instead I added the path to libsword.so,  /usr/local/sword/lib  to
/etc/ld.so.conf

--
Best Regards
Fred Saalbach
saalbach@sybercom.net