Building digikam locally on my system

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

Building digikam locally on my system

Sambhav Dusad
Hello,
My previous laptop got bad so I had to build digikam again on a new machine. While building digikam, I installed all the dependencies but exiv2 packages show an error.

I built exiv2 from source in default directory i.e. /usr/local (packages and libs) but cmake always try to find exiv packages in /usr/include folder rather than /usr/local. I even removed any exiv2 packages in /usr/include directory.

Is there any way to specify cmake to find exiv2 package in /usr/local directory or any other way?

--
Thanks
Sambhav
Reply | Threaded
Open this post in threaded view
|

Re: Building digikam locally on my system

Gilles Caulier-4
Hi,

Your problem is to try to use exiv2 development files in an extra directory when official development package is already installed on your system. Only one must be installed. In other word, uninstall system devel package and this will be better.

Best

Gilles Caulier 

Le lun. 22 juil. 2019 à 12:01, Sambhav Dusad <[hidden email]> a écrit :
Hello,
My previous laptop got bad so I had to build digikam again on a new machine. While building digikam, I installed all the dependencies but exiv2 packages show an error.

I built exiv2 from source in default directory i.e. /usr/local (packages and libs) but cmake always try to find exiv packages in /usr/include folder rather than /usr/local. I even removed any exiv2 packages in /usr/include directory.

Is there any way to specify cmake to find exiv2 package in /usr/local directory or any other way?

--
Thanks
Sambhav
Reply | Threaded
Open this post in threaded view
|

Re: Building digikam locally on my system

Sambhav Dusad
Thank you Gilles. It worked.

I uninstalled system version of exiv2 and built exiv2 from source.
The problem was exactly as you mentioned that cmake was detecting system version of exiv2.

On Wed 24 Jul, 2019, 02:38 Gilles Caulier, <[hidden email]> wrote:
Hi,

Your problem is to try to use exiv2 development files in an extra directory when official development package is already installed on your system. Only one must be installed. In other word, uninstall system devel package and this will be better.

Best

Gilles Caulier 

Le lun. 22 juil. 2019 à 12:01, Sambhav Dusad <[hidden email]> a écrit :
Hello,
My previous laptop got bad so I had to build digikam again on a new machine. While building digikam, I installed all the dependencies but exiv2 packages show an error.

I built exiv2 from source in default directory i.e. /usr/local (packages and libs) but cmake always try to find exiv packages in /usr/include folder rather than /usr/local. I even removed any exiv2 packages in /usr/include directory.

Is there any way to specify cmake to find exiv2 package in /usr/local directory or any other way?

--
Thanks
Sambhav