k9copy installation FAILURE

General talk about packaging procedures and packages.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: k9copy installation FAILURE

Post by djemos »

fizzy-logic wrote:When invoking sudo, the following is showung up myself is not in the sudoers file. This incident will be reported.
As I understand it, I should have been added to the wheel during installation.
What gives ?
KDE uses its own policies.
But this has to be done by zzz-settings-kde at installation time. So something has changed after installation.
To solve it do the following.

Code: Select all

sudo sed -i "s/AdminIdentities=.*/AdminIdentities=unix-group:wheel/g" /etc/polkit-1/localauthority.conf.d/50-localauthority.conf
or do it by hand by editing the file to be like this.

Code: Select all

cat /etc/polkit-1/localauthority.conf.d/50-localauthority.conf
# Configuration file for the PolicyKit Local Authority.
#
# DO NOT EDIT THIS FILE, it will be overwritten on update.
#
# See the pklocalauthority(8) man page for more information
# about configuring the Local Authority.
#

[Configuration]
AdminIdentities=unix-group:wheel
And also kdesu uses su as default. To make it use sudo edit or create the following file if does not exist ( this also has to be done by /etc/skel at new user creation see user-settings-kde)
The file ~/.kde/share/config/kdesurc has to exist having these two lines:

Code: Select all

[super-user-command]
super-user-command=sudo
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: k9copy installation FAILURE

Post by gapan »

fizzy-logic wrote:14.1 x64 KDE
Really? Are you sure? Because there is no such thing... Unless you installed the beta, in which case, you should have definitely mentioned that in the first place.
Image
Image
User avatar
fizzy-logic
Posts: 35
Joined: 10. Dec 2013, 20:16

Re: k9copy installation FAILURE

Post by fizzy-logic »

gapan wrote:
fizzy-logic wrote:14.1 x64 KDE
Really? Are you sure? Because there is no such thing... Unless you installed the beta, in which case, you should have definitely mentioned that in the first place.
Salix64 KDE 14.0.1 DVD ISO (x86_64, 64-bit)

So sorry
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: k9copy installation FAILURE

Post by gapan »

Everyone in this thread thought that you were using 14.1. By not providing information, or by providing wrong information is not helping anyone help you. Keep that in mind for next time.

Anyway, we switched to sudo in 14.1, so in 14.0 the root user is enabled and you use the su command to acquire superuser rights. Also the k9copy SLKBUILD that laprjns prepared and is now available in the 14.1 repos cannot be used with slapt-src in 14.0 (obviously).

But you can download the files from here:
http://download.salixos.org/slkbuild/14 ... ia/k9copy/

put them inside a directory somewhere in your system, open a terminal in the same directory and run:

Code: Select all

fakeroot slkbuild -X
That will hopefully create a k9copy package inside the same directory which you can then install with spkg (after running su).
Image
Image
User avatar
fizzy-logic
Posts: 35
Joined: 10. Dec 2013, 20:16

Re: k9copy installation FAILURE

Post by fizzy-logic »

OK tried to build it but that failed !
Scanning dependencies of target k9copy
[ 65%] Building CXX object CMakeFiles/k9copy.dir/k9copy_automoc.o
In file included from /home/saylixher/tarballs/src/k9copy/src/import/k9newdvd.h:21:0,
from /home/saylixher/tarballs/src/k9copy/src/import/k9import.h:19,
from /home/saylixher/tarballs/src/k9copy/moc_k9import.cpp:10,
from /home/saylixher/tarballs/src/k9copy/k9copy_automoc.cpp:4:
/home/saylixher/tarballs/src/k9copy/src/import/k9avidecode.h:43:49: error: use of enum ‘AVCodecID’ without previous declaration
In file included from /home/saylixher/tarballs/src/k9copy/src/mpeg2/kdecmpeg2.h:24:0,
from /home/saylixher/tarballs/src/k9copy/src/mpeg2/k9decodethread.h:20,
from /home/saylixher/tarballs/src/k9copy/src/mpeg2/k9plaympeg2.h:24,
from /home/saylixher/tarballs/src/k9copy/src/main/kviewmpeg2.h:35,
from /home/saylixher/tarballs/src/k9copy/moc_kviewmpeg2.cpp:10,
from /home/saylixher/tarballs/src/k9copy/k9copy_automoc.cpp:34:
/home/saylixher/tarballs/src/k9copy/src/mplayer/k9internalplayer.h:17:7: warning: ‘class k9InternalPlayer’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
make[2]: *** [CMakeFiles/k9copy.dir/k9copy_automoc.o] Error 1
make[1]: *** [CMakeFiles/k9copy.dir/all] Error 2
make: *** [all] Error 2
build() failed.


What did I miss ?
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: k9copy installation FAILURE

Post by djemos »

On 14.0.1 (kde-4.8.5) k9copy not compiled. It fails.
On 14.1 kde-4.10.5 k9copy compiled without errors.
User avatar
fizzy-logic
Posts: 35
Joined: 10. Dec 2013, 20:16

Re: k9copy installation FAILURE

Post by fizzy-logic »

djemos wrote:On 14.0.1 (kde-4.8.5) k9copy not compiled. It fails.
On 14.1 kde-4.10.5 k9copy compiled without errors.
So it's no go on 14.0.1 ?
So...I was trying to force a square plug in a round hole ??? :oops:
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: k9copy installation FAILURE

Post by djemos »

I could not make it compile.
If anyone else knows what is wrong can help.
Here is the k9copy 64bit for 14.1
User avatar
fizzy-logic
Posts: 35
Joined: 10. Dec 2013, 20:16

Re: k9copy installation FAILURE

Post by fizzy-logic »

I say we procrastinate, preferably with a good bottle of wine, and wait till 14.1 KDE comes along 8-)
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: k9copy installation FAILURE

Post by djemos »

You don't have to wait. Install the kde beta 14.1. It will work.
Post Reply