Fwd: [ktechlab/ktechlab] Cannot build on Debian Stretch (#62)

Zoltan Padrah zoltan.padrah at gmail.com
Tue Apr 20 19:35:12 BST 2021


Hi,

(resending, as the original message has hit the size limit of 40kB for the
list)

does anyone feel like making some self-contained package of KTechLab for
Debian Stretch? I'm asking half-seriously.
Apparently the KDE Frameworks there are too old to compile the latest git
master.

There used to be times when linux distributions have been too new to run
KTechlab :-)

Regards,

 Zoltan

---------- Forwarded message ---------
Feladó: elpibedeoro <notifications at github.com>
Date: 2021. ápr. 20., K, 15:21
Subject: [ktechlab/ktechlab] Cannot build on Debian Stretch (#62)
To: ktechlab/ktechlab <ktechlab at noreply.github.com>
Cc: Subscribed <subscribed at noreply.github.com>


Hi,

I'm trying to build the latest version on Debian Stretch 64bit and I've got
a few errors when I run make.

[ 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


These are my steps :

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
cd /opt
git clone https://github.com/ktechlab/ktechlab.git
cd ktechlab
mkdir build && cd build
cmake ..
make -j4

This is the result of cmake that it seems to be ok :

-- 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


This is the result of the make command :

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
...

[ 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


I've got a few errors if I launch build-simple.sh too. If it worths I could
show its result.

Do you have any idea about this issue ? Did I forget anything maybe ?
Thanks in advance for your help.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/ktechlab/ktechlab/issues/62>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGBI3SW2YOAPVZNR4A5HYLTJVWUHANCNFSM43IBVHXQ>
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/ktechlab-devel/attachments/20210420/85a8527e/attachment-0001.htm>


More information about the Ktechlab-devel mailing list