Problem compiling libkdcraw: Unknown CMake command "KDE4_INSTALL_ICONS"

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem compiling libkdcraw: Unknown CMake command "KDE4_INSTALL_ICONS"

Julien Narboux
Hi,

I am running Ubuntu karmic with kde 4.3.5, when I try to compile
kdegraphics/libs/ I get the following error :



cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
--prefix` ..
CMake Error at libkipi/CMakeLists.txt:60 (INSTALL):
  install FILES given no DESTINATION!


CMake Error at libkipi/pics/CMakeLists.txt:1 (KDE4_INSTALL_ICONS):
  Unknown CMake command "KDE4_INSTALL_ICONS".


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be
lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!


I tried to install kdelibs4-dev instead of kdelibs5-dev but It does not
solve the problem.

Does anyone know how to solve this ?

Julien

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling libkdcraw: Unknown CMake command "KDE4_INSTALL_ICONS"

Johannes Wienke-3
Am 30.03.2010 17:33 schrieb Julien Narboux:
> I am running Ubuntu karmic with kde 4.3.5, when I try to compile
> kdegraphics/libs/ I get the following error :

[...]

I had to configure cmake directly in kdegraphics. Afterwards going into
a subdirectory (e.g. libs/libkdcraw) and invoking make, make install works.

Johannes


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling libkdcraw: Unknown CMake command "KDE4_INSTALL_ICONS"

Julien Narboux
Johannes Wienke a écrit :

> Am 30.03.2010 17:33 schrieb Julien Narboux:
>  
>> I am running Ubuntu karmic with kde 4.3.5, when I try to compile
>> kdegraphics/libs/ I get the following error :
>>    
>
> [...]
>
> I had to configure cmake directly in kdegraphics. Afterwards going into
> a subdirectory (e.g. libs/libkdcraw) and invoking make, make install works.
>
> Johannes
>
>  

Thanks it works !

Julien
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling libkdcraw: Unknown CMake command "KDE4_INSTALL_ICONS"

Johannes Wienke-3
Am 30.03.2010 18:04 schrieb Julien Narboux:

> Johannes Wienke a écrit :
>> Am 30.03.2010 17:33 schrieb Julien Narboux:
>>  
>>> I am running Ubuntu karmic with kde 4.3.5, when I try to compile
>>> kdegraphics/libs/ I get the following error :
>>>    
>>
>> [...]
>>
>> I had to configure cmake directly in kdegraphics. Afterwards going into
>> a subdirectory (e.g. libs/libkdcraw) and invoking make, make install works.
>
> Thanks it works !
Is there any reason for this cmake structure? Wouldn't it be much easier
to develop if every kdegraphics program and library could be built
separately?

Johannes


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling libkdcraw: Unknown CMake command "KDE4_INSTALL_ICONS"

Gilles Caulier-4
2010/3/30 Johannes Wienke <[hidden email]>:

> Am 30.03.2010 18:04 schrieb Julien Narboux:
>> Johannes Wienke a écrit :
>>> Am 30.03.2010 17:33 schrieb Julien Narboux:
>>>
>>>> I am running Ubuntu karmic with kde 4.3.5, when I try to compile
>>>> kdegraphics/libs/ I get the following error :
>>>>
>>>
>>> [...]
>>>
>>> I had to configure cmake directly in kdegraphics. Afterwards going into
>>> a subdirectory (e.g. libs/libkdcraw) and invoking make, make install works.
>>
>> Thanks it works !
>
> Is there any reason for this cmake structure? Wouldn't it be much easier
> to develop if every kdegraphics program and library could be built
> separately?

sure, but peoples who manage whole kdegraphics area want something
like that. Ask to Pinotree in #kde-edu irc channel for details

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel