[bt-devel] Problem with compiling -> Fedora 64bit

Greg Hellings greg.hellings at gmail.com
Sat Mar 5 13:36:43 MST 2011


It sounds like the FindCLucene.cmake script is not looking in
/usr/lib64.  Should be easy enough to add it to the list of search
paths.

--Greg

On Sat, Mar 5, 2011 at 1:59 PM, Olaf Radicke
<briefkasten at olaf-radicke.de> wrote:
> On Sat, 2011-03-05 at 20:11 +0100, Olaf Radicke wrote:
>> On Sat, 2011-03-05 at 10:36 -0800, Jonathan Marsden wrote:
>> > -----BEGIN PGP SIGNED MESSAGE-----
>> > Hash: SHA1
>> >
>> > On 03/05/2011 10:21 AM, Olaf Radicke wrote:
>> >
>> > > With "vanilla" master i get this:
>> > >
>> > > <snip>
>> > >
>> > > [ 36%] Building CXX object
>> > > CMakeFiles/bibletime.dir/src/backend/config/cbtconfig.cpp.o
>> > > /home/or/a-z/p/programmieren/git-repos/bibletime/src/backend/config/cbtconfig.cpp:16:24: fatal error: QWebSettings: No such file or directory
>> > > compilation terminated.
>> >
>> > This is almost certainly caused by the lack of the QWebSettings header
>> > files on your system.  On Ubuntu they are in the package libqt4-dev and
>> > are installed under /usr/include/qt4/QtWebKit/QWebSettings .
>> >
>> > I do not know what the equivalent package name on Fedora is.
>>
>> I installed "qt-webkit-devel" and now, it is running. I think a note in
>> README is helpful for Fedora-User.
>
> The other Problem:
>
> <snip>
> + cmake -D CMAKE_BUILD_TYPE=Debug -D CMAKE_INSTALL_PREFIX=install/ ..
> -- Setting up build environment for BibleTime version 2.9.0+a137503
> -- Using DBUS
> -- Found CLucene library: /usr/lib/libclucene.so
> -- Found CLucene include dir: /usr/include
> -- Found CLucene library dir: /usr/lib
> CMake Error at cmake/FindCLucene.cmake:86 (FILE):
>  file Internal CMake error when trying to open file:
>  /usr/lib/CLucene/clucene-config.h for reading.
> Call Stack (most recent call first):
>  CMakeLists.txt:62 (FIND_PACKAGE)
> <snap>
>
>
> Is this:
>
> <snip>
> $ find /usr/ -name '*clucene-config.h*'
> /usr/lib64/CLucene/clucene-config.h
> <snap>
>
> The solution...
>
> <snip>
> [root at localhost bibletime]# yum install clucene-core-devel.i686
>
> [...]
>
> Dependencies Resolved
>
> =============================================================================================================================================================
>  Package                                      Arch
> Version                                  Repository
> Size
> =============================================================================================================================================================
> Installing:
>  clucene-core-devel                           i686
> 0.9.21b-2.fc14                           fedora
> 158 k
> Installing for dependencies:
>  clucene-core                                 i686
> 0.9.21b-2.fc14                           fedora
> 298 k
>
> Transaction Summary
> =============================================================================================================================================================
> Install       2 Package(s)
>
> [...]
> Complete!
> <snap>
>
> Now the compiling is running. So in my patched version is the
> 64bit-support lost. Mhmm...
>
> Olaf
>
>
> _______________________________________________
> bt-devel mailing list
> bt-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/bt-devel
>



More information about the bt-devel mailing list