From 944e1ae1ccbfd9ed0238274c7767504f64e50714 Mon Sep 17 00:00:00 2001 From: Roeland Jansen Date: Sat, 24 Jul 2021 10:59:01 +0200 Subject: [PATCH] small changes to INSTAll.md and addition of mint 20.2/openSUSE 15.3 --- INSTALL.md | 2 +- INSTALL_PREBUILT_BINARY.md | 51 ++++++++++++++++++++++++++++++++++---- 2 files changed, 47 insertions(+), 6 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index e725619..6df4ada 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -75,7 +75,7 @@ we need to add packages to be able to build the stuff. - sudo zypper in --type pattern devel_basis - sudo zypper in libQt5Widgets-devel libqt5-qtbase-common-devel libqt5-qtserialport-devel libQt5SerialPort5 qcustomplot-devel libqcustomplot2 libQt5PrintSupport-devel libqt5-qtmultimedia-devel -now get and install qt5: +optional (mainly for development specifics): get and install qt5: - wget http://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run - chmod +x qt-unified-linux-x64-online.run diff --git a/INSTALL_PREBUILT_BINARY.md b/INSTALL_PREBUILT_BINARY.md index 2dc2791..6c8fc7e 100644 --- a/INSTALL_PREBUILT_BINARY.md +++ b/INSTALL_PREBUILT_BINARY.md @@ -1,4 +1,4 @@ -# How to install wfview without building yourself on selected linux versions +# How to install wfview without building yourself on selected linux versions @@ -22,10 +22,12 @@ Debian 11 (Debian 10 is outdated) Fedora 33 Fedora 34 mint 20.1 (and up?) -openSUSE 15.x -openSUSE Tumbleweed +openSUSE 15.2 +openSUSE 15.3 (see notes at the end) +openSUSE Tumbleweed(s) SLES 15.x -Ubuntu 20.04.2 and up (?) +Ubuntu 20.04.2 +mint 20.2 (see notes at the end) ~~~ @@ -69,12 +71,37 @@ note: if the above symlink fails, use the following line to fix the library link sudo ln -s /lib/x86_64-linux-gnu/libqcustomplot.so.2.0.1 /lib/x86_64-linux-gnu/libqcustomplot.so.2 ~~~ -### openSUSE/Tumbleweed/SLES: +### Mint 20.2 +~~~ + +SEE THE NOTES AT THE END. You need wfview153 binary here + +sudo apt install libqcustomplot2.0 libqt5multimedia5 libqt5serialport5 +sudo ln -s /usr/lib64/libqcustomplot-qt5.so.2 /usr/lib64/libqcustomplot.so.2 +wfview + +note: if the above symlink fails, use the following line to fix the library link: + +sudo ln -s /lib/x86_64-linux-gnu/libqcustomplot.so.2.0.1 /lib/x86_64-linux-gnu/libqcustomplot.so.2 +~~~ + + +### openSUSE/Tumbleweed/SLES based on 15.2: ~~~ sudo zypper in libqcustomplot2 libQt5SerialPort5 wfview ~~~ +### openSUSE/Tumbleweed/SLES based on 15.3: +~~~ + +SEE THE NOTES AT THE END. You need wfview153 here + +sudo zypper in libqcustomplot2 libQt5SerialPort5 +wfview +~~~ + + ### UBUNTU: ~~~ sudo apt install libqcustomplot2.0 libqt5multimedia5 libqt5serialport5 @@ -89,4 +116,18 @@ sudo ln -s /lib/x86_64-linux-gnu/libqcustomplot.so.2.0.1 /lib/x86_64-linux-gnu/l +### notes: +~~~ +Some newer versions of mint. ubuntu, openSUSE have different kernels and such which cause wfview to segfault. + +For these cases we created two binaries: one for current systems ("wfview") and one for the new systems ("wfview153") + +So if you encounter a SEGFAULT at start: + +go in to the dist directory, rename wfview to wfvie152; rename wfview153 to wfview and re-execute the install.sh +script + +~~~ + +