LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AryaLinux (https://www.linuxquestions.org/questions/aryalinux-120/)
-   -   QT 5 problem (https://www.linuxquestions.org/questions/aryalinux-120/qt-5-problem-4175583586/)

RAS-OS 07-02-2016 04:32 AM

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

chandrakant 07-02-2016 05:40 AM

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.

RAS-OS 07-02-2016 11:54 PM

The problem was librssl

RAS-OS 07-03-2016 06:56 AM

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

chandrakant 07-03-2016 06:11 PM

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

RAS-OS 07-05-2016 05:58 AM

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

chandrakant 07-05-2016 07:00 AM

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.

RAS-OS 07-05-2016 08:30 AM

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

chandrakant 07-06-2016 01:58 PM

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.

chandrakant 07-06-2016 02:01 PM

looking into the libindicator failure as well. would keep posted

chandrakant 07-06-2016 03:18 PM

Fixed the libindicator and mate-indicator-applet scripts.

chandrakant 07-06-2016 03:31 PM

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.

RAS-OS 07-07-2016 06:49 AM

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

chandrakant 07-07-2016 06:53 AM

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

chandrakant 07-07-2016 06:54 AM

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

RAS-OS 07-07-2016 08:03 AM

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

chandrakant 07-07-2016 09:52 AM

I am trying the commands on a fresh build of AryaLinux and its working without errors. So I guess it might be because of something that you could have installed before.

Can you tell me what have you installed to get qemu working?

And before you reply could you please try doing a forceinstall like:

alps forceinstall qemu virt-manager

RAS-OS 07-07-2016 04:39 PM

make[1]: Entering directory '/var/cache/alps/sources/sudo-1.8.16/lib/util'
/bin/sh ../../mkinstalldirs /usr/lib/sudo
case "" in \
*-no-install*) ;; \
*) if [ X"yes" = X"yes" ]; then \
INSTALL_BACKUP='~' /bin/sh ../../libtool --tag=disable-static --quiet --mode=install /bin/sh ../../install-sh -c -o 0 -g 0 libsudo_util.la /usr/lib/sudo; \
fi;; \
esac
touch: cannot touch '/usr/lib/sudo/libsudo_util.so.0.0.0': Permission denied
chown: changing ownership of '/usr/lib/sudo/libsudo_util.so.0.0.0': Operation not permitted
make[1]: *** [install] Error 1
Makefile:211: recipe for target 'install' failed
make[1]: Leaving directory '/var/cache/alps/sources/sudo-1.8.16/lib/util'
make: *** [install] Error 2
Makefile:133: recipe for target 'install' failed
/var/cache/alps/scripts/sudo.sh: line 43: /etc/pam.d/sudo: Permission denied
Error occured in execution of /var/cache/alps/scripts/sudo.sh
Aborting


I did not do anything special in installing qemu

chandrakant 07-07-2016 08:50 PM

You have to use the following command to install sudo:

su -c "alps install sudo"

Its mentioned in the documentation.

What was the result of the command alps forceinstall qemu virt-manager?
Can you run the following command and mail me (aryalinux11 at gmail dot com) the log file. I would look into it. As of now, I do not see a problem in the build script because they are working fine. It might be due to some residual file from a previous installation of virt-manager.

alps forceinstall qemu virt-manager &> ~/build.log

chandrakant 07-07-2016 09:15 PM

Fixed the issue with alps clean. Please run the following before continuing...

sudo alps selfupdate

RAS-OS 07-08-2016 03:07 AM

It might have been that the problem is from previous virt-manager installation. Why should I install sudo again trough force install if it is already installed It tries to do this only when forceinstall

This was the result from alps forceinstall virt-manager without qemu as it already installed

chandrakant 07-08-2016 08:24 AM

Ok. I saw the line in the log that showed sudo's script failing so I thought you might be trying to install sudo. This should not have actually happened, I mean sudo's script would not have executed at all because its entry would have been present in /etc/alps/installed-list. Did you follow the instructions in the website while installing the desktop environment. One of the first things that is installed is sudo and the reason its re-instalo led despite having been installed with the base system is because we are reinstalling shadow which also got installed alongwith the base system and that is done so that it is built alongwith cracklib.

Anyways, getting back to virt-manager, libvirt and qemu, you need to uninstall them by downloading the tarballs for them, extracting and in the extracted directory run the following commands:

./configure --prefix=/usr
sudo make uninstall

For virt-manager, you need to run the following from source directory:

sudo python setup.py uninstall

Please use the same tarball versions that you used for installation to uninstall as well.

To ./configure pass those parameters that you passed while installing. This you need to do for both libvirt-1.1.0 and libvirt-1.3.0.
Uninstall qemu also in a similar fashion and once you are done, go ahead and do:

alps clean
alps install qemu virt-manager.

RAS-OS 07-08-2016 08:51 AM

I have uninstalled libvirt 110 and libvirt 130 and reinstalled libvirt 200. In the meantime I have installed qemu again and it works so I go with alps install virt-manager and this is what I got after installing all and come to virt

running gtk-update-icon-cache
gtk-update-icon-cache -q -t /usr/share/icons/hicolor
compiling gsettings schemas
glib-compile-schemas /usr/share/glib-2.0/schemas
warning: Schema 'org.gnome.crypto.cache' has path '/desktop/gnome/crypto/cache/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.crypto.pgp' has path '/desktop/gnome/crypto/pgp/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.locale' has path '/system/locale/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy' has path '/system/proxy/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.http' has path '/system/proxy/http/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.https' has path '/system/proxy/https/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.ftp' has path '/system/proxy/ftp/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.socks' has path '/system/proxy/socks/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
running install_egg_info
Failed to execute operation: File exists
Error occured in execution of /var/cache/alps/scripts/virt-manager.sh
Aborting

RAS-OS 07-08-2016 09:00 AM

I have no idea what I done but now virtual manager works but it goes

Unable to connect to libvirt.

Verify that the 'libvirtd' daemon is running.

details
Unable to connect to libvirt.

Verify that the 'libvirtd' daemon is running.

Libvirt URI is: qemu:///system

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 904, in _do_open
self._backend.open(self._do_creds_password)
File "/usr/share/virt-manager/virtinst/connection.py", line 148, in open
open_flags)
File "/usr/lib/python2.7/site-packages/libvirt.py", line 105, in openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Failed to connect socket to '/usr/local/var/run/libvirt/libvirt-sock': No such file or directory

chandrakant 07-08-2016 09:16 AM

Try this:

sudo systemctl start libvirtd
sudo systemctl enable libvirtd

RAS-OS 07-08-2016 09:32 AM

Too late now I have restarted the OS and can not login it says librvrt-guests.sh[857]: /usr/local/libexec/libvrt.sh: line29 :/usr/local/bin/gettext.sh: No such file or directory

and it wont login

chandrakant 07-08-2016 09:40 AM

Can you do Ctrl+Alt+f2 to get to virtual console and then disable libvirtd and libvirt-guests by doing:

systemctl disable libvirtd
systemctl stop libvirtd

systemctl disable libvirt-guests
systemctl stop libvirt-guests

and then restart.

Libvirt is still installed in /usr/local and that is where its trying to find gettext.sh and hence the failure. In case you get to the desktop please uninstall libvirt as I have mentioned above and reinstall using alps. If you install from source there is no problem unless install paths get mixed up. I am not sure which systemd unit might be causing this problem but most probably its libvirtd or libvirt-guests. See if disabling them works and then after uninstallation, install it using alps.

RAS-OS 07-08-2016 12:43 PM

No it does not work . I was able to uninstall libvirt 200 from enteral.sh as well as to install libvirt with alps but even so nothing.Than I enabled libvirt again. Still nothing. It just come to hang after the splash. It seems I have screw up the system.

RAS-OS 07-09-2016 03:39 AM

I have reinstalled virt-manager from alps (it cannot be uninstalled with setup.py uninstall it says there is no such command) and have installed getext so now I get this:

libvirt-guest.sh: touch: cannot touch /usr/local/var/lock/subsys/libvrt-guests -No such file or directory

Is there libvirt-guest to install

RAS-OS 07-09-2016 05:37 AM

I have created the file and folder but this not helped. I have also uninstalled libvirt and disabled it again. NOthig. I was thinking ti uninstall qemu but this was not possible due to non existing alps uninstall. ALso virt manager can not be uninstalled as there is no setup.py uninstall. SO what should I do compile the new OS. I'm not sure that I will do this again. Is there a way to reset to system default without deleting files?

chandrakant 07-09-2016 10:33 AM

livirt-guest gets installed with libvirt. Its not a separate package. From the error message that you have posted in the previous post, libvirt is somehow trying to find files/directories in /usr/local which is not the case with build scripts. See all the build scripts either install into /usr or /opt locations in AryaLinux. Build scripts do not install in /usr/local. The only case where this happens is when you install from source manually i.e. by doing a ./configure, make and make install. While doing ./configure you can always use --prefix=/usr to install in the /usr directory hierarchy but if you miss by default most configure scripts take /usr/local as the installation location. So even when you are uninstalling by doing make uninstall you need to first do ./configure --prefix=whatever directory you specified while installing. In case you did not specify anything and simply did a ./configure then do the same from an extracted tarball directory and then do sudo make uninstall. Then it would remove from right location.

I cannot assure you that I might be able to resolve this because you have installed too many things through tarballs and in some you have configured it to get installed to /usr/local instead of /usr as the standard in Arya is. Moreover you have also installed multiple versions of the same package without uninstalling the old version. So this is very hard for me to figure out what needs to be done. I can try however in case you provide me the exact names of the tarballs you used to install, qemu/libvirt/livirt-python/virt-manager or anything that you installed without using alps. All the tarball names and all the instructions you used, then I can help you revert the changes back. You can use the history command to see all the commands that you might have typed earlier. Simply redirect the output of history into a file and send it to me. I would take a look.

