LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 01-16-2021, 05:27 PM   #1
denn0n
LQ Newbie
 
Registered: Apr 2020
Posts: 6

Rep: Reputation: Disabled
Compiling Error ! Centos 7


I have this error i don t know what's mean, I'm stuck, I have be filling everything it ask but now i don't get what it is

Code:
cmake ..
-- 

Installing in /usr/local. Run /home/user/Downloads/pulseaudio-qt-master/build/prefix.sh to set the environment for PulseAudioQt.
-- Could not set up the appstream test. appstreamcli is missing.
CMake Error at /usr/lib64/cmake/Qt5Gui/Qt5Gui_QEglFSKmsGbmIntegrationPlugin.cmake:4 (_populate_Gui_plugin_properties):
  _populate_Gui_plugin_properties Macro invoked with incorrect arguments for
  macro named: _populate_Gui_plugin_properties
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt5Gui/Qt5GuiConfig.cmake:228 (include)
  /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package)
  CMakeLists.txt:35 (find_package)


-- The following OPTIONAL packages have been found:

 * Qt5Test (required version >= 5.10.0), Autotests for PulseAudioQt
 * Qt5Network (required version >= 5.15.2)
 * Qt5Qml (required version >= 5.10.0), Tests for PulseAudioQt
 * Qt5QmlModels (required version >= 5.15.2)
 * Qt5Quick (required version >= 5.10.0), Tests for PulseAudioQt
 * PkgConfig

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.44.0), Extra CMake Modules., <https://kde.org/products/frameworks/>
 * Qt5Core
 * Qt5Gui
 * Qt5DBus
 * Qt5 (required version >= 5.10.0)
 * PulseAudio (required version >= 5.0.0), Sound server, for sound stream routing and mixing, <https://www.freedesktop.org/wiki/Software/PulseAudio>
 * GLIB2, Event loop and utility library, <https://wiki.gnome.org/Projects/GLib>

-- The following features have been disabled:

 * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)

-- Configuring incomplete, errors occurred!

I add the log /home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeOutput.log

And hoping some one can help !

this is the last 116 lines of it becouse it's almost 2 k lines

Code:
Run Build Command(s):/usr/bin/gmake cmTC_2e332/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_2e332.dir/build.make CMakeFiles/cmTC_2e332.dir/build
gmake[1]: Entering directory `/home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_2e332.dir/feature_tests.cxx.o
/usr/bin/c++   -std=c++1y -o CMakeFiles/cmTC_2e332.dir/feature_tests.cxx.o -c /home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_2e332
/opt/Qt/Tools/CMake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2e332.dir/link.txt --verbose=1
/usr/bin/c++ -rdynamic CMakeFiles/cmTC_2e332.dir/feature_tests.cxx.o -o cmTC_2e332 
gmake[1]: Leaving directory `/home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp'



    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates
    Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:0cxx_attribute_deprecated
    Feature record: CXX_FEATURE:0cxx_binary_literals
    Feature record: CXX_FEATURE:0cxx_contextual_conversions
    Feature record: CXX_FEATURE:0cxx_decltype_auto
    Feature record: CXX_FEATURE:0cxx_digit_separators
    Feature record: CXX_FEATURE:0cxx_generic_lambdas
    Feature record: CXX_FEATURE:0cxx_lambda_init_captures
    Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:0cxx_return_type_deduction
    Feature record: CXX_FEATURE:0cxx_variable_templates
