LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > AryaLinux
User Name
Password
AryaLinux This forum is for the discussion of AryaLinux.

Notices


Reply
  Search this Thread
Old 07-02-2016, 04:32 AM   #1
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Rep: Reputation: Disabled
QT 5 problem


mv -f libQt5DBus.so.5.5 ../../lib/
make[3]: Leaving directory '/var/cache/alps/sources/qt-everywhere-opensource-src-5.5.1/qtbase/src/dbus'
make[2]: Leaving directory '/var/cache/alps/sources/qt-everywhere-opensource-src-5.5.1/qtbase/src'
make[1]: *** [sub-src-make_first] Error 2
Makefile:45: recipe for target 'sub-src-make_first' failed
make[1]: Leaving directory '/var/cache/alps/sources/qt-everywhere-opensource-src-5.5.1/qtbase'
make: *** [module-qtbase-make_first] Error 2
Makefile:71: recipe for target 'module-qtbase-make_first' failed
Error occured in execution of /var/cache/alps/scripts/qt5.sh
 
Old 07-02-2016, 05:40 AM   #2
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Hi RAS-OS,

Please give me some time. I would try building QT5 and see if I can reproduce this error. I would get back with a solution in case I get a failure.
 
Old 07-02-2016, 11:54 PM   #3
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
The problem was librssl
 
Old 07-03-2016, 06:56 AM   #4
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
There seems to be some bug in qt5 installation. After removing libressl it install normally but start command were wrong it were only /bin/designer instead of /opt/qt5/bin/designer so the program won't start.

Also I have installed qemu but without GUI it does not wort a lot so I tried to install aqemu but it gives me
CMake Warning at CMakeLists.txt:183 (FIND_PACKAGE):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Core", but
CMake did not find one.

Could not find a package configuration file provided by "Qt5Core" with any
of the following names:

Qt5CoreConfig.cmake
qt5core-config.cmake

Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
"Qt5Core_DIR" to a directory containing one of the above files. If
"Qt5Core" provides a separate development package or SDK, be sure it has
been installed.


CMake Warning at CMakeLists.txt:184 (FIND_PACKAGE):
By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Widgets", but CMake did not find one.

Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:

Qt5WidgetsConfig.cmake
qt5widgets-config.cmake

Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
"Qt5Widgets_DIR" to a directory containing one of the above files. If
"Qt5Widgets" provides a separate development package or SDK, be sure it has
been installed.


CMake Warning at CMakeLists.txt:185 (FIND_PACKAGE):
By not providing "FindQt5Network.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Network", but CMake did not find one.

Could not find a package configuration file provided by "Qt5Network" with
any of the following names:

Qt5NetworkConfig.cmake
qt5network-config.cmake

Add the installation prefix of "Qt5Network" to CMAKE_PREFIX_PATH or set
"Qt5Network_DIR" to a directory containing one of the above files. If
"Qt5Network" provides a separate development package or SDK, be sure it has
been installed.


CMake Warning at CMakeLists.txt:186 (FIND_PACKAGE):
By not providing "FindQt5Test.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Test", but
CMake did not find one.

Could not find a package configuration file provided by "Qt5Test" with any
of the following names:

Qt5TestConfig.cmake
qt5test-config.cmake

Add the installation prefix of "Qt5Test" to CMAKE_PREFIX_PATH or set
"Qt5Test_DIR" to a directory containing one of the above files. If
"Qt5Test" provides a separate development package or SDK, be sure it has
been installed.


CMake Warning at CMakeLists.txt:187 (FIND_PACKAGE):
By not providing "FindQt5PrintSupport.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5PrintSupport", but CMake did not find one.

Could not find a package configuration file provided by "Qt5PrintSupport"
with any of the following names:

Qt5PrintSupportConfig.cmake
qt5printsupport-config.cmake

Add the installation prefix of "Qt5PrintSupport" to CMAKE_PREFIX_PATH or
set "Qt5PrintSupport_DIR" to a directory containing one of the above files.
If "Qt5PrintSupport" provides a separate development package or SDK, be
sure it has been installed.


-- Configuring done
CMake Error at CMakeLists.txt:216 (ADD_EXECUTABLE):
Target "aqemu" links to target "Qt5::Widgets" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?


CMake Error at CMakeLists.txt:216 (ADD_EXECUTABLE):
Target "aqemu" links to target "Qt5::Network" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?


CMake Error at CMakeLists.txt:216 (ADD_EXECUTABLE):
Target "aqemu" links to target "Qt5::Test" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?


CMake Error at CMakeLists.txt:216 (ADD_EXECUTABLE):
Target "aqemu" links to target "Qt5::PrintSupport" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?


-- Generating done
--

are these libraries included and if not should I install the latest qt5 from the website?

Also I installed Virtual Machine Manager virt-manager-1.4.0 but it won't start the app from menu and in terminal it gives me [ ~ ]$ virt-manager
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager", line 30, in <module>
gi.require_version('LibvirtGLib', '1.0')
File "/usr/lib/python2.7/site-packages/gi/__init__.py", line 102, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace LibvirtGLib not available

I have installed libvirt 1.3.0 and have previously 1.1.0 but still it wont work how to uninstall it
 
Old 07-03-2016, 06:11 PM   #5
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Last time I tried installing qt5, it failed so I had to restart the build. Since it takes a lot of time, so I could not actually come to a conclusion as to what could be the problem. As of now a second build is in progress. I would soon let you know. Are you installing qt5 for qemu or is it for anything else. In case its for qemu, I would try installing qemu and dependencies and include the build scripts for them. As far as libvirt is concerned the logs tell that virt-manager is not able to find LibvirtGLib. These are the dependencies of virt-manager:

python >= 2.7
gtk3 >= 3.14
libvirt-python >= 0.6.0
pygobject3 >= 3.14
libosinfo >= 0.2.10

Have you installed them all? Especially libvirt-python? Would try making build-scripts for the same as well.
As far as uninstalling them is concerned, you can run the following command from within the extracted tarball extracted dir. That should do the uninstallation. I am not sure of this though because I have never installed it myself. You may try this or you may wait till I am done with QT5 post which I can try figuring out virt-manager and get back to you with a solution
 
Old 07-05-2016, 05:58 AM   #6
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
I have installed qt5 in order to install GUI for qemu Aqemu or qtqemu while virtual manager does not need qt5 it wont start even though it has installed. I have installed libvirt-python 1.30 and libvirtglib 0.2.3
 
Old 07-05-2016, 07:00 AM   #7
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Hi RAS-OS,

Indeed Qt5 fails. I tried twice and met the same fate. I understood you installed QT5 for installing Aquemu. I have not tried virtual manager because I was still busy with qt5. I would fix them and let you know. As said earlier, I would also build scripts for virtual-manager and Aqemu/qtqemu. Would keep you posted of the progress.
 
Old 07-05-2016, 08:30 AM   #8
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
Ok you should make another check. I tried to install mate indicator as I could get mail indicators.

