[bt-devel] help building bibletime-1.7.alpha2 from source

Martin Gruner mg.pub at gmx.net
Sat Jun 14 01:04:54 MST 2008


Hi Daniel.

This is weird. Now we have 2 Problems.

Your original problem was that the linker flags for external libs that sword 
uses were missing. I added a check in our cmake files for that, this should 
be fixed in the next alpha or beta. You can add the flags manually if you add 
icu (and possibly curl) to the TARGET_LINK_LIBRARIES commands in 
CMakeLists.txt.

Your output2 indicates that the sword headers cannot be found any more. There 
might now be an inconsistency on your system. If you install libsword-dev, 
these files are in /usr/include/sword. If you compile by hand, they are 
in /usr/local/include/sword.
Cmake now detects the location by running 
"pkg-config --variable=includedir sword"
Can you please check where the files are and if the detection works ok?

Regards, mg

Am Donnerstag, 12. Juni 2008 schrieb Daniel Owens:
> Martin,
>
> Thanks for responding.
>
> Yes, libcurl-dev is installed. I commented out the OPTIONS="--with-icu
> $OPTIONS" in the usrinst.sh install script when reinstalling Sword. I'm
> not sure if that's enough to install without icu, but the output is
> attached. It complains a lot about curl, but the libcurl-dev package is
> installed, I checked.
>
> Since that didn't work I tried using, instead of usrinst.sh, ./configure
> --without-icu (adding -switch made the terminal complain of no such file
> or directory), make, make install. Then I ran build-debug.sh again. The
> output for that is attached as output2.txt.tar.gz. It didn't work either.
>
> Daniel
>
> Martin Gruner wrote:
> > Hi Daniel,
> >
> >
> > please use the configure-switch --without-icu when building sword. Do you
> > have libcurl-dev installed? If not, please install it.
> >
> >
> > HTH, mg
> >
> >
> > am Donnerstag, 12. Juni 2008 um 08:02 schrieben Sie:
> >
> >
> >
> >
> >
> >
> > That got me a bit farther, but problems seem to arise after this line:
> >
> >
> > Linking CXX executable bibletime
> >
> >
> > I am attaching the output. It's so close (98%)...
> >
> >
> > Daniel
> >
> >
> > jdc wrote:
> >
> > There is a file called CMakeLists.txt at the same level as build-debug.sh
> > (the root level of bible time). Change this line below (aprox. 118) -
> > remove the "-Werror" SET(CMAKE_CXX_FLAGS_DEBUG "-Wall -pedantic-errors
> > -O0 -g") #SET(CMAKE_CXX_FLAGS_DEBUG "-Wall -Werror -pedantic-errors -O0
> > -g") --Jim Daniel Owens wrote: > Got the kde4 core devel package and
> > things are looking better, but I get this: > > [ 15%] Building CXX object
> > >
> > CMakeFiles/bibletime.dir/src/backend/managers/cswordbackend.o > cc1plus:
> > warnings being treated as errors >
> >
> 
> /home/dowens/Scripts/bibletime-1.7.alpha2/src/backend/managers/cswordbackend.cpp:
> >  > In member function ‘virtual const bool >
> >
> > CSwordBackend::isOptionEnabled(CSwordModuleInfo::FilterTypes)’: >
> >
> 
> /home/dowens/Scripts/bibletime-1.7.alpha2/src/backend/managers/cswordbackend.cpp:209:
> >  > warning: comparison with string literal results in unspecified
> >  > behaviour >
> >
> > make[2]: ***
> > [CMakeFiles/bibletime.dir/src/backend/managers/cswordbackend.o] > Error 1
> > > make[1]: *** [CMakeFiles/bibletime.dir/all] Error 2 > make: *** [all]
> > Error 2 > > Any ideas? > > Daniel > > jdc wrote: >> You need the
> > libkde4-devel package.  I also have libkdecore4-devel >> installed.  I
> > don't remember if this is required or not. >> >> --Jim >> >> Daniel Owens
> > wrote: >>   >>> Using Mandriva 2008.1 with the required packages
> > installed and sword >>> 1.5.11
> >
> > installed from source, I tried to build BibleTime 1.7. This is >>> what I 
got:
> >  >>> >>> bash-3.2$ ./build-debug.sh >>> sh: line 1: 17632 Aborted
> >
> >   uname -p 2>&1 >>> -- Check for working CXX compiler: /usr/bin/c++ >>>
> > -- Check for working CXX compiler: /usr/bin/c++ -- works >>> -- Check for
> > working C compiler: /usr/bin/gcc >>> -- Check for working C compiler:
> > /usr/bin/gcc -- works >>> -- Check size of void* >>> -- Check size of
> > void* - done >>> -- Looking for Q_WS_X11 >>> -- Looking for Q_WS_X11 -
> > found >>> -- Looking for Q_WS_WIN >>> -- Looking for Q_WS_WIN - not
> > found. >>> -- Looking for Q_WS_QWS
> >
> >  >>> -- Looking for Q_WS_QWS - not found. >>> -- Looking for Q_WS_MAC >>>
> >  >>> --
> >
> > Looking for Q_WS_MAC - not found. >>> -- Found Qt-Version 4.3.4 >>> --
> > Looking for _POSIX_TIMERS >>> -- Looking for _POSIX_TIMERS - found >>>
> > CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in >>>
> > /home/dowens/.kde4/share/apps;/opt/kde4/share/apps >>> -- Configuring
> > done >>>
> >
> >  >>> As best as I can tell the script doesn't find some CMake
> >  >>> configuration >>>
> >
> > file in my kde4 directory. I have kde3 installed as my main desktop; I
> > >>> use kde4 when I have the itch to test it out. Does anyone have any
> > >>> pointers for gettign it to work? >>> >>> Daniel >>> >>>   >>>     >>
> > >>bt-devel at crosswire.org <mailto:bt-devel at crosswire.org>
> >
> >  >>http://www.crosswire.org/mailman/listinfo/bt-devel >> >>   > > -- >
> >  >> PMBX
> >
> > license 1502 >   >
> > -------------------------------------------------------------------------
> >-------
> >
> >  > > _______________________________________________ > bt-devel
> >
> > mailbt-devel at crosswire.org <mailto:bt-devel at crosswire.org>
> >
> >  >http://www.crosswire.org/mailman/listinfo/bt-devel >
> >
> > -------------------------------------------------------------------------
> >-------
> >
> > _______________________________________________ bt-devel mailing
> > lisbt-devel at crosswire.org
> > <mailto:bt-devel at crosswire.org>
> > http://www.crosswire.org/mailman/listinfo/bt-devel
> >
> >
> >
> > -- PMBX license 1502
> >
> >
> >
> >
> >
> > --
> >
> > Mit freundlichen Grüßen
> >
> > Martin Gruner
> >
> > mailto:mg.pub at gmx.net





More information about the bt-devel mailing list