RAS-OS 07-10-2016 03:14 AM

The last thing I do before restarting and having this problem is to install qemu from alps which worked and then install virt-manager also from alps. Some of this made previous tarball virt 140 installation to work as there was no way to uninstall with python setup.py uninstall which is nonexistent command. So the problem was when i started virt manager who was not been able to connect with QEMU so I restarted the OS which until now I can't get to start. Whatever I do it either search for nonexistent files or just hangs. Seems to me that the only solution will be to reinstall everything all over which I'm not so keen due to long time needed.

I would recommend you to put all the possible software that can be installed from scripts in one menu or a list with command so people like me would not need to install it from sources. Also for every application you should make a script for gui as well otherwise you should not make it available because without gui for most people it is useless.
I would also recommend OPen VPN script with all the plug ins and VPN gate client.

RAS-OS 07-10-2016 04:24 AM

0
48 make
49 qmake
50 cmake
51 make
52 sudo make
53 Makefile
54 sudo qmake
55 qmake
56 cmake . -DCMAKE_INSTALL_PREFIX = /usr
57 cmaekcmake -DCMAKE_INSTALL_PREFIX=/usr
58 cmake -DCMAKE_INSTALL_PREFIX=/usr
59 qmake
60 make
61 sudo su
62 python setup.py install
63 sudo python setup.py install
64 sh virt-manager
65 ./virt-manager
66 sudo su
67 virt-manager
68 ./configure && make && sudo make install && sudo make clean
69 ./configure && make && sudo make install && sudo make clean
70 ./configure && make && sudo make install && sudo make clean
71 ./configure && make && sudo make install && sudo make clean
72 ./configure
73 make
74 sudo make
75 sudo make clean
76 ./configure && make && sudo make install && sudo make clean
77 ./configure && make && sudo make install && sudo make clean
78 ./configure && make && sudo make install && sudo make clean
79 ./configure && make && sudo make install && sudo make clean
80 sudo make clean
81 ./configure
82 sh configure
83 sudo rm -r -f build
84 sudo rm -rf lloyd-yajl-66cb08c (8)
85 sudo rm lloyd-yajl-66cb08c (8)
86 sh configure
87 \make
88 sudo make install && sudo make clean
89 sh configure
90 make
91 make install
92 sudo make install
93 sudo make install && sudo make clean
94 sudo rm -r -f /build
95 sudo rm -r-f build
96 rm --help
97 sudo rm build
98 sudo rm -rf /build
99 sudo make uninstall
100 sudo make clean
101 ./configure && make
102 make
103 make clean
104 ./configure
105 amke
106 make
107 sudo make install && sudo make clean
108 sudo make clean
109 make
110 sudo make sudo make install && sudo make clean
111 sudo make install && sudo make clean
112 ldconfig
113 sudo su
114 ./configure && make && sudo make install && sudo make clean
115 virt-manager
116 sudo su
117 usr/share/virt-manager/virt-manager", line 30, in <module>
118 gi.require_version('LibvirtGLib', '1.0')
119 ./configure && make && sudo make install && sudo make clean
120 alps install glib
121 alps install Glib
122 sudo python setup.py
123 ./virt-manager
124 sudo su
125 cd
126 alps install appstream-glib
127 sudo su
128 virt-manager
129 alps install glib2
130 alps install qt5
131 alps clean
132 alps reinstall qt5
133 virt-install
134 virt-viewer
135 virt-clone
136 sudo make uninstall && sudo make clean
137 sh virt-manager
138 sudo make uninstall && sudo make clean
139 sudo su
140 python setup.py uninstall
141 python setup.py unbuild
142 python setup.py -help
143 python setup.py --help
144 sh configure
145 make clean
146 ./configure && make && sudo make install && sudo make clean
147 sudo make clean
148 sudo make uninstall && sudo make clean
149 ./configure && make && sudo make install && sudo make clean
150 sudo make uninstall && sudo make clean
151 sh run-mozilla.sh
152 sudo su
153 ./configure && make && sudo make install && sudo make clean
154 make
155 alps install qt5
156 alps clean
157 sudo make clean
158 make
159 sudo cmake -DCMAKE_INSTALL_PREFIX=/usr/local/
160 cmake -DCMAKE_INSTALL_PREFIX=/usr/local/
161 sudo make clean
162 ./configure
163 cmake -DCMAKE_INSTALL_PREFIX=/usr
164 sudo cmake -DCMAKE_INSTALL_PREFIX=/usr
165 qmake
166 make
167 sudo make
168 sudo make clean
169 #include <unistd.h>
170 make
171 alps install vnc
172 alps install gtk-vnc
173 alps install tigervnc
174 alps install gtk-vnc
175 alps install gtk-vnc
176 ./configure && make && sudo make install && sudo make clean
177 qmake
178 make
179 sudo make
180 sudo make clean
181 cmake -DCMAKE_INSTALL_PREFIX=/usr
182 sudo make install && sudo make clean
183 cmake -DCMAKE_INSTALL_PREFIX=/usr -DMAN_PAGE_COMPRESSOR=bzip2
184 make && sudo make install && sudo make clean
185 alps reinstall qt5
186 alps install qtchooser
187 alps src http://www.linuxfromscratch.org/patc..._fixes-1.patch
188 alps src http://www.linuxfromscratch.org/patc..._fixes-2.patch
189 alps install qtchooser
190 cd
191 virt-manager
192 cmake -DCMAKE_INSTALL_PREFIX=/usr -DMAN_PAGE_COMPRESSOR=bzip2
193 qt5
194 sudo cmake -DCMAKE_INSTALL_PREFIX=/usr -DMAN_PAGE_COMPRESSOR=bzip2
195 sudo make clean
196 sudo rm -r -f build
197 sh configure
198 ./configure -Wno -dev
199 make
200 ./configure
201 sudo ./configure
202 alps install xml2po
203 alps install xml
204 alps install gnome-doc-utils
205 ./configure
206 sudo make clean
207 sudo ./configure
208 gpg --full-key-gen
209 gpg2 --key-full-gen
210 gpg2 --help
211 gpg --help
212 gpg --list-keys
213 ./configure && make && sudo make install && sudo make clean
214 ./configure && make && sudo make install && sudo make clea
215 alps install gtk3
216 ./configure && make && sudo make install && sudo make clean
217 avahi
218 sudo su
219 ./configure && make && sudo make install && sudo make clean
220 sudo make clean
221 ./configure && make && sudo make install && sudo make clean
222 alps install mate-indicator-applet
223 alps install libindicator
224 ./configure && make && sudo make install && sudo make clean
225 gnome-common./configure && make && sudo make install && sudo make clean
226 ./configure && make && sudo make install && sudo make clean
227 ./configure && make && sudo make install && sudo make clean
228 sh autogen
229 sh autogen.sh
230 sudo alps updatescripts
231 sudo alps update alps
232 sudo alps selfupdate
233 sudo alps clean
234 alps install bluefish
235 alps clean
236 sudo alps clean
237 alps install mate-indicator-applet
238 alps install mate media
239 alps install mate-media
240 alps install mate-system-tools
241 backend --get
242 backend --get./configure && make && sudo make install && sudo make clean
243 ./configure && make && sudo make install && sudo make clean
244 sudo make uninstall && sudo make clean
245 ./configure && make && sudo make install && sudo make clean
246 perl Makefile.PL
247 make
248 make test
249 sudo make install
250 sudo make clean
251 ./configure && make && sudo make install && sudo make clean
252 sudo make uninstall && sudo make clean
253 ./configure && make && sudo make install && sudo make clean
254 sudo make uninstall && sudo make clean
255 sudo make clean
256 ./configure
257 make
258 sudo make
259 sudo make install && sudo make clean
260 sh autogen.sh
261 sudo make uninstall && sudo make clean
262 ./configure && sudo make && sudo make install && sudo make clean
263 mate-network-admin
264 sudo su
265 mate-shares-admin
266 sudo mate-shares-admin
267 mate-network-admin
268 sh wpp
269 sudo ldconfig
270 ./wpp
271 ./wps
272 ./configure && make && sudo make install && sudo make clean
273 ./et
274 sudo su
275 ./wps
276 sudo make uninstall && sudo make clean
277 sudo ./wps
278 sudo su
279 ./wpp
280 ldconfig
281 sudo ldconfig
282 wpp
283 sh wpp
284 alps install libpng
285 alps libpng reinstall
286 alps reinstall libpng
287 sudo alps reinstall libpng
288 alps reinstall libpng
289 alps clean
290 alps make clean
291 sudo su
292 sudo rm -r -f libpng-1.6.21
293 alps reinstall libpng
294 ./wps
295 sudo ldconfig
296 ./wps
297 ./configure && make && sudo make install && sudo make clean
298 ./wps
299 cmake -DCMAKE_INSTALL_PREFIX=/usr -DMAN_PAGE_COMPRESSOR=bzip2
300 alps updatescripts
301 sudo alps updatescripts
302 alps install virt-manager
303 alps install aqemu
304 alps install aeqemu
305 alps install aqemu
306 alps install qtemu
307 sudo rm /etc/X11/xorg.conf.d
308 sudo rm /etc/X11/xorg.conf.d/
309 alps install mate-indicator-applet
310 sudo su
311 ./configure && make && sudo make install && sudo make clean
312 sudo ldconfig
313 cd
314 virt-manager
315 sudo make uninstall && sudo make clean
316 cd ~/Downloads/libvirt-glib-0.1.0
317 sudo make uninstall && sudo make clean
318 alps install mate-indicator-applet
319 alps clean
320 virt-manager
321 sudo ldconfig
322 virt-manager
323 python --help
324 python setyp.py install
325 python setup.py install
326 sudo python setup.py install
327 sudo ldconfig
328 virt-manager
329 sudo make unnistall
330 sudo make uninstall && sudo make clean
331 sudo python setup.py uninstall
332 sudo alps install virt-manager
333 sudo rm -r -f virt-manager-1.4.0
334 alps install virt-manager
335 sudo su
336 sudo rm -r /var/cache/alps/sources/libvirt*
337 sudo rm -r /var/cache/alps/sources/virt*
338 alps install virt-manager
339 sudo alps install virt-manager
340 sudo su ldconfig
341 sudo ldconfig
342 In file included from libvirt-override.c:25:0:
343 libvirt-override.c: In function ‘libvirt_virConnectDomainEventRegisterAny’:
344 build/libvirt.h:266:49: error: ‘VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION’ undeclared (first use in this function)
345 #define VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION VIR_DOMAIN_EVENT_ID_MIGRATION_I
346 ^
347 libvirt-override.c:7053:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION’
348 case VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION: ^
349 build/libvirt.h:266:49: note: each undeclared identifier is reported only once for each function it appears in
350 #define VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION VIR_DOMAIN_EVENT_ID_MIGRATION_I
351 ^
352 libvirt-override.c:7053:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION’
353 case VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION: ^
354 build/libvirt.h:263:43: error: ‘VIR_DOMAIN_EVENT_ID_JOB_COMPLETED’ undeclared (first use in this function)
355 #define VIR_DOMAIN_EVENT_ID_JOB_COMPLETED VIR_DOMAIN_EVENT_ID_JOB_COMPLETED
356 ^
357 libvirt-override.c:7058:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_JOB_COMPLETED’
358 case VIR_DOMAIN_EVENT_ID_JOB_COMPLETED: ^
359 build/libvirt.h:257:51: error: ‘VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED’ undeclared (first use in this function)
360 #define VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED VIR_DOMAIN_EVENT_ID_DEVICE_RE
361 ^
362 libvirt-override.c:7063:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED’
363 case VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED: ^
364 error: command 'gcc' failed with exit status 1
365 Error occured in execution of /var/cache/alps/scripts/libvirt-python.sh
366 Aborting
367 username [ ~ ]$
368 alps In file included from libvirt-override.c:25:0:
369 libvirt-override.c: In function ‘libvirt_virConnectDomainEventRegisterAny’:
370 build/libvirt.h:266:49: error: ‘VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION’ undeclared (first use in this function)
371 #define VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION VIR_DOMAIN_EVENT_ID_MIGRATION_I
372 ^
373 libvirt-override.c:7053:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION’
374 case VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION: ^
375 build/libvirt.h:266:49: note: each undeclared identifier is reported only once for each function it appears in
376 #define VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION VIR_DOMAIN_EVENT_ID_MIGRATION_I
377 ^
378 libvirt-override.c:7053:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION’
379 case VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION: ^
380 build/libvirt.h:263:43: error: ‘VIR_DOMAIN_EVENT_ID_JOB_COMPLETED’ undeclared (first use in this function)
381 #define VIR_DOMAIN_EVENT_ID_JOB_COMPLETED VIR_DOMAIN_EVENT_ID_JOB_COMPLETED
382 ^
383 libvirt-override.c:7058:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_JOB_COMPLETED’
384 case VIR_DOMAIN_EVENT_ID_JOB_COMPLETED: ^
385 build/libvirt.h:257:51: error: ‘VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED’ undeclared (first use in this function)
386 #define VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED VIR_DOMAIN_EVENT_ID_DEVICE_RE
387 ^
388 libvirt-override.c:7063:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED’
389 case VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED: ^
390 error: command 'gcc' failed with exit status 1
391 Error occured in execution of /var/cache/alps/scripts/libvirt-python.sh
392 Aborting
393 username [ ~ ]$
394 alps install virt-manager
395 python setup.py install
396 sudo python setup.py install
397 sudoa python clean
398 sudo python make clean
399 sudo python setup.py install
400 sudo caja
401 ./configure
402 make
403 ;
404 ./configure --prefix=/usr --libexecdir=/usr/lib --with-secure-path --with-all-insults --with-env-editor --docdir=/usr/share/doc/sudo-1.8.16 --with-passprompt="[sudo] password for %p" && make
405 sudo su
406 su root
407 sudo su
408 alps forceinstall virt-manager
409 sudo alps forceinstall virt-manager
410 sudo rm -r -f /usr/share/doc/libpng-1.6.21
411 alps forceinstall virt-manager
412 sudo alps forceinstall virt-manager
413 alps clean
414 alps forceinstall virt-manager
415 sudo rm -r -f /usr/share/doc/libpng-1.6.21
416 alps forceinstall virt-manager
417 sudo ldconfig
418 ldconfig
419 sudo su
420 alps forceinstall virt-manager
421 alps install sudo
422 alps reinstall sudo
423 sudo alps reinstall sudo
424 alps reinstall sudo
425 alps forceinstall virt-manager
426 sudo rm -r -f /usr/share/doc/libpng-1.6.21
427 alps forceinstall virt-manager
428 alps install virt-manager
429 python setup.py install
430 sudo python setup.py install
431 alps force reinstall virt-manager
432 alps reinstall virt-manager
433 alps force install qemu virt-manager
434 alps forceinstall qemu virt-manager
435 sudo alps selfupdate
436 su -c "alps install sudo"
437 alps forceinstall qemu virt-manager &> ~/build.log
438 alps forceinstall virt-manager &> ~/build.log
439 alps forceinstall virt-manager
440 ./configure && make && sudo make install && sudo make clean
441 sudo make uninstall && sudo make clean
442 sudo ldconfig
443 cmake -DCMAKE_INSTALL_PREFIX=/usr -DMAN_PAGE_COMPRESSOR=bzip2
444 cmake -DCMAKE_INSTALL_PREFIX=/usr Qt5Core_DIR=/opt/qt5/lib/ Qt5Widgets_DIR=/opt/qt5/lib/ Qt5Network_DIR=/opt/qt5/lib/ Qt5Test_DIR=/opt/qt5/lib/ Qt5PrintSupport_DIR=/opt/qt5/lib/ -DMAN_PAGE_COMPRESSOR=bzip2
445 cmake -DCMAKE_INSTALL_PREFIX=/usr Qt5Core_DIR=/opt/qt5/lib/ Qt5Widgets_DIR=/opt/qt5/lib/ Qt5Network_DIR=/opt/qt5/lib/ Qt5Test_DIR=/opt/qt5/lib/ Qt5PrintSupport_DIR=/opt/qt5/lib/ -DMAN_PAGE_COMPRESSOR=bzip2
446 cmake -DCMAKE_INSTALL_PREFIX=/usr Qt5Core=/opt/qt5/lib/ Qt5Widgets=/opt/qt5/lib/ Qt5Network=/opt/qt5/lib/ Qt5Test=/opt/qt5/lib/ Qt5PrintSupport=/opt/qt5/lib/ -DMAN_PAGE_COMPRESSOR=bzip2
447 cmake -DCMAKE_INSTALL_PREFIX=/usr Qt5Core_DIR=/lib/ Qt5Widgets_DIR=/lib/ Qt5Network_DIR=/opt/qt5/lib/ Qt5Test_DIR=/lib/ Qt5PrintSupport_DIR=/lib/ -DMAN_PAGE_COMPRESSOR=bzip2
448 cmake -DCMAKE_INSTALL_PREFIX=/usr Qt5Core_DIR=/lib/ Qt5Widgets_DIR=/lib/ Qt5Network_DIR=/opt/qt5/lib/ Qt5Test_DIR=/lib/
449 cmake -DCMAKE_INSTALL_PREFIX=/usr CMAKE_MODULE_PATH=/opt/qt5/lib/ -DMAN_PAGE_COMPRESSOR=bzip2
450 cmake -DCMAKE_INSTALL_PREFIX=/usr CMAKE_MODULE_PATH=/lib -DMAN_PAGE_COMPRESSOR=bzip2
451 cmake -DCMAKE_INSTALL_PREFIX=/usr
452 make
453 cmake -DCMAKE_INSTALL_PREFIX=/usr CMAKE_MODULE_PATH=/lib -DMAN_PAGE_COMPRESSOR=bzip2
454 cmake -DCMAKE_INSTALL_PREFIX=/usr -DMAN_PAGE_COMPRESSOR=bzip2
455 ..\\cmake
456 cmake
457 cmake --help
458 python setup.py build
459 ./configure && make && sudo make install && sudo make clean
460 cd
461 qemu
462 ./qemu
463 qemu linux-0.2.img
464 alps install qemu virt-manager
465 qemu
466 alps install virt-manager
467 alps reinstall virt-manager
468 alps reinstall virt
469 alps reinstall virt-manager
470 sudo rm -r -f /var/cache/alps/scripts/virt-manager.sh
471 alps reinstall virt-manager
472 sudo ldconfig
473 alps reinstall virt-manager
474 alps install virt-manager
475 alps install virt manager
476 alps clean
477 sudo alps updatescripts
478 alps install virt-manager
479 sudo rm -r -f /var/cache/alps/scripts/virt-manager.sh
480 alps install virt-manager
481 alps clean
482 alps install virt-manager
483 cd
484 alps install virt-manager
485 sudo alps scripts update
486 alps reinstall virt-manager
487 sudo alps updatescripts
488 alps install virt-manager
489 alps scriptupdate
490 alps updatescripts
491 sudo alpsupdate scripts
492 sudo alps updatescripts
493 alps install virt-manager
494 sudo ldconfig
495 sudo caja
496 libvrt
497 sudo reboot
498 firefox
499 systemctl disable libvirtd
500 sudo systemctl disable libvirtd
501 sudo su
502 systemctl disable libvirtd
503 systemctl stop libvrtd
504 ssystemctl disable libvirtd
505 systemctl disable libvirtd
506 systemctl stop libvirtd
507 systemctl disable libvirtd-guests
508 systemctl disable libvirtd-guest
509 systemctl stop libvirtd-guests
510 reboot
511 sudo reboot
512 cd /home/username/libvrt-2.0.0/
513 cd file:///media/username/6e455d77-a984-4b69-8c68-5f628a760598/home/username/libvrt-2.0.0/
514 cd /home/
515 cd/username/
516 cd libvirt-2.0.0/
517 cd file:///media/username/6e455d77-a984-4b69-8c68-5f628a760598
518 cd /home/username/
519 cd /home/username/libvirt-2.0.0
520 ./configure --prefix=/usr
521 sudo make uninstall
522 alps install libvirt
523 sudo ldconfig
524 sudo make clean
525 cd
526 logoff
527 logout
528 systemctl enable libvirtd
529 systemctl start libvirtd
530 systemctl enable libvirtd-guests
531 systemctl start libvirtd-guests
532 alps install qemu
533 alps reinstall qemu
534 http://ftp.lfs-matrix.net/pub/blfs/c....0.tar.bz2alps reinstall qemu
535 alps reinstall qemu
536 qemu
537 ./run -t libvirt --tests=virsh --install --remove
538 sh run -t libvirt --tests=virsh --install --remove
539 sudo ldconfig
540 cd /var/cache/alps/sources/virt-manager-1.4.0/
541 sudo python setup.py install --record files.txt
542 sudo bash -c "cat files.txt | xargs rm -rf"
543 --history
544 sudo purge virt-manager
545 history n
546 history 100
547 history 500

chandrakant 07-10-2016 11:38 PM

Hi RAS-OS,

This is not very helpful as I am not able to figure out what versions of the various packages you installed. I can only see configure make and make install commands but I do not see the wgets or the tar xf commands. I also looked into the Makefiles of libvirt and libvirt-python and there seems to be no way they can be uninstalled. That is why setup.py uninstall or make uinistall is not working. I am afraid the only way to remove these files is to manually remove the files from the root tree which I would not recommend as that might cause more harm than good. I also see in the logs that you have shared that you have not used the standard commands that are documented in the website and you used your own method to install Desktop Environment and other stuff which is very difficult for me to support because if you follow your own install method, I would not know about it. For instance libpng, glib etc get installed when you install the desktop environment using alps be it the XFCE DE or the Mate DE. So you would not need to re-install it.

I would suggest you to wait for some time. In a week or two the Live DVD for AryaLinux XFCE and Mate would be released with most software that are packaged with a standard distribution so that you would not have to build/install everything and only build/install stuff that you need apart from the ones that are packaged. Building everything from scratch would be very time consuming and I would not recommend(though the build scripts now are very stable and utilize mirrors so that you would rarely run into a broken link). Please wait to the live DVDs to be out anytime in the next fortnight.

chandrakant 07-10-2016 11:42 PM

I am working on alps package listing and would soon update the same. The GUI would take a while but that is definitely what is being planned and we would start working on it soon.

As far as OpenVPN and a VPN client is concerned, I ran into problems when I tried building it last so I kept it aside. Post the release I would start working on the same and also work on expanding the available package list so that more packages can be installed through alps.

RAS-OS 07-13-2016 02:15 PM

So I tried to reinstall it for the fifth time and now
root:/sources# ./4.sh
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for /dev/sda/. Check your device.map.
root:/sources# grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
root:/sources# ./4.sh
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for /dev/sda/. Check your device.map.
root:/sources# grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
root:/sources# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.5
Found initrd image: /boot/initrd.img-4.5
Found Windows 8 (loader) on /dev/sda2
done
then when I repeat ./4.sh it gives me the same mistake

chandrakant 07-13-2016 02:33 PM

Reboot the system and boot into the live disk. Open Terminal and enter:

sudo su
cd /root/scripts
./enteral.sh

Then once you are in the chroot enter the following:

cd /sources/
./4.sh

It should continue from where it left and finish the rest of the steps.

RAS-OS 07-13-2016 02:42 PM

That is the problem I'm doing the same from Elementary root:/# cd /sources
root:/sources# ./4.sh
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for /dev/sda/. Check your device.map.
root:/sources# ./4.sh
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for /dev/sda/. Check your device.map.
root:/sources#
From some reason it have stuck on this. I'm using the 4 scripts disk maybe I should update the scripts.
I have even reinstall grub with synaptics from Elementary I will restart but I'm not sure it will work

