install in kubuntu 16.04

671 views
Skip to first unread message

grigoresculiviu

unread,
May 10, 2017, 5:54:19 AM5/10/17
to krusader-users
I m trying to install krusader 2.6.0 and I'm getting this error

cmake ../krusader -DCMAKE_INSTALL_PREFIX=/usr/
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0                                                                                   
-- Check for working C compiler: /usr/bin/cc                                                                                      
-- Check for working C compiler: /usr/bin/cc -- works                                                                             
-- Detecting C compiler ABI info                                                                                                  
-- Detecting C compiler ABI info - done                                                                                           
-- Detecting C compile features                                                                                                   
-- Detecting C compile features - done                                                                                            
-- Check for working CXX compiler: /usr/bin/c++                                                                                   
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at ActionMan/CMakeLists.txt:8 (ki18n_wrap_ui):
  Unknown CMake command "ki18n_wrap_ui".


Dependencies were setup correctly according to INSTALL document.

Any help would be appreciated.

A. Bikadorov

unread,
May 10, 2017, 6:28:16 AM5/10/17
to krusade...@googlegroups.com
ki18n is not installed(?)

You should have a file
/usr/lib/cmake/KF5I18n/KF5I18NMacros.cmake

(or something like that - depending on distribution).

Cheers
Alex
> --
> You received this message because you are subscribed to the Google Groups "krusader-users"
> group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> krusader-user...@googlegroups.com
> <mailto:krusader-user...@googlegroups.com>.
> To post to this group, send email to krusade...@googlegroups.com
> <mailto:krusade...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/krusader-users/776f2089-7769-4dcf-976f-3e90f27c033d%40googlegroups.com
> <https://groups.google.com/d/msgid/krusader-users/776f2089-7769-4dcf-976f-3e90f27c033d%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Toni Asensi Esteve

unread,
May 10, 2017, 10:32:40 AM5/10/17
to krusade...@googlegroups.com

> > Re: [krusader-users] install in kubuntu 16.04

> > [...]

 

> ki18n is not installed(?)

>

> You should have a file

> /usr/lib/cmake/KF5I18n/KF5I18NMacros.cmake

>

> (or something like that - depending on distribution).

>

> Cheers

> Alex

 

If it may be useful:

 

In Kubuntu 17.04 I executed

find / -xdev -iname "*F5I18NMacros*" 2> /dev/null

and it answered

/usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18NMacros.cmake

 

I executed

dpkg -S /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18NMacros.cmake

and it answered

libkf5i18n-dev: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18NMacros.cmake

indicating that the file was installed when the libkf5i18n-dev package was installed.

 

I executed

dpkg -l | grep libkf5i18n-dev

and it gave more information about that package:

ii libkf5i18n-dev 5.31.0-0ubuntu1 amd64 Advanced internationalization framework.

 

I didn't install that package specifically, so it seems that in Kubuntu 17.04 that package is installed by other ones.

 

> > Dependencies were setup correctly according to INSTALL document.

> >

> > Any help would be appreciated.

 

So would you try installing the libkf5i18n-dev?

 

Greetings:

Toni

 

grigoresculiviu

unread,
May 11, 2017, 11:48:48 PM5/11/17
to krusader-users, asm...@gmx.com
Thanks for this info.

Checked and the file is there '/usr/lib/i386-linux-gnu/cmake/KF5I18n/KF5I18NMacros.cmake' installed as part of libkf5i18n-dev package.
However it proved I was using wrong cmake command.
I used INSTALL instructions from 2.6.0 release which direct to these commands
$ mkdir krusader-build
$ cd krusader-build
$ cmake ../krusader -DCMAKE_INSTALL_PREFIX=../usr/
 
proved that '../krusader' was wrong in my case.

When I tried 2.5.0 commands
$ mkdir krusader-build
$ cd krusader-build
cmake -DCMAKE_INSTALL_PREFIX=../usr ..

It worked fine.

grigoresculiviu

unread,
May 13, 2017, 6:34:36 AM5/13/17
to krusader-users, asm...@gmx.com
Now I have another problem.
Krusader seem to have installed with only a few menu options.


To sumarize I installed version 2.6.0 with following cmake options
cmake .. -DCMAKE_INSTALL_PREFIX=./usr -DKDESU_PATH=/usr/lib/i386-linux-gnu/libexec/kf5/kdesu -DENABLE_SYNCHRONIZER=ON

Any idea?

A. Bikadorov

unread,
May 13, 2017, 7:36:06 AM5/13/17
to krusade...@googlegroups.com
Hi!

On 13.05.2017 12:34, grigoresculiviu wrote:
> Now I have another problem.
> Krusader seem to have installed with only a few menu options.
>
> <https://lh3.googleusercontent.com/-PxgFVzPNBIM/WRbglSWC64I/AAAAAAAAWnc/Gm7UelRXGl4b9bYBSB5hzVeG2Lyk-J1sACLcB/s1600/Spectacle.K13892.png>
>
> To sumarize I installed version 2.6.0 with following cmake options
>
>> cmake .. -DCMAKE_INSTALL_PREFIX=./usr
>> -DKDESU_PATH=/usr/lib/i386-linux-gnu/libexec/kf5/kdesu
>> -DENABLE_SYNCHRONIZER=ON
>>
>
> Any idea?
>

You are installing to ./usr? By doing this the files
share/kxmlgui5/krusader/krusaderui.rc and
share/krusader/layout.xml

won't be found. Install to /usr or /usr/local. Or put these files under
/home/<user_dir>/.local/


> On Friday, May 12, 2017 at 6:48:48 AM UTC+3, grigoresculiviu wrote:
>>
>> Thanks for this info.
>>
>> Checked and the file is there '/usr/lib/i386-linux-gnu/cmake/KF5I18n/KF5I18NMacros.cmake'
>> installed as part of libkf5i18n-dev package.
>> However it proved I was using wrong cmake command.
>> I used INSTALL instructions from 2.6.0 release which direct to these
>> commands
>>
>>> $ mkdir krusader-build
>>> $ cd krusader-build
>>> $ cmake ../krusader -DCMAKE_INSTALL_PREFIX=../usr/
>>
>>
>> proved that '../krusader' was wrong in my case.
>>
>> When I tried 2.5.0 commands
>>
>>> $ mkdir krusader-build
>>> $ cd krusader-build
>>> $ cmake -DCMAKE_INSTALL_PREFIX=../usr ..
>>
>>
>> It worked fine.
>>
>>

The ./krusader/krusader directory can be confusing. But renaming it will break the git
history (blame, show, ...) - we better keep it. And the install instructions look pretty
clear to me.

Cheers
Alex

grigoresculiviu

unread,
May 16, 2017, 2:17:33 PM5/16/17
to krusader-users, alex.bi...@kdemail.net
Really appreciated. I've got it fully functional. Cheers!!
Reply all
Reply to author
Forward
0 new messages