[bt-devel] BT 2.8.1 Build problem

Gary Holmlund gary.holmlund at gmail.com
Sun Nov 27 19:21:47 MST 2011


Daniel,

Do you have these packages installed?
libsword8
libsword-dev

Gary

On 11/27/2011 04:48 PM, Daniel Owens wrote:
> Related to BT 2.8.4 on Linux Mint 12 with sword svn as of this morning...
>
> I get the same error as below. Looking in /etc/ld.so.conf, it simply has:
>
> include /etc/ld.so.conf.d/*.conf
>
> In that folder is a couple of conf files related to the kernel and 
> libc.conf:
>
> # libc default configuration
> /usr/local/lib
>
> Anyway, here is the output of ./build-debug.sh:
>
> git: 'svn' is not a git command. See 'git --help'.
>
> Did you mean one of these?
>     fsck
>     show
> -- Setting up build environment for BibleTime version 2.9.0_rc1+40b4474
> -- Using DBUS
> -- Found CLucene library: /usr/lib/libclucene.so
> -- Found CLucene include dir: /usr/include
> -- Found CLucene library dir: /usr/lib
> -- Found CLucene: /usr/lib/libclucene.so
> -- Found Sword library: /usr/lib64/libsword.a
> -- Found Sword library dir: /usr/lib64
> -- Found Sword include dir: /usr/include/sword
> -- Checking for required Sword version 1.6.0...
> CMake Error at cmake/FindSword.cmake:91 (MESSAGE):
>   Sword version check program could NOT be compiled: Change Dir:
>   /home/daniel/bibletime/build/CMakeFiles/CMakeTmp
>
>
>
>   Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
>
>   /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
>   CMakeFiles/cmTryCompileExec.dir/build
>
>   make[1]: Entering directory
>   `/home/daniel/bibletime/build/CMakeFiles/CMakeTmp'
>
>   /usr/bin/cmake -E cmake_progress_report
>   /home/daniel/bibletime/build/CMakeFiles/CMakeTmp/CMakeFiles 1
>
>   Building CXX object
>   CMakeFiles/cmTryCompileExec.dir/sword_version_compare.cpp.o
>
>   /usr/bin/c++ -I/usr/include/sword -o
>   CMakeFiles/cmTryCompileExec.dir/sword_version_compare.cpp.o -c
>   /home/daniel/bibletime/cmake/sword_version_compare.cpp
>
>   Linking CXX executable cmTryCompileExec
>
>   /usr/bin/cmake -E cmake_link_script
>   CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
>
>   /usr/bin/c++ 
> CMakeFiles/cmTryCompileExec.dir/sword_version_compare.cpp.o -o
>   cmTryCompileExec -rdynamic -Wl,-Bstatic -lsword -Wl,-Bdynamic
>
>   /usr/bin/ld: cannot find -lsword
>
>   collect2: ld returned 1 exit status
>
>   make[1]: Leaving directory
>   `/home/daniel/bibletime/build/CMakeFiles/CMakeTmp'
>
>   make[1]: *** [cmTryCompileExec] Error 1
>
>   make: *** [cmTryCompileExec/fast] Error 2
>
> Call Stack (most recent call first):
>   cmake/FindSword.cmake:96 (CHECK_SWORD_VERSION)
>   CMakeLists.txt:69 (FIND_PACKAGE)
>
>
> -- Configuring incomplete, errors occurred!
>
> Any advice would be welcome.
>
> Daniel
>
> On 08/22/2011 11:24 PM, Gary Holmlund wrote:
>> Troy,
>>
>> It is not finding the sword library. I have seen this before if 
>> ldconfig is not run after installing a library. Some times you have 
>> to add a directory to the /etc/ld.so.conf file if the directory that 
>> the library is in is not in the ld.so.conf file. Then run ldconfig 
>> again. My file name is how it is named on Fedora 15.
>>
>> Gary Holmlund
>>
>> On 08/22/2011 08:52 PM, troypulk wrote:
>>> Hello,
>>>
>>> I'm trying a new Linux Distro called Mageia, it's a RPM based distro 
>>> that is a fork off of Mandriva.
>>>
>>> Anyway, I installed all the dependent programs and Sword 1.6.2 but I 
>>> get an error when building it.
>>>
>>> I understand what the problem is but I'm at a loss as to how to fix it.
>>>
>>> Thanks
>>>
>>> Here is the error message:
>>>
>>> # ./build-release.sh
>>> -- The CXX compiler identification is GNU
>>> -- The C compiler identification is GNU
>>> -- Check for working CXX compiler: /usr/bin/c++
>>> -- Check for working CXX compiler: /usr/bin/c++ -- works
>>> -- Detecting CXX compiler ABI info
>>> -- Detecting CXX compiler ABI info - done
>>> -- Check for working C compiler: /usr/bin/gcc
>>> -- Check for working C compiler: /usr/bin/gcc -- works
>>> -- Detecting C compiler ABI info
>>> -- Detecting C compiler ABI info - done
>>> -- Setting up build environment for BibleTime version 2.8.1
>>> -- 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.7.3 (using /usr/bin/qmake)
>>> -- Using DBUS
>>> -- Found CLucene library: /usr/lib/libclucene.so
>>> -- Found CLucene include dir: /usr/include
>>> -- Found CLucene library dir: /usr/lib
>>> -- Found CLucene: /usr/lib/libclucene.so
>>> -- Found CURL: /usr/lib/libcurl.so
>>> -- Found ZLIB: /usr/include (found version "1.2.5")
>>> -- Found Sword library: /usr/lib64/libsword.so
>>> -- Found Sword library dir: /usr/lib64
>>> -- Found Sword include dir: /usr/include/sword
>>> -- Checking for required Sword version 1.6.0...
>>> CMake Error at cmake/FindSword.cmake:91 (MESSAGE):
>>>    Sword version check program could NOT be compiled: Change Dir:
>>>    /home/troypulk/bibletime-2.8.1/build/CMakeFiles/CMakeTmp
>>>
>>>    Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
>>>
>>>    /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
>>>    CMakeFiles/cmTryCompileExec.dir/build
>>>
>>>    gmake[1]: Entering directory
>>>    `/home/troypulk/bibletime-2.8.1/build/CMakeFiles/CMakeTmp'
>>>
>>>    /usr/bin/cmake -E cmake_progress_report
>>>    
>>> /home/troypulk/bibletime-2.8.1/build/CMakeFiles/CMakeTmp/CMakeFiles 1
>>>
>>>    Building CXX object
>>>    CMakeFiles/cmTryCompileExec.dir/sword_version_compare.cpp.o
>>>
>>>    /usr/bin/c++ -I/usr/include/sword -o
>>>    CMakeFiles/cmTryCompileExec.dir/sword_version_compare.cpp.o -c
>>>    /home/troypulk/bibletime-2.8.1/cmake/sword_version_compare.cpp
>>>
>>>    Linking CXX executable cmTryCompileExec
>>>
>>>    /usr/bin/cmake -E cmake_link_script
>>>    CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
>>>
>>>    /usr/bin/c++ 
>>> CMakeFiles/cmTryCompileExec.dir/sword_version_compare.cpp.o -o
>>>    cmTryCompileExec -rdynamic -lsword
>>>
>>>    /usr/bin/ld: cannot find -lsword
>>>
>>>    collect2: ld returned 1 exit status
>>>
>>>    gmake[1]: Leaving directory
>>>    `/home/troypulk/bibletime-2.8.1/build/CMakeFiles/CMakeTmp'
>>>
>>>    gmake[1]: *** [cmTryCompileExec] Error 1
>>>
>>>    gmake: *** [cmTryCompileExec/fast] Error 2
>>>
>>> Call Stack (most recent call first):
>>>    cmake/FindSword.cmake:96 (CHECK_SWORD_VERSION)
>>>    CMakeLists.txt:69 (FIND_PACKAGE)
>>>
>>> -- Configuring incomplete, errors occurred!
>>>
>>> _______________________________________________
>>> bt-devel mailing list
>>> bt-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/bt-devel
>>
>>
>> _______________________________________________
>> bt-devel mailing list
>> bt-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/bt-devel
>>
>
> _______________________________________________
> 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