Closed funkybob closed 6 years ago
libutf8proc-dev is installed in system?
That's the last line of my post (sorry, it was late and I'd had some wine)... it's installed.
i have qtermwidget-0.7.1 in building... it have not utf8proc-devel requires.
curtis@flasheart:~/src/git/qt-virt-manager/build$ cmake ..
-- The CXX compiler identification is GNU 7.3.0
-- 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
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Build on system: Linux
-- Build with QT version: 5
-- QT4 build: 0
-- QT5 build: 1
--
-- LIB_SUFFIX variable is not defined. It will be autodetected now.
-- You can set it manually with -DLIB_SUFFIX=<value> (64 for example)
-- LIB_SUFFIX is set to '64'
--
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Found LibVirt: /usr/lib/libvirt.so
-- Checking for module 'qtermwidget5'
-- Package 'libutf8proc', required by 'qtermwidget5', not found
CMake Error at /usr/share/cmake-3.11/Modules/FindPkgConfig.cmake:418 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.11/Modules/FindPkgConfig.cmake:585 (_pkg_check_modules_internal)
CMakeLists.txt:1098 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/curtis/src/git/qt-virt-manager/build/CMakeFiles/CMakeOutput.log".
curtis@flasheart:~/src/git/qt-virt-manager/build$ dpkg -l | grep qtermwid
ii libqtermwidget5-0:amd64 0.9.0-1 amd64 Terminal emulator widget for Qt 5 (shared libraries)
ii libqtermwidget5-0-dev:amd64 0.9.0-1 amd64 Terminal emulator widget for Qt 5 (development files)
ii qtermwidget5-data 0.9.0-1 all Terminal emulator widget for Qt 5 (data files)
ls /usr/share/cmake | grep utf8
ls /usr/share/cmake/Modules | grep utf8
do it pls for checking the FindLibUtf8Proc.cmake module or package config files...
It's "/usr/share/cmake-3.11/" as per the output above... and both commands showed nothing.
clear... then need to write FindLibUtf8Proc.cmake... need a time... maybe today... maybe tomorrow...
Thanks for the quick action, but sadly no change:
-- Package 'libutf8proc', required by 'qtermwidget5', not found
CMake Error at /usr/share/cmake-3.11/Modules/FindPkgConfig.cmake:418 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.11/Modules/FindPkgConfig.cmake:585 (_pkg_check_modules_internal)
CMakeLists.txt:1098 (pkg_check_modules)
this is after uncommit #find_package(LibUtf8Proc REQUIRED)
in CmakeLists.txt, line 1121 in your source?
maybe need move this line between 1095 and 1096.
Correct... uncommented. Also, same result if I move that to 1095ish (after the libvirt line)
try now... renamed variables according with qtermwidget project.
Still no joy.
-- Checking for module 'qtermwidget5'
-- Package 'libutf8proc', required by 'qtermwidget5', not found
CMake Error at /usr/share/cmake-3.11/Modules/FindPkgConfig.cmake:418 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.11/Modules/FindPkgConfig.cmake:585 (_pkg_check_modules_internal)
CMakeLists.txt:1100 (pkg_check_modules)
i did change FindUtf8Proc.cmake from qtermwidget
project. If that will not helpful then problem not on my side.
From what I can understand of what CMake is trying to do, it expects pkg-config to know about libutf8proc... which it does not, suggesting this is a Debian packaging issue.
Can you confirm for me the name of the .pc file for libutf8proc you have?
In Fedora utf8proc-devel package not contain utf8proc.pc file too. In local building header and library detected by FindUtf8Proc.cmake in path:
# rpm -q --filesbypkg utf8proc-devel
utf8proc-devel /usr/include/utf8proc.h
utf8proc-devel /usr/lib64/libutf8proc.so
I have same issue on ubuntu 18.04.
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
+1 The same issue Ubuntu 18.04.2 LTS Any suggests? And could you please add to README a short solution how to build qt-virt-manager on Debian\Ubuntu?
mkdir build cd build cmake ..
ii libutf8proc-dev:amd64 2.1.0-1 amd64 C library for processing UTF-8 Unicode data (development files)