Compiling kipi-plugins #930483 troubles with KdepimLibs

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

Compiling kipi-plugins #930483 troubles with KdepimLibs

Jurian Sluiman
Hi all,
I've been compiling Digikam for a while now. Digikam is almost the only thing I'm compiling at my Kubuntu Intrepid system (except the requirements, everything else is installed from repositories). Following the wiki (http://wiki.kde.org/tiki-index.php?page=Digikam+Compilation+on+Kubuntu+Intrepid) always worked very well.


Now I was trying to compile kipi-plugins and got this error (only relevant parts quoted):
>CMake Error at /usr/share/kde4/apps/cmake/modules/FindKdepimLibs.cmake:69
> (find_package): find_package cannot find package KdepimLibs because
> KdepimLibs_DIR is set to "/usr/lib/KdepimLibs/cmake" which is not a
> directory containing a package configuration file (or it is not for the
> requested version). Please set the cache entry KdepimLibs_DIR to the
> correct directory, or delete it to ask CMake to search.
>Call Stack (most recent call first):
> kgraphviewer/CMakeLists.txt:15 (find_package)
>
>CMake Error at
> /usr/share/cmake-2.6/Modules/FindPackageHandleStandardArgs.cmake:57(MESSAGE
>): Could NOT find KdepimLibs (missing: KdepimLibs_CONFIG)
>Call Stack (most recent call first):
> /usr/share/kde4/apps/cmake/modules/FindKdepimLibs.cmake:73
> (find_package_handle_standard_args) kgraphviewer/CMakeLists.txt:15
> (find_package)
I don't understand this error, because what has kipi-plugins to do with kdepim? Searching to "kipi-plugins KdepimLibs_DIR" gives no results in Google.


Please give me some advice how to tackle this problem :)


Thanks in advance,
Jurian


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

Re: Compiling kipi-plugins #930483 troubles with KdepimLibs

Gilles Caulier-4
2009/2/23 Jurian Sluiman <[hidden email]>:

> Hi all,
> I've been compiling Digikam for a while now. Digikam is almost the only
> thing I'm compiling at my Kubuntu Intrepid system (except the requirements,
> everything else is installed from repositories). Following the wiki
> (http://wiki.kde.org/tiki-index.php?page=Digikam+Compilation+on+Kubuntu+Intrepid)
> always worked very well.
>
> Now I was trying to compile kipi-plugins and got this error (only relevant
> parts quoted):
>>CMake Error at /usr/share/kde4/apps/cmake/modules/FindKdepimLibs.cmake:69
>> (find_package): find_package cannot find package KdepimLibs because
>> KdepimLibs_DIR is set to "/usr/lib/KdepimLibs/cmake" which is not a
>> directory containing a package configuration file (or it is not for the
>> requested version). Please set the cache entry KdepimLibs_DIR to the
>> correct directory, or delete it to ask CMake to search.
>>Call Stack (most recent call first):
>> kgraphviewer/CMakeLists.txt:15 (find_package)
>>
>>CMake Error at
>>
>> /usr/share/cmake-2.6/Modules/FindPackageHandleStandardArgs.cmake:57(MESSAGE
>>): Could NOT find KdepimLibs (missing: KdepimLibs_CONFIG)
>>Call Stack (most recent call first):
>> /usr/share/kde4/apps/cmake/modules/FindKdepimLibs.cmake:73
>> (find_package_handle_standard_args) kgraphviewer/CMakeLists.txt:15
>> (find_package)
> I don't understand this error, because what has kipi-plugins to do with
> kdepim? Searching to "kipi-plugins KdepimLibs_DIR" gives no results in
> Google.
>
> Please give me some advice how to tackle this problem :)

kipi-plugins do not use kdepimlibs, but digiKam.

In digiKam, it's optional. Look in README file, there is an option to
pass to CMake.

Else, install KDEPimlibs development package, and all will be fine...

Best

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

Re: Compiling kipi-plugins #930483 troubles with KdepimLibs

Jurian Sluiman
On Monday 23 February 2009 17:50:07 Gilles Caulier wrote:

> 2009/2/23 Jurian Sluiman <[hidden email]>:
> > Hi all,
> > I've been compiling Digikam for a while now. Digikam is almost the only
> > thing I'm compiling at my Kubuntu Intrepid system (except the
> > requirements, everything else is installed from repositories). Following
> > the wiki
> > (http://wiki.kde.org/tiki-index.php?page=Digikam+Compilation+on+Kubuntu+I
> >ntrepid) always worked very well.
> >
> > Now I was trying to compile kipi-plugins and got this error (only
> > relevant
> >
> > parts quoted):
> >
> > I don't understand this error, because what has kipi-plugins to do with
> > kdepim? Searching to "kipi-plugins KdepimLibs_DIR" gives no results in
> > Google.
> >
> > Please give me some advice how to tackle this problem :)
>
> kipi-plugins do not use kdepimlibs, but digiKam.
>
> In digiKam, it's optional. Look in README file, there is an option to
> pass to CMake.
>
> Else, install KDEPimlibs development package, and all will be fine...
>
> Best
>
> Gilles Caulier
> _______________________________________________
Hi Gilles,
Thanks for the really fast answer. I looked at apt and asked to install
kdepimlibs5-dev, but that was already installed. Ok, something wrong, but I
don't need the KAddresbook thing.

Therefore, I tried to tell cmake to disable kdepimlibs. README says I can
disable gphoto2 by -DENABLE_GPHOTO2=no. I used this example to disable
kdepimlibs: -DENABLE_KDEPIMLIBS=no. The whole Cmake rule is now:
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 -
DENABLE_KDEPIMLIBS=no ../../graphics/

Still, Cmake is trying to find KdepimLibs ("Could NOT find KdepimLibs  
(missing:  KdepimLibs_CONFIG)". Doing something wrong?

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

Re: Compiling kipi-plugins #930483 troubles with KdepimLibs

Gilles Caulier-4
2009/2/23 Jurian Sluiman <[hidden email]>:

> On Monday 23 February 2009 17:50:07 Gilles Caulier wrote:
>> 2009/2/23 Jurian Sluiman <[hidden email]>:
>> > Hi all,
>> > I've been compiling Digikam for a while now. Digikam is almost the only
>> > thing I'm compiling at my Kubuntu Intrepid system (except the
>> > requirements, everything else is installed from repositories). Following
>> > the wiki
>> > (http://wiki.kde.org/tiki-index.php?page=Digikam+Compilation+on+Kubuntu+I
>> >ntrepid) always worked very well.
>> >
>> > Now I was trying to compile kipi-plugins and got this error (only
>> > relevant
>> >
>> > parts quoted):
>> >
>> > I don't understand this error, because what has kipi-plugins to do with
>> > kdepim? Searching to "kipi-plugins KdepimLibs_DIR" gives no results in
>> > Google.
>> >
>> > Please give me some advice how to tackle this problem :)
>>
>> kipi-plugins do not use kdepimlibs, but digiKam.
>>
>> In digiKam, it's optional. Look in README file, there is an option to
>> pass to CMake.
>>
>> Else, install KDEPimlibs development package, and all will be fine...
>>
>> Best
>>
>> Gilles Caulier
>> _______________________________________________
> Hi Gilles,
> Thanks for the really fast answer. I looked at apt and asked to install
> kdepimlibs5-dev, but that was already installed. Ok, something wrong, but I
> don't need the KAddresbook thing.
>
> Therefore, I tried to tell cmake to disable kdepimlibs. README says I can
> disable gphoto2 by -DENABLE_GPHOTO2=no. I used this example to disable
> kdepimlibs: -DENABLE_KDEPIMLIBS=no. The whole Cmake rule is now:
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 -
> DENABLE_KDEPIMLIBS=no ../../graphics/
>
> Still, Cmake is trying to find KdepimLibs ("Could NOT find KdepimLibs
> (missing:  KdepimLibs_CONFIG)". Doing something wrong?
>

well, CMake is stupid. remove CMakeCache.txt from root folder where
you compile source, and try again

Gilles

> Regards,
> Jurian
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users