Manjaro Linux Forum

Support for Community Editions => LXQt => Topic started by: rabideau on 16. November 2014, 14:36:01

Title: LXQT install help
Post by: rabideau on 16. November 2014, 14:36:01
Has anyone been able to successfully install LXQT on Manjaro?  I keep getting a non-described error that hangs the install/ build at:
[100%] Building CXX object CMakeFiles/lxqt-qt5.dir/lxqt-qt5_automoc.cpp.o

My most recent attempt was with the installation via pacman of: lxqt-desktop-git  0.8.0.12.g137e4b1-1
Title: Re: LXQT install help
Post by: excalibur1234 on 16. November 2014, 14:54:28
how do you try to install?

on real hardware or virtualbox?
on manjaro net edition or another edition of manjaro?
what commands do you use for installation (it sounds like you use pacman to install git versions?)?
Title: Re: LXQT install help
Post by: rabideau on 16. November 2014, 15:11:52
I am using pacman and installing from my cinnamon manjaro desktop.  Everything runs on my Samsung 5 Ultra Netbook in full control of everything.  My only Windows install runs in virtualbox. 

I am one of those guys who likes to run and select desktops from the login screen.
Title: Re: LXQT install help
Post by: excalibur1234 on 16. November 2014, 15:18:21
i am installing lxqt at the moment. i want to install the latest packages from git in a quick and dirty way:
1. i installed manjaro net edition
2. i run these commands:
Code: [Select]
sudo pacman-mirrors -g -b unstable
sudo pacman -Syyuu
sudo pacman -Syyuu
sudo mhwd-kernel -i linux317
reboot
sudo pacman -S base-devel yaourt
yaourt -S lxqt-desktop-git oxygen-icons pcmanfm-qt-git qterminal-git openbox obconf-qt-git sddm-git --noconfirm
3.
Code: [Select]
sudo systemctl enable sddm
reboot


if you prefer more GUIs and do not want to use the latest packages (but all git packages from lxqt), do this:
1. install manjaro openbox edition and update it
2. run these commands:
Code: [Select]
sudo pacman -S base-devel yaourt
yaourt -S lxqt-desktop-git oxygen-icons pcmanfm-qt-git qterminal-git --noconfirm
3.
reboot. in your login-manager, select "lxqt-desktop"



at the moment the "yaourt -S lxqt-desktop-git" fails with an error in lxqt-admin-git. i just ran
Code: [Select]
yaourt -S lxqt-admin-git
manually. then, i started the lxqt installation, again.
Title: Re: LXQT install help
Post by: excalibur1234 on 16. November 2014, 15:22:32
I am using pacman and installing from my cinnamon manjaro desktop.  Everything runs on my Samsung 5 Ultra Netbook in full control of everything.  My only Windows install runs in virtualbox. 

I am one of those guys who likes to run and select desktops from the login screen.
so you want to install lxqt on a stable system.

include this repo and install all packages from there: https://forum.manjaro.org/index.php?topic=17216.0
just edit your /etc/pacman.conf file (as root) and add these lines at the bottom:
Code: [Select]
[repolxqt]
SigLevel = Optional TrustAll
Server = https://sourceforge.net/projects/repolxqt/files/$arch

then, you can install stable lxqt packages from octopi/pamac/pacman.
i recommend to install lxqt's file manager, too: pcmanfm-qt
Title: Re: LXQT install help
Post by: rabideau on 16. November 2014, 17:55:31
Hi excalibur1234

I tried your initial recommendation and received the following error:

error: failed to commit transaction (conflicting files)
boost-libs: /usr/lib/libboost_filesystem.so.1.57.0 exists in filesystem
Errors occurred, no packages were upgraded.

UPDATE: I renamed the offending file and the updates are underway.
Title: Re: LXQT install help
Post by: excalibur1234 on 16. November 2014, 18:52:00
when did you encounter that error?

with the following command?
Code: [Select]
yaourt -S lxqt-desktop-git oxygen-icons pcmanfm-qt-git qterminal-git --noconfirm
if this is the case, try to install the part with the error message manually (this means without the "--noconfirm" flag)
Title: Re: LXQT install help
Post by: rabideau on 16. November 2014, 19:17:06
Here's the latest error....

