Jump to content

How to install the Agent on Linux MINT 17.2


Recommended Posts

Hi,

 

I reveived my Openscope yesterday and totday I wanted to install the Agent on my Linux MINT 17.2 Machine.

The installation failed because of missing dependencies. It complains about missing libqt5core5a >=5.5.0

libqt5core5a is installed on my System but it is too old, so I tried to install a .deb package with version 5.6.1 of the lib. But there is

the next problem with missing libicu.

 

Could you please provide an HowTo or a list of dependencies that have to be met ?

 

Thanks.

Link to comment
Share on other sites

Hey JoergH,

I haven't tried using the Digilent Agent on MINT, but general instructions to build from source are here.  I think the following should satisfy all QT dependencies:

sudo apt-get install qt5-default
sudo apt-get install libqt5serialport5-dev

Let us know if that helps or if you have more questions.

 

Thanks!

-Kristoff

Link to comment
Share on other sites

Hi,

 

Sorry, but this doesnt work for me. The libqt5core5a on my System remains Version 5.2.1 but >5.5.0 is required. 

sudo gdebi digilent-agent_0.3.6-1_amd64.deb
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Building data structures... Done 
Dieses Paket kann nicht installiert werden
Dependency is not satisfiable: libqt5core5a (>= 5.5.0)

Manual upgrade of libqt5core5a to 5.7.1 doesnt work also:

 

sudo gdebi libqt5core5a_5.7.1+dfsg-3+b1_amd64.deb
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Building data structures... Done 
Dieses Paket kann nicht installiert werden
Breaks existing package 'qtbase5-dev' dependency libqt5core5a (= 5.2.1+dfsg-1ubuntu14.3)

Any hints ? 

Link to comment
Share on other sites

Do you have QT creator installed on this system?  You don't need it but if it is there it might be causing upgrade conflicts.  In that case I would update QT creator (or do a side by side install) and build the Agent with the 5.5.x version of QT creator.

-Kristoff

Link to comment
Share on other sites

Tried to build the Agent from source, but no luck. 

 

g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_CONCURRENT_LIB -DQT_SERIALPORT_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -Isrc/httpServer/core -Ilib/zlib-1.2.11 -Ilib/quazip-0.7/quazip -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -o httpRouter.o src/httpServer/httpRouter.cpp
In file included from /usr/include/qt5/QtCore/qjsonarray.h:45:0,
                 from /usr/include/qt5/QtCore/QtCore:55,
                 from src/httpServer/httpRouter.h:5,
                 from src/httpServer/httpRouter.cpp:2:
/usr/include/qt5/QtCore/qjsonvalue.h: In member function ‘virtual void HttpRouter::service(HttpRequest&, HttpResponse&)’:
/usr/include/qt5/QtCore/qjsonvalue.h:119:12: error: ‘QJsonValue::QJsonValue(const void*)’ is private
     inline QJsonValue(const void *) {}
            ^
src/httpServer/httpRouter.cpp:50:62: error: within this context
             statusObj.insert("statusText", "No active device");
                                                              ^
make: *** [httpRouter.o] Fehler 1

Ive used the Instructions from 

reference.digilentinc.com/reference/software/digilent-agent/build-from-source

but it ends up with this error. 

Link to comment
Share on other sites

Hey,

I just pushed an update to the git repo that removed some unnecessary dependencies and fixed a segfault on Linux.  After that I was able to build on MINT 18.1 with no issues following the instructions here.  

  • Try pulling the new source and run through the directions again.
  • Can you also post the output of the following command:
apt list --installed | grep qt

Mine is:

