Ktechlab, cmake .. does not work

Asked by Vana Vaneshka

The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.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
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found KF5Completion: /usr/lib/x86_64-linux-gnu/cmake/KF5Completion/KF5CompletionConfig.cmake (found version "5.68.0")
-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.68.0")
-- Found KF5ConfigWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.68.0")
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.68.0")
-- Found KF5DocTools: /usr/lib/x86_64-linux-gnu/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.68.0")
-- Found KF5IconThemes: /usr/lib/x86_64-linux-gnu/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.68.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.68.0")
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.68.0")
-- Found KF5Parts: /usr/lib/x86_64-linux-gnu/cmake/KF5Parts/KF5PartsConfig.cmake (found version "5.68.0")
-- Found KF5TextEditor: /usr/lib/x86_64-linux-gnu/cmake/KF5TextEditor/KF5TextEditorConfig.cmake (found version "5.68.0")
-- Found KF5TextWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF5TextWidgets/KF5TextWidgetsConfig.cmake (found version "5.68.0")
-- Found KF5WidgetsAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.68.0")
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.68.0")
-- Found KF5XmlGui: /usr/lib/x86_64-linux-gnu/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.68.0")
-- Found KF5: success (found version "5.68.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.1")
-- Found GLIB: /usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include (found version "2.64.6")
-- Found GPSim: /usr/lib/libgpsim.so
Qt5Core_EXECUTABLE_COMPILE_FLAGS=>>><<<
CMake Error at CMakeLists.txt:160 (add_subdirectory):
  The source directory

    /home/ivan/snap/Ktechlab/ktechlab-master/tests

  does not contain a CMakeLists.txt file.

-- The following OPTIONAL packages have been found:

 * KF5Service (required version >= 5.68.0)
 * KF5ItemViews (required version >= 5.68.0)
 * KF5JobWidgets (required version >= 5.68.0)
 * KF5Solid (required version >= 5.68.0)
 * KF5Sonnet (required version >= 5.68.0)
 * KF5Auth (required version >= 5.68.0)
 * KF5Codecs (required version >= 5.68.0)
 * PkgConfig
 * GLIB
 * GPSim

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.14.0)
 * Qt5Gui (required version >= 5.12.8)
 * Qt5PrintSupport
 * Qt5SerialPort
 * Qt5Test
 * Qt5
 * KF5DocTools
 * KF5IconThemes
 * KF5Completion (required version >= 5.68.0)
 * KF5KIO (required version >= 5.68.0)
 * KF5Parts (required version >= 5.68.0)
 * KF5TextEditor
 * Gettext
 * KF5I18n (required version >= 5.68.0)
 * KF5TextWidgets
 * KF5WindowSystem
 * Qt5DBus (required version >= 5.12.0)
 * KF5CoreAddons (required version >= 5.68.0)
 * Qt5Core (required version >= 5.12.0)
 * Qt5Widgets (required version >= 5.12.0)
 * KF5WidgetsAddons (required version >= 5.68.0)
 * KF5ConfigWidgets (required version >= 5.68.0)
 * KF5XmlGui
 * KF5

-- Configuring incomplete, errors occurred!
See also "/home/ivan/snap/Ktechlab/ktechlab-master/build/CMakeFiles/CMakeOutput.log".
ivan@ivan-Swift-SF314-56:~/snap/Ktechlab/ktechlab-master/build$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu kcompletion Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Vana Vaneshka (vaneshka) said :
#1

I have been following the instructions to compile and install KTechlab, but when running the command cmake .. an error occur.
CONFIGURING INCOMPLETE, ERRORS OCCURED.

Any help ?

Revision history for this message
Vana Vaneshka (vaneshka) said :
#2

I am running Ubuntu 20.04.3 LTS

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

Have you considered upgrading to Ubuntu 21.04? There is a pre-packaged version of Ktechlab in the Ubuntu repositories for that release (and later).

Revision history for this message
Vana Vaneshka (vaneshka) said :
#4

Yes, it did work, after upgrading to Ubuntu 21.04.

These are the steps taken in order to install Ktechlab.:

go to :

https://launchpad.net/ubuntu/+source/ktechlab/0.50.0-2

Download:

ktechlab_0.50.0.orig.tar.xz

Extract:

ktechlab_0.50.0.orig.tar.xz

make executable:

sudo chmod +x build-simple.sh

run:

build-simple.sh

make executable:

sudo chmod +x run-simple.sh

run:

run-simple.sh

Revision history for this message
Vana Vaneshka (vaneshka) said :
#5

I have a question: Why Ktechlab is not possible to get it in https://snapcraft.io/store ?

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

For requests regarding snapcraft.io snap packages please see https://forum.snapcraft.io/c/snap-requests/21