chandrakant 07-13-2016 08:16 PM

I think you are not chrooting. Are you chrooting actually using the ./enteral.sh script?

Please follow these steps exactly as I am mentioning here:

* Reboot
* While booting choose the Arya Builder DVD/Pen Drive as the boot device. Don't boot into elementary.
* After booting into Arya Live, open up a terminal
* Type:

sudo su
cd /root/scripts
./enteral.sh

* Enter the name of the root partition and the home/swap partitions. Then it would take about a second or two to chroot into Arya. Then type:

cd /sources
./4.sh

If a failure happens at this point then please reply with the contents of build-properties which is there in the /sources directory and the output of fdisk -l.

RAS-OS 07-14-2016 11:14 AM

I was chrooting and the same was with usb here is fdisk

Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x76f8840f

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 718847 716800 350M 7 HPFS/NTFS/exFAT
/dev/sda2 718848 609509362 608790515 290.3G 7 HPFS/NTFS/exFAT
/dev/sda3 609509374 976771071 367261698 175.1G 5 Extended
/dev/sda5 609509376 635382583 25873208 12.3G 83 Linux
/dev/sda6 635383808 838174719 202790912 96.7G 83 Linux
/dev/sda7 838176768 960190463 122013696 58.2G 7 HPFS/NTFS/exFAT
/dev/sda8 960192512 976771071 16578560 7.9G 82 Linux swap / Solaris

Partition 3 does not start on physical sector boundary.




Disk /dev/zram0: 961 MiB, 1007689728 bytes, 246018 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram1: 961 MiB, 1007689728 bytes, 246018 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


and the first 7 lines the rest is standard
DEV_NAME="/dev/sda/"
ROOT_PART="/dev/sda7"
SWAP_PART="/dev/sda8"
HOME_PART=""
OS_NAME="RAS"
OS_CODENAME="1"
OS_VERSION="2016.2"

chandrakant 07-14-2016 12:04 PM

I think this is where the problem lies:

DEV_NAME="/dev/sda/"

While entering value for this you entered an additional / at the end. That should have been /dev/sda. See I ran the same commands on my system and I get the same error:

root [ /home/chandrakant ]# grub-install /dev/sda/
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for /dev/sda/. Check your device.map.


You can now simply follow the above steps and before you run ./4.sh simply open up /sources/build-properties and change the DEV_NAME to /dev/sda and save the file. You can use vi for the same. Once that is done, you can run ./4.sh and things should proceed normally.

In case you are going to build X-Server and XFCE/Mate after that please follow the online documentation because if you follow the steps as mentioned, it would be easy to figure out the cause of the problem.

And in case you get through successfully in building RAS, please change the version in /etc/lsb-release to 2016.04 which is 2016.2 right now. This is important because alps downloads scripts after referring to the version here. Hope RAS-OS completes successfully. Good Luck :-)