libaccounts-qt5-1/xenial,now 1.14+16.04.20151106.1-0ubuntu1 amd64 [installed]
libdbusmenu-qt2/xenial,now 0.9.3+16.04.20160218-0ubuntu1 amd64 [installed]
libqt4-dbus/xenial,now 4:4.8.7+dfsg-5ubuntu2 i386 [installed]
libqt4-declarative/xenial,now 4:4.8.7+dfsg-5ubuntu2 amd64 [installed]
libqt4-designer/xenial,now 4:4.8.7+dfsg-5ubuntu2 amd64 [installed]
libqt4-help/xenial,now 4:4.8.7+dfsg-5ubuntu2 amd64 [installed]
libqt4-network/xenial,now 4:4.8.7+dfsg-5ubuntu2 i386 [installed]
libqt4-opengl/xenial,now 4:4.8.7+dfsg-5ubuntu2 i386 [installed]
libqt4-qt3support/xenial,now 4:4.8.7+dfsg-5ubuntu2 i386 [installed]
libqt4-script/xenial,now 4:4.8.7+dfsg-5ubuntu2 i386 [installed]
libqt4-scripttools/xenial,now 4:4.8.7+dfsg-5ubuntu2 i386 [installed]
libqt4-sql/xenial,now 4:4.8.7+dfsg-5ubuntu2 i386 [installed]
libqt4-svg/xenial,now 4:4.8.7+dfsg-5ubuntu2 i386 [installed]
libqt4-test/xenial,now 4:4.8.7+dfsg-5ubuntu2 i386 [installed]
libqt4-xml/xenial,now 4:4.8.7+dfsg-5ubuntu2 i386 [installed]
libqt4-xmlpatterns/xenial,now 4:4.8.7+dfsg-5ubuntu2 i386 [installed]
libqt5concurrent5/xenial-updates,now 5.5.1+dfsg-16ubuntu7.5 amd64 [installed,automatic]
libqt5core5a/xenial-updates,now 5.5.1+dfsg-16ubuntu7.5 amd64 [installed]
libqt5dbus5/xenial-updates,now 5.5.1+dfsg-16ubuntu7.5 amd64 [installed]
libqt5gui5/xenial-updates,now 5.5.1+dfsg-16ubuntu7.5 amd64 [installed]
libqt5network5/xenial-updates,now 5.5.1+dfsg-16ubuntu7.5 amd64 [installed]
libqt5opengl5/now 5.5.1+dfsg-16ubuntu7.2 amd64 [installed,upgradable to: 5.5.1+dfsg-16ubuntu7.5]
libqt5printsupport5/xenial-updates,now 5.5.1+dfsg-16ubuntu7.5 amd64 [installed]
libqt5qml5/xenial,now 5.5.1-2ubuntu6 amd64 [installed]
libqt5quick5/xenial,now 5.5.1-2ubuntu6 amd64 [installed]
libqt5serialport5/xenial,now 5.5.1-2build1 amd64 [installed,automatic]
libqt5serialport5-dev/xenial,now 5.5.1-2build1 amd64 [installed]
libqt5sql5/xenial-updates,now 5.5.1+dfsg-16ubuntu7.5 amd64 [installed]
libqt5sql5-sqlite/now 5.5.1+dfsg-16ubuntu7.2 amd64 [installed,upgradable to: 5.5.1+dfsg-16ubuntu7.5]
libqt5test5/xenial-updates,now 5.5.1+dfsg-16ubuntu7.5 amd64 [installed,automatic]
libqt5webkit5/xenial,now 5.5.1+dfsg-2ubuntu1 amd64 [installed]
libqt5widgets5/xenial-updates,now 5.5.1+dfsg-16ubuntu7.5 amd64 [installed]
libqt5x11extras5/xenial,now 5.5.1-3build1 amd64 [installed,automatic]
libqt5xml5/xenial-updates,now 5.5.1+dfsg-16ubuntu7.5 amd64 [installed]
libqtassistantclient4/xenial,now 4.6.3-7 amd64 [installed]
libqtcore4/xenial,now 4:4.8.7+dfsg-5ubuntu2 i386 [installed]
libqtdbus4/xenial,now 4:4.8.7+dfsg-5ubuntu2 amd64 [installed]
libqtgui4/xenial,now 4:4.8.7+dfsg-5ubuntu2 i386 [installed]
libqtwebkit4/xenial,now 2.3.2-0ubuntu11 i386 [installed]
libsignon-qt5-1/xenial,now 8.58+16.04.20151106-0ubuntu1 amd64 [installed]
oxideqt-codecs-extra/xenial-updates,xenial-security,now 1.21.5-0ubuntu0.16.04.1 amd64 [installed,automatic]
python-qt4/xenial,now 4.11.4+dfsg-1build4 amd64 [installed]
python-qt4-dbus/xenial,now 4.11.4+dfsg-1build4 amd64 [installed]
qt-at-spi/xenial,now 0.4.0-3 amd64 [installed]
qt5-default/xenial-updates,now 5.5.1+dfsg-16ubuntu7.5 amd64 [installed]
qt5-qmake/xenial-updates,now 5.5.1+dfsg-16ubuntu7.5 amd64 [installed,automatic]
qtbase5-dev/xenial-updates,now 5.5.1+dfsg-16ubuntu7.5 amd64 [installed,automatic]
qtbase5-dev-tools/xenial-updates,now 5.5.1+dfsg-16ubuntu7.5 amd64 [installed,automatic]
qtchooser/xenial,now 52-gae5eeef-2build1~gcc5.2 amd64 [installed]
qtcore4-l10n/xenial,xenial,now 4:4.8.7+dfsg-5ubuntu2 all [installed]
sni-qt/xenial,now 0.2.7+15.10.20150729-0ubuntu1 amd64 [installed,upgradable to: 0.2.7+16.04.20170217.1-0ubuntu1]