Performing C++ SOURCE FILE Test COMPILER_HAS_HIDDEN_VISIBILITY succeeded with the following output:
Change Dir: /home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake cmTC_c1a34/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_c1a34.dir/build.make CMakeFiles/cmTC_c1a34.dir/build
gmake[1]: Entering directory `/home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c1a34.dir/src.cxx.o
/usr/bin/c++ -DCOMPILER_HAS_HIDDEN_VISIBILITY  -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla    -fvisibility=hidden -o CMakeFiles/cmTC_c1a34.dir/src.cxx.o -c /home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_c1a34
/opt/Qt/Tools/CMake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c1a34.dir/link.txt --verbose=1
/usr/bin/c++  -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla  -rdynamic CMakeFiles/cmTC_c1a34.dir/src.cxx.o -o cmTC_c1a34 
gmake[1]: Leaving directory `/home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp'


Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY succeeded with the following output:
Change Dir: /home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake cmTC_b9908/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_b9908.dir/build.make CMakeFiles/cmTC_b9908.dir/build
gmake[1]: Entering directory `/home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_b9908.dir/src.cxx.o
/usr/bin/c++ -DCOMPILER_HAS_HIDDEN_INLINE_VISIBILITY  -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla    -fvisibility-inlines-hidden -o CMakeFiles/cmTC_b9908.dir/src.cxx.o -c /home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_b9908
/opt/Qt/Tools/CMake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b9908.dir/link.txt --verbose=1
/usr/bin/c++  -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla  -rdynamic CMakeFiles/cmTC_b9908.dir/src.cxx.o -o cmTC_b9908 
gmake[1]: Leaving directory `/home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp'


Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test COMPILER_HAS_DEPRECATED_ATTR succeeded with the following output:
Change Dir: /home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake cmTC_43a2d/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_43a2d.dir/build.make CMakeFiles/cmTC_43a2d.dir/build
gmake[1]: Entering directory `/home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_43a2d.dir/src.cxx.o
/usr/bin/c++ -DCOMPILER_HAS_DEPRECATED_ATTR -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla  -o CMakeFiles/cmTC_43a2d.dir/src.cxx.o -c /home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp/src.cxx
/home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
/home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp/src.cxx:2:25: warning: ‘int somefunc()’ is deprecated (declared at /home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp/src.cxx:1) [-Wdeprecated-declarations]
     int main() { return somefunc();}
                         ^
/home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp/src.cxx:2:34: warning: ‘int somefunc()’ is deprecated (declared at /home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp/src.cxx:1) [-Wdeprecated-declarations]
     int main() { return somefunc();}
                                  ^
Linking CXX executable cmTC_43a2d
/opt/Qt/Tools/CMake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_43a2d.dir/link.txt --verbose=1
/usr/bin/c++  -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla  -rdynamic CMakeFiles/cmTC_43a2d.dir/src.cxx.o -o cmTC_43a2d 
gmake[1]: Leaving directory `/home/user/Downloads/pulseaudio-qt-master/build/CMakeFiles/CMakeTmp'
 
Old 01-16-2021, 06:08 PM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Code:
Installing in /usr/local. Run /home/user/Downloads/pulseaudio-qt-master/build/prefix.sh to set the environment for PulseAudioQt.
-- Could not set up the appstream test. appstreamcli is missing.
From that alone, it suggests you're missing the program `appstreamcli`, you'll want to install whatever package provides that to the system on centos 7.

On Debian the package is named `appstream` i believe.
 
1 members found this post helpful.
Old 01-16-2021, 06:45 PM   #3
denn0n
LQ Newbie
 
Registered: Apr 2020
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by coralfang View Post
Code:
Installing in /usr/local. Run /home/user/Downloads/pulseaudio-qt-master/build/prefix.sh to set the environment for PulseAudioQt.
-- Could not set up the appstream test. appstreamcli is missing.
From that alone, it suggests you're missing the program `appstreamcli`, you'll want to install whatever package provides that to the system on centos 7.

On Debian the package is named `appstream` i believe.
Yes that's what i tought and it is provided by kf5-kcoreaddons but this do not fix the problem!

Code:
yum install kf5-kcoreaddons kf5-kcoreaddons-devel
at best i most link it i will try
 
Old 01-16-2021, 06:49 PM   #4
denn0n
LQ Newbie
 
Registered: Apr 2020
Posts: 6

Original Poster
Rep: Reputation: Disabled
Ohhh ! my mistake

Quote:
Originally Posted by denn0n View Post
Yes that's what i tought and it is provided by kf5-kcoreaddons but this do not fix the problem!

Code:
yum install kf5-kcoreaddons kf5-kcoreaddons-devel
at best i most link it i will try
appstream-data it is the one ! thank you !
 
2 members found this post helpful.
  


Reply

Tags
centos7, cmake, compiling, kde configuration, qt5



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] NFS on CentOS 6 can talk to Centos 5 but not Centos 6 clients deathsfriend99 Linux - Server 2 11-08-2013 02:33 PM
Error Compiling on Centos fabianobn Programming 20 04-18-2011 02:43 PM
CentOS 5.3: Error compiling kdepimlibs onslaught Red Hat 7 08-17-2009 01:19 PM
Error while compiling TrueCrypt on CentOS: error: Can't use --enable-std_string... displacedtexan Linux - Software 1 07-24-2008 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration