Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build #36

Closed
funkybob opened this issue Jun 7, 2018 · 18 comments
Closed

Can't build #36

funkybob opened this issue Jun 7, 2018 · 18 comments

Comments

@funkybob
Copy link

funkybob commented Jun 7, 2018

mkdir build
cd build
cmake ..

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

ii libutf8proc-dev:amd64 2.1.0-1 amd64 C library for processing UTF-8 Unicode data (development files)

@F1ash
Copy link
Owner

F1ash commented Jun 7, 2018

libutf8proc-dev is installed in system?

@funkybob
Copy link
Author

funkybob commented Jun 8, 2018

That's the last line of my post (sorry, it was late and I'd had some wine)... it's installed.

@F1ash
Copy link
Owner

F1ash commented Jun 8, 2018

i have qtermwidget-0.7.1 in building... it have not utf8proc-devel requires.

@funkybob
Copy link
Author

funkybob commented Jun 8, 2018

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)

@F1ash
Copy link
Owner

F1ash commented Jun 8, 2018

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

@funkybob
Copy link
Author

funkybob commented Jun 8, 2018

It's "/usr/share/cmake-3.11/" as per the output above... and both commands showed nothing.

@F1ash
Copy link
Owner

F1ash commented Jun 9, 2018

clear... then need to write FindLibUtf8Proc.cmake... need a time... maybe today... maybe tomorrow...

@F1ash
Copy link
Owner

F1ash commented Jun 9, 2018

try to build now. but need to uncomment this line in your source.

@funkybob
Copy link
Author

funkybob commented Jun 9, 2018

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)

@F1ash
Copy link
Owner

F1ash commented Jun 9, 2018

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.

@funkybob
Copy link
Author

Correct... uncommented.
Also, same result if I move that to 1095ish (after the libvirt line)

@F1ash
Copy link
Owner

F1ash commented Jun 11, 2018

try now... renamed variables according with qtermwidget project.

@funkybob
Copy link
Author

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)

@F1ash
Copy link
Owner

F1ash commented Jun 13, 2018

i did change FindUtf8Proc.cmake from qtermwidget project. If that will not helpful then problem not on my side.

@F1ash F1ash closed this as completed Jun 13, 2018
@funkybob
Copy link
Author

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?

@F1ash
Copy link
Owner

F1ash commented Jun 13, 2018

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

@luqasz
Copy link

luqasz commented Mar 31, 2019

I have same issue on ubuntu 18.04.

Description:	Ubuntu 18.04.2 LTS
Release:	18.04
Codename:	bionic

@eitijupaenoithoowohd
Copy link

eitijupaenoithoowohd commented Apr 9, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants