Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
1.1
-
None
-
* 64bit Ubuntu Linux 16.04
* Qt 5.7 built from source
Description
I am trying to build app manager on a fresh Linux install with Qt libraries built from source. I am getting the following error when trying to `make` the project:
r$ make cd src/ && ( test -e Makefile || /usr/local/Qt-5.7.0/bin/qmake /home/aras/Projects/qtapplicationmanager/src/src.pro -o Makefile ) && make -f Makefile make[1]: Entering directory '/home/aras/Projects/qtapplicationmanager/src' cd common-lib/ && ( test -e Makefile || /usr/local/Qt-5.7.0/bin/qmake /home/aras/Projects/qtapplicationmanager/src/common-lib/common-lib.pro -o Makefile ) && make -f Makefile make[2]: Entering directory '/home/aras/Projects/qtapplicationmanager/src/common-lib' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/home/aras/Projects/qtapplicationmanager/src/common-lib' cd crypto-lib/ && ( test -e Makefile || /usr/local/Qt-5.7.0/bin/qmake /home/aras/Projects/qtapplicationmanager/src/crypto-lib/crypto-lib.pro -o Makefile ) && make -f Makefile make[2]: Entering directory '/home/aras/Projects/qtapplicationmanager/src/crypto-lib' g++ -c -pipe -O2 -fPIC -std=gnu++11 -Wall -W -D_REENTRANT -DAM_VERSION=\"1.0.0\" -DAM_USE_LIBCRYPTO -DAM_BUILD_APPMAN -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../common-lib -I/usr/local/Qt-5.7.0/include -I/usr/local/Qt-5.7.0/include/QtNetwork -I/usr/local/Qt-5.7.0/include/QtCore -I. -I/usr/local/Qt-5.7.0/mkspecs/linux-g++ -o libcryptofunction.o libcryptofunction.cpp libcryptofunction.cpp: In static member function ‘static bool Cryptography::LibCryptoFunctionBase::initialize()’: libcryptofunction.cpp:82:5: error: ‘QSslSocket’ has not been declared QSslSocket::supportsSsl(); ^ Makefile:740: recipe for target 'libcryptofunction.o' failed make[2]: *** [libcryptofunction.o] Error 1 make[2]: Leaving directory '/home/aras/Projects/qtapplicationmanager/src/crypto-lib' Makefile:74: recipe for target 'sub-crypto-lib-make_first' failed make[1]: *** [sub-crypto-lib-make_first] Error 2 make[1]: Leaving directory '/home/aras/Projects/qtapplicationmanager/src' Makefile:42: recipe for target 'sub-src-make_first-ordered' failed make: *** [sub-src-make_first-ordered] Error 2
Here is my `qmake` output:
$ qmake Application Manager configuration Version ....................... 1.0.0 Hardware Id ................... auto (derived from network MAC address) Qt version .................... 5.7.0 Qt installation ............... /usr/local/Qt-5.7.0/bin Debug or release .............. release Installation prefix ........... /usr/local Headless ...................... no QtCompositor support .......... yes Multi-process mode ............ no (auto detect) Installer enabled ............. yes Tests enabled ................. no Crypto backend ................ libcrypto / OpenSSL SSDP support .................. no Shellserver support ........... no Genivi support ................ no libbacktrace support .......... no Systemd workaround ............ no System libarchive ............. yes System libyaml ................ yes Documentation generator ....... qdoc/qhelpgenerator in PATH
I have openssl and also installed the following according to the doc:
sudo apt-get install libyaml-dev libarchive-dev libssl-dev
I have built appmanager on a different machine, so this makes me think the issue is with a library dependency or version. Please let me know what I could do to help track this error down.