Thanks!

-Kristoff

Link to comment
Share on other sites

Hi,

Sorry for the delay. Got a lot of work here but still no luck - the same error at httprouter.o remains.

here is my list:

ii  libaccounts-qt5-1	1.11+14.04.20140410.1-0ubuntu1                      amd64        QT library for single sign on
ii  libdbusmenu-qt2:amd64	0.9.3+14.04.20140314-0ubuntu1                   amd64        Qt implementation of the DBusMenu protocol
ii  libntrack-qt4-1	016-1.2ubuntu2                                          amd64        Qt 4 API for ntrack
ii  libpolkit-qt-1-1	0.103.0-1ubuntu1                                    amd64        PolicyKit-qt-1 library
ii  libqt4-dbus:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             amd64        Qt 4 D-Bus module
ii  libqt4-dbus:i386	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             i386         Qt 4 D-Bus module
ii  libqt4-declarative:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1     amd64        Qt 4 Declarative module
ii  libqt4-declarative:i386	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1         i386         Qt 4 Declarative module
ii  libqt4-designer:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1         amd64        Qt 4 designer module
ii  libqt4-designer:i386	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1         i386         Qt 4 designer module
ii  libqt4-help:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             amd64        Qt 4 help module
ii  libqt4-network:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1         amd64        Qt 4 network module
ii  libqt4-network:i386	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             i386         Qt 4 network module
ii  libqt4-opengl:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             amd64        Qt 4 OpenGL module
ii  libqt4-opengl:i386	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             i386         Qt 4 OpenGL module
ii  libqt4-qt3support:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1         amd64        Qt 3 compatibility library for Qt 4
ii  libqt4-qt3support:i386	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1         i386         Qt 3 compatibility library for Qt 4
ii  libqt4-script:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             amd64        Qt 4 script module
ii  libqt4-script:i386	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             i386         Qt 4 script module
ii  libqt4-scripttools:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1     amd64        Qt 4 script tools module
ii  libqt4-scripttools:i386	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1         i386         Qt 4 script tools module
ii  libqt4-sql:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             amd64        Qt 4 SQL module
ii  libqt4-sql:i386		4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             i386         Qt 4 SQL module
ii  libqt4-sql-sqlite:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1         amd64        Qt 4 SQLite 3 database driver
ii  libqt4-svg:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             amd64        Qt 4 SVG module
ii  libqt4-svg:i386		4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             i386         Qt 4 SVG module
ii  libqt4-test:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             amd64        Qt 4 test module
ii  libqt4-test:i386	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             i386         Qt 4 test module
ii  libqt4-xml:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             amd64        Qt 4 XML module
ii  libqt4-xml:i386		4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             i386         Qt 4 XML module
ii  libqt4-xmlpatterns:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1     amd64        Qt 4 XML patterns module
ii  libqt4-xmlpatterns:i386	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1         i386         Qt 4 XML patterns module
ii  libqt5concurrent5:amd64	5.2.1+dfsg-1ubuntu14.3                          amd64        Qt 5 concurrent module
ii  libqt5core5a:amd64	5.2.1+dfsg-1ubuntu14.3                              amd64        Qt 5 core module
ii  libqt5dbus5:amd64	5.2.1+dfsg-1ubuntu14.3                              amd64        Qt 5 D-Bus module
ii  libqt5gui5:amd64	5.2.1+dfsg-1ubuntu14.3                              amd64        Qt 5 GUI module
ii  libqt5network5:amd64	5.2.1+dfsg-1ubuntu14.3                          amd64        Qt 5 network module
ii  libqt5opengl5:amd64	5.2.1+dfsg-1ubuntu14.3                              amd64        Qt 5 OpenGL module
ii  libqt5positioning5:amd64	5.2.1-1ubuntu2                              amd64        Qt Positioning module
ii  libqt5printsupport5:amd64	5.2.1+dfsg-1ubuntu14.3                      amd64        Qt 5 print support module
ii  libqt5qml5:amd64	5.2.1-3ubuntu15.1                                   amd64        Qt 5 QML module
ii  libqt5quick5:amd64	5.2.1-3ubuntu15.1                                   amd64        Qt 5 Quick library
ii  libqt5sensors5:amd64	5.2.1+dfsg-2ubuntu2                             amd64        Qt Sensors module
ii  libqt5serialport5:amd64	5.2.1-1                                         amd64        Qt 5 serial port support
ii  libqt5serialport5-dev	5.2.1-1                                         amd64        Qt 5 serial port development files
ii  libqt5sql5:amd64	5.2.1+dfsg-1ubuntu14.3                              amd64        Qt 5 SQL module
ii  libqt5sql5-sqlite:amd64	5.2.1+dfsg-1ubuntu14.3                          amd64        Qt 5 SQLite 3 database driver
ii  libqt5test5:amd64	5.2.1+dfsg-1ubuntu14.3                              amd64        Qt 5 test module
ii  libqt5webkit5:amd64	5.1.1-1ubuntu8                                      amd64        Web content engine library for Qt
ii  libqt5widgets5:amd64	5.2.1+dfsg-1ubuntu14.3                          amd64        Qt 5 widgets module
ii  libqt5xml5:amd64	5.2.1+dfsg-1ubuntu14.3                              amd64        Qt 5 XML module
ii  libqtassistantclient4:amd64	4.6.3-6                                     amd64        Qt Assistant client library (runtime)
ii  libqtcore4:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             amd64        Qt 4 core module
ii  libqtcore4:i386		4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             i386         Qt 4 core module
ii  libqtdbus4:amd64	4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             amd64        Qt 4 D-Bus module library
ii  libqtdbus4:i386		4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             i386         Qt 4 D-Bus module library
ii  libqtgui4:amd64		4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             amd64        Qt 4 GUI module
ii  libqtgui4:i386		4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             i386         Qt 4 GUI module
ii  libqtwebkit4:amd64	2.3.2-0ubuntu7                                      amd64        Web content engine library for Qt
ii  libqtwebkit4:i386	2.3.2-0ubuntu7                                      i386         Web content engine library for Qt
ii  libsignon-qt5-1		8.56+14.04.20140307-0ubuntu2                        amd64        Single Sign On framework
ii  python-qt4			4.10.4+dfsg-1ubuntu1                                amd64        Python bindings for Qt4
ii  python-qt4-dbus		4.10.4+dfsg-1ubuntu1                                amd64        D-Bus Support for PyQt4
ii  qt-at-spi:amd64		0.3.1-4fakesync1                                    amd64        at-spi accessibility plugin for Qt
ii  qt5-default:amd64	5.2.1+dfsg-1ubuntu14.3                              amd64        Qt 5 development defaults package
ii  qt5-qmake:amd64		5.2.1+dfsg-1ubuntu14.3                              amd64        Qt 5 qmake Makefile generator tool
ii  qtbase5-dev:amd64   5.2.1+dfsg-1ubuntu14.3                              amd64        Qt 5 base development files
ii  qtbase5-dev-tools   5.2.1+dfsg-1ubuntu14.3                              amd64        Qt 5 base development programs
ii  qtchooser           39-g4717841-3                                       amd64        Wrapper to select between Qt development binary versions
ii  qtcore4-l10n        4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1             all          Qt 4 core module translations
ii  sni-qt:amd64        0.2.6-0ubuntu1                                      amd64        indicator support for Qt

Thanks

Joerg

Link to comment
Share on other sites

Hey,

in src/httpServer/httpRouter.cpp can you try changing:

statusObj.insert("statusText", "No active device");

to 

statusObj.insert("statusText", QString("No active device"));

Then try building again.

-Kristoff

Link to comment
Share on other sites

Hi, 

 

Sorry for my veerryy late answer. You're right - on mint 18.2 the Agent will be installed without problems. So I've upgraded my 17.2 to 18.2 and got the Agent installed after that. 

Now I'll have to find the time to start with the openscope. 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...