RAS-OS 07-15-2016 10:42 AM

This worked. Thank you. There is a problem with broken link for xorg wit a docx something. Also ffmpg won't install

chandrakant 07-15-2016 10:52 AM

That's great. You're welcome. I happened to build xorg this morning and things worked just fine. Could you share the link the link that was broken so that I can fix it. As far as ffmpeg is concerned, I updated the version some time back. Probably that's why it would have failed. Please do:

sudo alps updatescripts

and then re install ffmpeg.

RAS-OS 07-15-2016 04:09 PM

Executing /var/cache/alps/scripts/ffmpeg.sh
--2016-07-15 23:02:47-- http://archive.ubuntu.com/ubuntu/poo....2.orig.tar.xz
Resolving archive.ubuntu.com... 91.189.88.149, 91.189.88.162, 91.189.88.152, ...
Connecting to archive.ubuntu.com|91.189.88.149|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7461808 (7.1M) [application/x-xz]
Saving to: 'ffmpeg_3.0.2.orig.tar.xz'

ffmpeg_3.0.2.ori 100%[========>] 7.12M 670KB/s in 13s

2016-07-15 23:03:00 (546 KB/s) - 'ffmpeg_3.0.2.orig.tar.xz' saved [7461808/7461808]

ERROR: x265 not found using pkg-config

If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
Makefile:2: config.mak: No such file or directory
Makefile:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /tests/Makefile: No such file or directory
make: *** No rule to make target '/tests/Makefile'. Stop.
Error occured in execution of /var/cache/alps/scripts/ffmpeg.sh
Aborting

chandrakant 07-15-2016 04:26 PM

alps install x265

alps install ffmpeg


All times are GMT -5. The time now is 11:40 PM.