indicator-image-helper.c: In function 'refresh_image':
indicator-image-helper.c:72:3: error: 'gtk_icon_info_free' is deprecated: Use 'g_object_unref' instead [-Werror=deprecated-declarations]
gtk_icon_info_free(icon_info);
^
In file included from /usr/local/include/gtk-3.0/gtk/gtk.h:122:0,
from indicator-image-helper.h:27,
from indicator-image-helper.c:25:
/usr/local/include/gtk-3.0/gtk/gtkicontheme.h:284:23: note: declared here
void gtk_icon_info_free (GtkIconInfo *icon_info
^
cc1: all warnings being treated as errors
Makefile:622: recipe for target 'libindicator3_la-indicator-image-helper.lo' failed
 
Old 07-06-2016, 01:58 PM   #9
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Hi RAS-OS,

I went ahead and fixed a lot of scripts and added new ones. You can run sudo alps updatescripts to get the latest scripts. Fixed the qemu script because that was broken and was failing and also added scripts and dependency scripts for virt-manager. You can install qemu and virt-manager by doing:

alps install qemu
alps install virt-manager

That would install qemu and virt-manager as well. I could run virt-manager but could not test it due to lack of time. Hope you can test it and in case it works please mark the thread as solved. In case you get issues please do let me know.

I am fixing QT5 as well and would update the same soon.
 
Old 07-06-2016, 02:01 PM   #10
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
looking into the libindicator failure as well. would keep posted
 
Old 07-06-2016, 03:18 PM   #11
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Fixed the libindicator and mate-indicator-applet scripts.
 
Old 07-06-2016, 03:31 PM   #12
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Just found another problem with qemu. Qemu script created files inside /etc/X11/xorg.conf.d which prevented the system from starting to a graphical desktop. So I had to remove the files inside /etc/X11/xorg.conf.d:

sudo rm /etc/X11/xorg.conf.d

Please do this before you reboot else you might have to do this through vt which would be cumbersome.
 
Old 07-07-2016, 06:49 AM   #13
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
This is what I got :
running build_ext
building 'libvirtmod' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/include/python2.7 -c libvirt-override.c -o build/temp.linux-x86_64-2.7/libvirt-override.o
In file included from libvirt-override.c:25:0:
libvirt-override.c: In function ‘libvirt_virConnectDomainEventRegisterAny’:
build/libvirt.h:266:49: error: ‘VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION’ undeclared (first use in this function)
#define VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION VIR_DOMAIN_EVENT_ID_MIGRATION_I
^
libvirt-override.c:7053:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION’
case VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION:
^
build/libvirt.h:266:49: note: each undeclared identifier is reported only once for each function it appears in
#define VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION VIR_DOMAIN_EVENT_ID_MIGRATION_I
^
libvirt-override.c:7053:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION’
case VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION:
^
build/libvirt.h:263:43: error: ‘VIR_DOMAIN_EVENT_ID_JOB_COMPLETED’ undeclared (first use in this function)
#define VIR_DOMAIN_EVENT_ID_JOB_COMPLETED VIR_DOMAIN_EVENT_ID_JOB_COMPLETED
^
libvirt-override.c:7058:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_JOB_COMPLETED’
case VIR_DOMAIN_EVENT_ID_JOB_COMPLETED:
^
build/libvirt.h:257:51: error: ‘VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED’ undeclared (first use in this function)
#define VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED VIR_DOMAIN_EVENT_ID_DEVICE_RE
^
libvirt-override.c:7063:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED’
case VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED:
^
error: command 'gcc' failed with exit status 1
Error occured in execution of /var/cache/alps/scripts/libvirt-python.sh
Aborting



Aslo there is problem with a alps clean command


Invalid command clean

Usage : alps <command> [packages...]
Where <command> can be one of the following:

install install packages if not installed
reinstall force installation of an already installed package
updatescripts update the package build scripts
selfupdate update alps to latest version online
clean clean up the working directory
src <url> download tarball from specified
help print this message

Examples:

alps install vlc # This would build/install vlc
alps clean # This would clean the build directory
 
Old 07-07-2016, 06:53 AM   #14
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Can you please remove the directories manually:

sudo rm -r /var/cache/alps/sources/libvirt*
sudo rm -r /var/cache/alps/sources/virt*

And then retry
 
Old 07-07-2016, 06:54 AM   #15
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
As far as the alps clean command is concerned, I would take a look into it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
UEFI problem, GRUB2 problem, blank screen problem, :( JackDinn Linux - Newbie 22 05-26-2015 01:57 PM
Do I have a path problem, an Apache2 problem or a Javascript problem or any other pro rblampain Linux - Networking 0 12-29-2010 03:50 AM
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 06:10 AM
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 01:35 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

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

All times are GMT -5. The time now is 09:08 PM.

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