[bt-devel] BT 2.8.1 Build problem
troypulk
troypulk at yahoo.com
Mon Aug 22 20:52:45 MST 2011
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!
More information about the bt-devel
mailing list