Ubuntu 20.04에서 KTechlab 컴파일

Sep 28 2020

KTechlab에서 패키지를 찾을 수 없습니다. 소스에서 컴파일하기로 결정했지만 해결할 수없는 문제가 있습니다.https://github.com/ktechlab/ktechlab-0.3

$ cmake ..
-- 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
qmake: could not exec '/usr/lib/qt5/bin/qmake': No such file or directory
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.8.7", minimum required is "4.6.0") 
CMake Error at /usr/share/cmake-3.16/Modules/FindKDE4.cmake:61 (message):
  ERROR: Could not find KDE4 kde4-config
Call Stack (most recent call first):
  CMakeLists.txt:11 (find_package)

검색했지만 kdelibs4를 설치할 수 없습니다 ...

내 구성은 다음과 같습니다.

  • Ubuntu 20.04
  • Kde 데스크탑을 설치했습니다 : sudo apt-get install kubuntu-desktop

도와주세요?

감사합니다.

답변

N0rbert Sep 28 2020 at 20:51

ktechlab-0.3은 매우 오래된 브랜치이며 공식 저장소를 통해 Ubuntu 20.04 LTS에서 사용할 수없는 Qt4에 의존합니다.

그러나 다음과 같이 대체 저장소-KDE Trinity R14를 사용하여 설치할 수 있습니다.

cd ~/Downloads
wget http://archive.ubuntu.com/ubuntu/pool/main/j/jasper/libjasper1_1.900.1-debian1-2.4ubuntu1.2_amd64.deb
sudo apt-get install ./libjasper1_1.900.1-debian1-2.4ubuntu1.2_amd64.deb

sudo add-apt-repository "deb https://ftp.fau.de/trinity/trinity-r14.0.0/ubuntu/ focal main"
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C93AF1698685AD8B
sudo apt-get update
sudo apt install ktechlab-trinity

질문에서 요청한대로 KTechlab 0.3 설치로 끝납니다. 명령 줄을 사용 /opt/trinity/bin/ktechlab하여 다음을 얻을 수 있습니다 .


최신 0.50.1 버전으로 전환하고 ArchLinux AUR PKGBUILD 를 다음과 같이 deb-package 이름으로 변환하여 컴파일하는 것이 좋습니다 .

sudo apt-get install git build-essential cmake extra-cmake-modules gettext qt5-default libkf5declarative-dev libkf5khtml-dev libkf5doctools-dev libkf5texteditor-dev gpsim-dev glib2.0

cd ~/Downloads
git clone https://github.com/ktechlab/ktechlab.git
cd ktechlab
sh build-simple.sh
sh run-simple.sh

다음을 얻을 수 있습니다.