Linking CXX shared library liblxqt-qt5.so
/usr/bin/ld: cannot find -lQt5Xdg
collect2: error: ld returned 1 exit status
CMakeFiles/lxqt-qt5.dir/build.make:830: recipe for target 'liblxqt-qt5.so.0.8.0' failed
make[2]: *** [liblxqt-qt5.so.0.8.0] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/lxqt-qt5.dir/all' failed
make[1]: *** [CMakeFiles/lxqt-qt5.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build liblxqt-git.

By the way 3.17 hangs with a kernel panic error on boot.
Title: Re: LXQT install help
Post by: excalibur1234 on 16. November 2014, 19:29:14
on manjaro net edition, i can do
Code: [Select]
yaourt -S liblxqt-git
without any errors.

maybe you should try to install the stable version of lxqt:
Code: [Select]
yaourt -S lxqt openbox obconf-qt-git oxygen-icons qterminal
Title: Re: LXQT install help
Post by: rabideau on 16. November 2014, 19:49:14
I tried and here is the next failure....

Linking CXX shared library liblxqt-qt5.so
/usr/bin/ld: cannot find -lQt5Xdg
collect2: error: ld returned 1 exit status
CMakeFiles/lxqt-qt5.dir/build.make:863: recipe for target 'liblxqt-qt5.so.0.8.0' failed
make[2]: *** [liblxqt-qt5.so.0.8.0] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/lxqt-qt5.dir/all' failed
make[1]: *** [CMakeFiles/lxqt-qt5.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build liblxqt.
==> Restart building liblxqt ? [y/N]
==> --------------------------------
Title: Re: LXQT install help
Post by: excalibur1234 on 16. November 2014, 19:54:26
sorry, but i cannot reproduce this error.
therefore, i do not know how to fix it for you.

maybe somebody else can help rabideau?
Title: Re: LXQT install help
Post by: Esclapion on 16. November 2014, 20:16:26
libqtxdg-git is installed ?
Title: Re: LXQT install help
Post by: rabideau on 16. November 2014, 20:23:22
Here's what is installed:

libqtxdg-git  1.0.0.7.g0503cf7-1
Title: Re: LXQT install help
Post by: Esclapion on 16. November 2014, 20:27:28
I have the same.  :(
Title: Re: LXQT install help
Post by: rabideau on 25. November 2014, 19:56:24
So here is what I ended up doing that seems to have worked:

Code: [Select]
sudo pacman-mirrors -g -b unstable
sudo pacman -Syyuu
sudo pacman -Syyuu
sudo mhwd-kernel -i linux317
reboot
sudo pacman -S base-devel yaourt
reboot
yaourt -S lxqt openbox obconf-qt-git oxygen-icons qterminal

As this was being run, there was an update notification via pacman (It was greybird theme). I ran the update once all the initial installation (of the stable version) was complete and ran:

Code: [Select]
reboot
On reboot LXQT was available on my mdm Login screen.  At login the following error appeared:

GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject

I played with the settings for a bit, then went back to xfce opened a terminal window and ran:

Code: [Select]
yaourt -S lxqt-desktop-git oxygen-icons pcmanfm-qt-git qterminal-git --noconfirm
Once again this command died with the following error:

Quote
-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-mark/aur-liblxqt-git/src/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build liblxqt-git.

So I have stable LXQT but not the 'new stuff'.
Title: Re: LXQT install help
Post by: excalibur1234 on 26. November 2014, 10:40:56
I played with the settings for a bit, then went back to xfce opened a terminal window and ran:

Code: [Select]
yaourt -S lxqt-desktop-git oxygen-icons pcmanfm-qt-git qterminal-git --noconfirm
Once again this command died with the following error:

So I have stable LXQT but not the 'new stuff'.
a build error during the installation of lxqt-deskotp-git happens often.
in your case, it happened in liblxqt-git.

you can try to install liblxqt-git manually (and replace some packages if needed):
Code: [Select]
yaourt -S liblxqt-gitIF this finished successfully, run this command again:
Code: [Select]
yaourt -S lxqt-desktop-git oxygen-icons pcmanfm-qt-git qterminal-git --noconfirm

IF the build fails again, wait a couple of days (sometimes weeks) and try again... the git packages are not always stable.
Title: Re: LXQT install help
Post by: rabideau on 26. November 2014, 17:27:03
Sadly... the liblxqt-git install still fails.
Title: Re: LXQT install help
Post by: artoo on 26. November 2014, 17:31:18
Sadly... the liblxqt-git install still fails.

Thats not really necessary to build from AUR, lxqt is in testing too. :)
Title: Re: LXQT install help
Post by: Esclapion on 26. November 2014, 17:58:32
Thats not really necessary to build from AUR, lxqt is in testing too. :)

 ^-^  ^-^  ^-^

(http://pix.toile-libre.org/upload/original/1417021048.png)
Title: Re: LXQT install help
Post by: rabideau on 26. November 2014, 19:04:18
Those crash with the same errors...  :(
Title: Re: LXQT install help
Post by: artoo on 26. November 2014, 22:57:24
Those crash with the same errors...  :(

How do you mean "crash", please provide a little more info.

Code: [Select]
pacman -S lxqt
should get you started.
Title: Re: LXQT install help
Post by: rabideau on 27. November 2014, 00:38:16
The crash is on the build:

CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/lxqt-qt5.dir/all' failed
make[1]: *** [CMakeFiles/lxqt-qt5.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build liblxqt.
==> Restart building liblxqt ? [y/N]
==> --------------------------------