[sword-devel] What devel libraries I am missing?
Matěj Cepl
mcepl at cepl.eu
Thu Sep 27 17:09:21 EDT 2018
Hi,
trying to build sword 1.8.1 on Linux (openSUSE/Tumbleweed) using
cmake and the result is not persuasive.
Anybody any idea, what's going on? What am I missing?
Blessings,
Matěj
matej at stitny: sword-1.8.1$ mkdir build && cd build
matej at stitny: build$ cmake -DSWORD_BINDINGS="Python Perl" ..
-- The CXX compiler identification is GNU 8.2.1
-- The C compiler identification is GNU 8.2.1
-- 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring your system to build libsword.
-- SWORD Version 1008001000
--
-- SEARCHING FOR SYTEM PACKAGES
-- System regex.h: Yes
--
-- CONFIGURING SOURCE LIST
-- ZLib: system /usr/lib64/libz.so
-- bzip2: system /usr/lib64/libbz2.so
-- xz: no
-- cURL: system /usr/lib64/libcurl.so and /usr/include
-- CLucene: no
-- PkgConfig: yes
-- ICU: yes /usr/lib64/libicuuc.so and /usr/include
-- Regex.h: system /usr/include
-- Building Shared library.
-- Building Static library.
-- Setting SOVERSION to 1.8.1
-- cURL SFTP Support: Yes
-- Setting link libraries to /usr/lib64/libz.so;/usr/lib64/libbz2.so;/usr/lib64/libcurl.so;/usr/lib64/libicuuc.so;/usr/lib64/libicui18n.so
--
-- CONFIGURING INSTALLATION DESTINATIONS
-- Destination: /usr/local
--
-- CONFIGURING SWIG BINDINGS
-- Found SWIG: /usr/bin/swig (found version "3.0.12")
-- Swig: yes
-- Found PythonInterp: /usr/bin/python3.6 (found version "3.6.5")
-- Found PythonLibs: /usr/lib64/libpython3.6m.so (found version "3.6.5")
-- Python: yes
-- Found Perl: /usr/bin/perl (found version "5.26.2")
-- Perl: yes
-- Configuring done
-- Generating done
-- Build files have been written to: /home/matej/build/home/sword/sword-1.8.1/build
matej at stitny: build$ make
Scanning dependencies of target sword_static
[ 0%] Building CXX object CMakeFiles/sword_static.dir/src/frontend/swdisp.cpp.o
[ 0%] Building CXX object CMakeFiles/sword_static.dir/src/frontend/swlog.cpp.o
[ 1%] Building CXX object CMakeFiles/sword_static.dir/src/keys/swkey.cpp.o
[ 1%] Building CXX object CMakeFiles/sword_static.dir/src/keys/listkey.cpp.o
[ 1%] Building CXX object CMakeFiles/sword_static.dir/src/keys/strkey.cpp.o
[ 1%] Building CXX object CMakeFiles/sword_static.dir/src/keys/treekey.cpp.o
[ 2%] Building CXX object CMakeFiles/sword_static.dir/src/keys/treekeyidx.cpp.o
[ 2%] Building CXX object CMakeFiles/sword_static.dir/src/keys/versekey.cpp.o
[ 2%] Building CXX object CMakeFiles/sword_static.dir/src/keys/versetreekey.cpp.o
[ 3%] Building CXX object CMakeFiles/sword_static.dir/src/mgr/swconfig.cpp.o
[ 3%] Building CXX object CMakeFiles/sword_static.dir/src/mgr/swmgr.cpp.o
In file included from /home/matej/build/home/sword/sword-1.8.1/src/mgr/swmgr.cpp:108:
/home/matej/build/home/sword/sword-1.8.1/include/utf8transliterator.h:53:2: error: ‘UnicodeString’ does not name a type
UnicodeString resource;
^~~~~~~~~~~~~
/home/matej/build/home/sword/sword-1.8.1/include/utf8transliterator.h:56:24: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
typedef std::map<const UnicodeString, SWTransData> SWTransMap;
^~~~~~~~~~~~~
/home/matej/build/home/sword/sword-1.8.1/include/utf8transliterator.h:56:50: error: wrong number of template arguments (1, should be at least 2)
typedef std::map<const UnicodeString, SWTransData> SWTransMap;
^
In file included from /usr/include/c++/8/map:61,
from /home/matej/build/home/sword/sword-1.8.1/include/swmgr.h:60,
from /home/matej/build/home/sword/sword-1.8.1/src/mgr/swmgr.cpp:33:
/usr/include/c++/8/bits/stl_map.h:100:11: note: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’
class map
^~~
In file included from /home/matej/build/home/sword/sword-1.8.1/src/mgr/swmgr.cpp:108:
/home/matej/build/home/sword/sword-1.8.1/include/utf8transliterator.h:57:19: error: ‘UnicodeString’ was not declared in this scope
typedef std::pair<UnicodeString, SWTransData> SWTransPair;
^~~~~~~~~~~~~
/home/matej/build/home/sword/sword-1.8.1/include/utf8transliterator.h:57:19: note: suggested alternative:
In file included from /home/matej/build/home/sword/sword-1.8.1/include/utf8transliterator.h:41,
from /home/matej/build/home/sword/sword-1.8.1/src/mgr/swmgr.cpp:108:
/usr/include/unicode/unistr.h:286:20: note: ‘icu_62_1::UnicodeString’
class U_COMMON_API UnicodeString : public Replaceable
^~~~~~~~~~~~~
In file included from /home/matej/build/home/sword/sword-1.8.1/src/mgr/swmgr.cpp:108:
/home/matej/build/home/sword/sword-1.8.1/include/utf8transliterator.h:57:45: error: template argument 1 is invalid
typedef std::pair<UnicodeString, SWTransData> SWTransPair;
^
/home/matej/build/home/sword/sword-1.8.1/include/utf8transliterator.h:84:2: error: ‘Transliterator’ does not name a type; did you mean ‘UTransliterator’?
Transliterator *createTrans(const UnicodeString& ID, UTransDirection dir, UErrorCode &status);
^~~~~~~~~~~~~~
UTransliterator
make[2]: *** [CMakeFiles/sword_static.dir/build.make:193: CMakeFiles/sword_static.dir/src/mgr/swmgr.cpp.o] Chyba 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/sword_static.dir/all] Chyba 2
make: *** [Makefile:130: all] Chyba 2
matej at stitny: build$
More information about the sword-devel
mailing list