<div dir="ltr"><br><div>Hi,</div><div><br></div><div>(resending, as the original message has hit the size limit of 40kB for the list)</div><div><br></div><div>does anyone feel like making some self-contained package of KTechLab for Debian Stretch? I'm asking half-seriously.<br></div><div>Apparently the KDE Frameworks there are too old to compile the latest git master.</div><div><br></div><div>There used to be times when linux distributions have been too new to run KTechlab :-)<br></div><div><br></div><div>Regards,</div><div><br></div><div> Zoltan</div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>Feladó: <b class="gmail_sendername" dir="auto">elpibedeoro</b> <span dir="auto"><<a href="mailto:notifications@github.com">notifications@github.com</a>></span><br>Date: 2021. ápr. 20., K, 15:21<br>Subject: [ktechlab/ktechlab] Cannot build on Debian Stretch (#62)<br>To: ktechlab/ktechlab <<a href="mailto:ktechlab@noreply.github.com">ktechlab@noreply.github.com</a>><br>Cc: Subscribed <<a href="mailto:subscribed@noreply.github.com">subscribed@noreply.github.com</a>><br></div><br><br><p></p>
<p>Hi,</p>
<p>I'm trying to build the latest version on Debian Stretch 64bit and I've got a few errors when I run make.</p>
<pre><code>[ 27%] Building CXX object src/CMakeFiles/test_ktechlab.dir/gui/outputmethoddlg.cpp.o
/opt/build_ktechlab/ktechlab/src/gui/outputmethoddlg.cpp: In constructor ‘OutputMethodDlg::OutputMethodDlg(const QString&, const QUrl&, bool, QWidget*)’:
/opt/build_ktechlab/ktechlab/src/gui/outputmethoddlg.cpp:100:30: error: ‘class KUrlRequester’ has no member named ‘setAcceptMode’; did you mean ‘setAcceptDrops’?
m_widget->outputFileURL->setAcceptMode(QFileDialog::AcceptSave);
^~~~~~~~~~~~~
src/CMakeFiles/ktechlab.dir/build.make:890 : la recette pour la cible « src/CMakeFiles/ktechlab.dir/gui/outputmethoddlg.cpp.o » a échouée
make[2]: *** [src/CMakeFiles/ktechlab.dir/gui/outputmethoddlg.cpp.o] Erreur 1
CMakeFiles/Makefile2:241 : la recette pour la cible « src/CMakeFiles/ktechlab.dir/all » a échouée
make[1]: *** [src/CMakeFiles/ktechlab.dir/all] Erreur 2
make[1]: *** Attente des tâches non terminées....
[ 27%] Building CXX object src/CMakeFiles/test_ktechlab.dir/gui/scopeviewbase.cpp.o
In file included from /opt/build_ktechlab/ktechlab/src/gui/projectdlgs.cpp:32:0:
/opt/build_ktechlab/ktechlab/build/src/ui_processingoptionswidget.h: In member function ‘void Ui_ProcessingOptionsWidget::setupUi(QWidget*)’:
/opt/build_ktechlab/ktechlab/build/src/ui_processingoptionswidget.h:64:23: error: ‘class KUrlRequester’ has no member named ‘setAcceptMode’; did you mean ‘setAcceptDrops’?
m_pOutputURL->setAcceptMode(QFileDialog::AcceptSave);
^~~~~~~~~~~~~
src/CMakeFiles/test_ktechlab.dir/build.make:842 : la recette pour la cible « src/CMakeFiles/test_ktechlab.dir/gui/projectdlgs.cpp.o » a échouée
make[2]: *** [src/CMakeFiles/test_ktechlab.dir/gui/projectdlgs.cpp.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
/opt/build_ktechlab/ktechlab/src/gui/outputmethoddlg.cpp: In constructor ‘OutputMethodDlg::OutputMethodDlg(const QString&, const QUrl&, bool, QWidget*)’:
/opt/build_ktechlab/ktechlab/src/gui/outputmethoddlg.cpp:100:30: error: ‘class KUrlRequester’ has no member named ‘setAcceptMode’; did you mean ‘setAcceptDrops’?
m_widget->outputFileURL->setAcceptMode(QFileDialog::AcceptSave);
^~~~~~~~~~~~~
src/CMakeFiles/test_ktechlab.dir/build.make:866 : la recette pour la cible « src/CMakeFiles/test_ktechlab.dir/gui/outputmethoddlg.cpp.o » a échouée
make[2]: *** [src/CMakeFiles/test_ktechlab.dir/gui/outputmethoddlg.cpp.o] Erreur 1
CMakeFiles/Makefile2:278 : la recette pour la cible « src/CMakeFiles/test_ktechlab.dir/all » a échouée
make[1]: *** [src/CMakeFiles/test_ktechlab.dir/all] Erreur 2
Makefile:138 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
</code></pre>
<p>These are my steps :</p>
<p><code>sudo apt install git build-essential cmake extra-cmake-modules gettext qt5-default libkf5declarative-dev libkf5khtml-dev libkf5doctools-dev libkf5texteditor-dev gpsim-dev glib2.0</code><br>
<code>cd /opt</code><br>
<code>git clone <a href="https://github.com/ktechlab/ktechlab.git" target="_blank">https://github.com/ktechlab/ktechlab.git</a></code><br>
<code>cd ktechlab</code><br>
<code>mkdir build && cd build</code><br>
<code>cmake ..</code><br>
<code>make -j4</code></p>
<p>This is the result of cmake that it seems to be ok :</p>
<pre><code>-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- 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
-- 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
-- Could not set up the appstream test. appstreamcli is missing.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Found KF5Completion: /usr/lib/x86_64-linux-gnu/cmake/KF5Completion/KF5CompletionConfig.cmake (found version "5.28.0")
-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.28.0")
-- Found KF5ConfigWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.28.0")
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.28.0")
-- Found KF5DocTools: /usr/lib/x86_64-linux-gnu/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.28.0")
-- Found KF5IconThemes: /usr/lib/x86_64-linux-gnu/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.28.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found PythonInterp: /usr/bin/python (found version "2.7.13")
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.28.0")
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.28.0")
-- Found KF5Parts: /usr/lib/x86_64-linux-gnu/cmake/KF5Parts/KF5PartsConfig.cmake (found version "5.28.0")
-- Found KF5TextEditor: /usr/lib/x86_64-linux-gnu/cmake/KF5TextEditor/KF5TextEditorConfig.cmake (found version "5.28.0")
-- Found KF5TextWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF5TextWidgets/KF5TextWidgetsConfig.cmake (found version "5.28.0")
-- Found KF5WidgetsAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.28.0")
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.28.0")
-- Found KF5XmlGui: /usr/lib/x86_64-linux-gnu/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.28.0")
-- Found KF5: success (found version "5.28.0") found components: Completion Config ConfigWidgets CoreAddons DocTools IconThemes I18n KIO Parts TextEditor TextWidgets WidgetsAddons WindowSystem XmlGui
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Found GLIB: /usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include (found version "2.50.3")
-- Found GPSim: /usr/lib/libgpsim.so
Qt5Core_EXECUTABLE_COMPILE_FLAGS=>>><<<
--
-- The following OPTIONAL packages have been found:
* PkgConfig
* GLIB
* GPSim
-- The following REQUIRED packages have been found:
* ECM (required version >= 5.14.0)
* Qt5Core
* Qt5DBus
* Qt5Gui (required version >= 5.7.1)
* Qt5Widgets
* Qt5PrintSupport
* Qt5SerialPort
* Qt5Test
* Qt5
* KF5Completion
* KF5Config
* KF5ConfigWidgets
* KF5CoreAddons
* KF5DocTools
* KF5IconThemes
* Gettext
* PythonInterp
* KF5I18n
* KF5KIO
* KF5Parts (required version >= 5.28.0)
* KF5TextEditor
* KF5TextWidgets
* KF5WidgetsAddons
* KF5WindowSystem
* KF5XmlGui
* KF5
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/build_ktechlab/ktechlab/build
</code></pre>
<p>This is the result of the make command :</p>
<pre><code>Scanning dependencies of target ktechlab_automoc
Scanning dependencies of target core_automoc
Scanning dependencies of target microbe_automoc
Scanning dependencies of target test_ktechlab_automoc
[ 0%] Automatic moc for target microbe
<br>...
[ 27%] Building CXX object src/CMakeFiles/ktechlab.dir/gui/projectdlgs.cpp.o
[ 27%] Building CXX object src/CMakeFiles/test_ktechlab.dir/gui/oscilloscope.cpp.o
In file included from /opt/build_ktechlab/ktechlab/src/gui/projectdlgs.cpp:32:0:
/opt/build_ktechlab/ktechlab/build/src/ui_processingoptionswidget.h: In member function ‘void Ui_ProcessingOptionsWidget::setupUi(QWidget*)’:
/opt/build_ktechlab/ktechlab/build/src/ui_processingoptionswidget.h:64:23: error: ‘class KUrlRequester’ has no member named ‘setAcceptMode’; did you mean ‘setAcceptDrops’?
m_pOutputURL->setAcceptMode(QFileDialog::AcceptSave);
^~~~~~~~~~~~~
[ 27%] Building CXX object src/CMakeFiles/ktechlab.dir/gui/outputmethoddlg.cpp.o
src/CMakeFiles/ktechlab.dir/build.make:866 : la recette pour la cible « src/CMakeFiles/ktechlab.dir/gui/projectdlgs.cpp.o » a échouée
make[2]: *** [src/CMakeFiles/ktechlab.dir/gui/projectdlgs.cpp.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
[ 27%] Building CXX object src/CMakeFiles/test_ktechlab.dir/gui/newfiledlg.cpp.o
[ 27%] Building CXX object src/CMakeFiles/test_ktechlab.dir/gui/projectdlgs.cpp.o
[ 27%] Building CXX object src/CMakeFiles/test_ktechlab.dir/gui/outputmethoddlg.cpp.o
/opt/build_ktechlab/ktechlab/src/gui/outputmethoddlg.cpp: In constructor ‘OutputMethodDlg::OutputMethodDlg(const QString&, const QUrl&, bool, QWidget*)’:
/opt/build_ktechlab/ktechlab/src/gui/outputmethoddlg.cpp:100:30: error: ‘class KUrlRequester’ has no member named ‘setAcceptMode’; did you mean ‘setAcceptDrops’?
m_widget->outputFileURL->setAcceptMode(QFileDialog::AcceptSave);
^~~~~~~~~~~~~
src/CMakeFiles/ktechlab.dir/build.make:890 : la recette pour la cible « src/CMakeFiles/ktechlab.dir/gui/outputmethoddlg.cpp.o » a échouée
make[2]: *** [src/CMakeFiles/ktechlab.dir/gui/outputmethoddlg.cpp.o] Erreur 1
CMakeFiles/Makefile2:241 : la recette pour la cible « src/CMakeFiles/ktechlab.dir/all » a échouée
make[1]: *** [src/CMakeFiles/ktechlab.dir/all] Erreur 2
make[1]: *** Attente des tâches non terminées....
[ 27%] Building CXX object src/CMakeFiles/test_ktechlab.dir/gui/scopeviewbase.cpp.o
In file included from /opt/build_ktechlab/ktechlab/src/gui/projectdlgs.cpp:32:0:
/opt/build_ktechlab/ktechlab/build/src/ui_processingoptionswidget.h: In member function ‘void Ui_ProcessingOptionsWidget::setupUi(QWidget*)’:
/opt/build_ktechlab/ktechlab/build/src/ui_processingoptionswidget.h:64:23: error: ‘class KUrlRequester’ has no member named ‘setAcceptMode’; did you mean ‘setAcceptDrops’?
m_pOutputURL->setAcceptMode(QFileDialog::AcceptSave);
^~~~~~~~~~~~~
src/CMakeFiles/test_ktechlab.dir/build.make:842 : la recette pour la cible « src/CMakeFiles/test_ktechlab.dir/gui/projectdlgs.cpp.o » a échouée
make[2]: *** [src/CMakeFiles/test_ktechlab.dir/gui/projectdlgs.cpp.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
/opt/build_ktechlab/ktechlab/src/gui/outputmethoddlg.cpp: In constructor ‘OutputMethodDlg::OutputMethodDlg(const QString&, const QUrl&, bool, QWidget*)’:
/opt/build_ktechlab/ktechlab/src/gui/outputmethoddlg.cpp:100:30: error: ‘class KUrlRequester’ has no member named ‘setAcceptMode’; did you mean ‘setAcceptDrops’?
m_widget->outputFileURL->setAcceptMode(QFileDialog::AcceptSave);
^~~~~~~~~~~~~
src/CMakeFiles/test_ktechlab.dir/build.make:866 : la recette pour la cible « src/CMakeFiles/test_ktechlab.dir/gui/outputmethoddlg.cpp.o » a échouée
make[2]: *** [src/CMakeFiles/test_ktechlab.dir/gui/outputmethoddlg.cpp.o] Erreur 1
CMakeFiles/Makefile2:278 : la recette pour la cible « src/CMakeFiles/test_ktechlab.dir/all » a échouée
make[1]: *** [src/CMakeFiles/test_ktechlab.dir/all] Erreur 2
Makefile:138 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
</code></pre>
<p>I've got a few errors if I launch build-simple.sh too. If it worths I could show its result.</p>
<p>Do you have any idea about this issue ? Did I forget anything maybe ?<br>
Thanks in advance for your help.</p>
<p style="font-size:small;color:#666">—<br>You are receiving this because you are subscribed to this thread.<br>Reply to this email directly, <a href="https://github.com/ktechlab/ktechlab/issues/62" target="_blank">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAGBI3SW2YOAPVZNR4A5HYLTJVWUHANCNFSM43IBVHXQ" target="_blank">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAGBI3UAXW7BFWKJG7PHRDTTJVWUHA5CNFSM43IBVHX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4M3MVEZA.gif" alt="" width="1" height="1"></p>
</div></div>