Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#102 closed defect (fixed)

Problem installing BNC V2.12

Reported by: apaulson@… Owned by: stuerze
Priority: blocker Component: BNC
Version: Keywords:
Cc:

Description

Hello,

I am trying to install v2.12 of BNC and am getting the following error after performing qmake bnc.pro then make:

bncsslconfig.h:8:29: error: invalid use of incomplete type ‘class QSslConfiguration’
 class bncSslConfig : public QSslConfiguration {
                             ^
In file included from /usr/local/Trolltech/Qt-4.8.5/include/QtNetwork/qabstractnetworkcache.h:48:0,
                 from /usr/local/Trolltech/Qt-4.8.5/include/QtNetwork/QtNetwork:7,
                 from bncgetthread.h:29,
                 from bncwindow.h:32,
                 from bncwindow.cpp:64:
/usr/local/Trolltech/Qt-4.8.5/include/QtNetwork/qnetworkrequest.h:56:7: note: forward declaration of ‘class QSslConfiguration’
 class QSslConfiguration;
       ^
Makefile:940: recipe for target '.obj/release/bncwindow.o' failed
make[1]: *** [.obj/release/bncwindow.o] Error 1
make[1]: Leaving directory '/home/pg_user/Desktop/bnc-2.12.2-ubuntu14-64bit-shared/BNC/BNC/src'
Makefile:150: recipe for target 'sub-src-make_default-ordered' failed
make: *** [sub-src-make_default-ordered] Error 2

I am following the directions given in the BNC Help PDF on page 21 (Linux Systems), using Qt v4.8.5 on Ubuntu 16.04 LTS. Please let me know what I need to do to install and/or use this application on my platform.

Change History (3)

comment:1 by apaulson@…, 8 years ago

Hi, please use the email in this comment; the previous email given above (can't see it) may have been mistyped.

comment:2 by stuerze, 8 years ago

Resolution: fixed
Status: newclosed

'Secure Socket Layer (SSL)' seems not to be available on your system. Hence, you should install OpenSSL libraries: http://doc.qt.io/archives/qt-5.5/opensslsupport.html

comment:3 by apaulson@…, 8 years ago

leaving a note for future reference:

This feedback was not immediately clear to me since OpenSSL v1.0.2g was installed and working on my system. After a lot of reading and research (the link provided did not answer my question), I determined that I needed to install the SSL developer library, e.g. apt-get install libssl-dev. I also changed the qmake configure command line instruction to:

./configure -fast -webkit -nomake examples -nomake tutorial -openssl -prefix /usr/local/Trolltech/Qt-4.8.5

and this seemed to solve the problem.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.