building from GIT source

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

building from GIT source

bkorb
On 09/25/15 10:11, Gilles Caulier wrote:
 > ... install the Exiv2 development package which contain header files required to compile the libkexiv2 library.

 > $ rpm -q -a|fgrep -i exiv2
 > libexiv2-14-0.25-67.1.x86_64
 > libexiv2-12-0.23-9.1.3.x86_64
 > exiv2-lang-0.25-67.1.noarch
 > libexiv2-devel-0.23-9.1.3.x86_64
 > exiv2-0.25-67.1.x86_64
 > libkexiv2-devel-4.11.5-298.1.x86_64
 > libkexiv2-11-4.11.5-298.1.x86_64

I believe I do have libexiv2-devel installed.  libkexiv2-devel to boot.
The "do you have it" configuration test is deficient in some way.
Perhaps it presumes that it has been built from source and the
source installs something that is not included in the package?
I would not know.

 > Gilles Caulier
 >     Hi Gilles,

 >     To get started, I thought I'd build the current repo, but there's a problem:
 >
 >     -----------------------------------------------------------------------------
 >     -- The following REQUIRED packages could NOT be located on your system.
 >     -- You must install these packages before continuing.
 >     -----------------------------------------------------------------------------
 >         * Exiv2 (0.24 or higher)  <http://www.exiv2.org>
 >           Required to build libkexiv2.
 >
 >     the problem is [that] the bootstrap does not detect that I have the library.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: building from GIT source

Gilles Caulier-4
You have 0.23 where 0.24 is required. Read well the cmake trace...

Gilles Caulier

2015-09-26 2:01 GMT+02:00 Bruce Korb <[hidden email]>:
On 09/25/15 10:11, Gilles Caulier wrote:
> ... install the Exiv2 development package which contain header files required to compile the libkexiv2 library.

> $ rpm -q -a|fgrep -i exiv2
> libexiv2-14-0.25-67.1.x86_64
> libexiv2-12-0.23-9.1.3.x86_64
> exiv2-lang-0.25-67.1.noarch
> libexiv2-devel-0.23-9.1.3.x86_64
> exiv2-0.25-67.1.x86_64
> libkexiv2-devel-4.11.5-298.1.x86_64
> libkexiv2-11-4.11.5-298.1.x86_64

I believe I do have libexiv2-devel installed.  libkexiv2-devel to boot.
The "do you have it" configuration test is deficient in some way.
Perhaps it presumes that it has been built from source and the
source installs something that is not included in the package?
I would not know.

> Gilles Caulier
>     Hi Gilles,

>     To get started, I thought I'd build the current repo, but there's a problem:
>
>     -----------------------------------------------------------------------------
>     -- The following REQUIRED packages could NOT be located on your system.
>     -- You must install these packages before continuing.
>     -----------------------------------------------------------------------------
>         * Exiv2 (0.24 or higher)  <http://www.exiv2.org>
>           Required to build libkexiv2.
>
>     the problem is [that] the bootstrap does not detect that I have the library.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel


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

Re: building from GIT source

bkorb
In reply to this post by bkorb
 > You have 0.23 where 0.24 is required. Read well the cmake trace...
 >
 > Gilles Caulier

And here I thought I had 0.25.
I think libexiv2 has a numbering problem.

On 09/25/15 17:01, Bruce Korb wrote:
> On 09/25/15 10:11, Gilles Caulier wrote:
>  > ... install the Exiv2 development package which contain header files required to compile the libkexiv2 library.
>
>  > $ rpm -q -a|fgrep -i exiv2
>  > libexiv2-14-0.25-67.1.x86_64
>  > libexiv2-12-0.23-9.1.3.x86_64
>  > exiv2-lang-0.25-67.1.noarch

Thank you.  My openSuSE repo only has the 0.25 binaries, and not the -devel stuff.
FYI, exiv2 is not up to configure/build standards either.  :(
It requires a source dir == build dir and has no "make check" target.
That finally complete.  I still get the version error.
Since I have to build and install myself, I installed to /usr/local.
How do I tell cmake that 0.25 is installed there and not in plain /usr?
The cmake code can't figure it out itself.

Thank you.

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

Re: building from GIT source

Gilles Caulier-4
It's a big mess in your system.

Don't mix deferent version of Exiv2 at the same time. It's know that make detection very difficult.

> $ rpm -q -a|fgrep -i exiv2
> libexiv2-14-0.25-67.1.x86_64
> libexiv2-12-0.23-9.1.3.x86_64
> exiv2-lang-0.25-67.1.noarch
> libexiv2-devel-0.23-9.1.3.x86_64
> exiv2-0.25-67.1.x86_64

You must have Exiv2 0.25 bin and devel installed. that all.

Gilles Caulier


2015-09-27 0:42 GMT+02:00 Bruce Korb <[hidden email]>:
> You have 0.23 where 0.24 is required. Read well the cmake trace...
>
> Gilles Caulier

And here I thought I had 0.25.
I think libexiv2 has a numbering problem.

On 09/25/15 17:01, Bruce Korb wrote:
On 09/25/15 10:11, Gilles Caulier wrote:
 > ... install the Exiv2 development package which contain header files required to compile the libkexiv2 library.

 > $ rpm -q -a|fgrep -i exiv2
 > libexiv2-14-0.25-67.1.x86_64
 > libexiv2-12-0.23-9.1.3.x86_64
 > exiv2-lang-0.25-67.1.noarch

Thank you.  My openSuSE repo only has the 0.25 binaries, and not the -devel stuff.
FYI, exiv2 is not up to configure/build standards either.  :(
It requires a source dir == build dir and has no "make check" target.
That finally complete.  I still get the version error.
Since I have to build and install myself, I installed to /usr/local.
How do I tell cmake that 0.25 is installed there and not in plain /usr?
The cmake code can't figure it out itself.

Thank you.


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


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

Re: building from GIT source

bkorb
In reply to this post by bkorb
My libexiv2 libraries are "messed up" because different
packages require different versions and openSuSE installs
whatever package is required.  I never asked for any of them
directly.

So I poked around in the sources and found this in the cmake
docs regarding "find_package":

> CMake searches for a file called Find<package>.cmake in the CMAKE_MODULE_PATH

but there is no "FindExiv2.cmake" file and it is all feeling too
rabbit-trail like.  I'll ask a silly question now:  do you have
a build VM that has the requisite packages?  I need either a
chrooted environment or a VM with all the needed infrastructure.
Yanking out libraries that are demanded by various installed packages
will guarantee a disaster, so I can't go there.  :(

The other alternative it to tell cmake where to look for exiv2.
But how to do that is not obvious.

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

Re: building from GIT source

Gilles Caulier-4
kdelibs-devel must have the FindExiv2.cmake script... Install this package to be able to compile whole digiKam

Gilles Caulier

2015-09-27 23:14 GMT+02:00 Bruce Korb <[hidden email]>:
My libexiv2 libraries are "messed up" because different
packages require different versions and openSuSE installs
whatever package is required.  I never asked for any of them
directly.

So I poked around in the sources and found this in the cmake
docs regarding "find_package":

CMake searches for a file called Find<package>.cmake in the CMAKE_MODULE_PATH

but there is no "FindExiv2.cmake" file and it is all feeling too
rabbit-trail like.  I'll ask a silly question now:  do you have
a build VM that has the requisite packages?  I need either a
chrooted environment or a VM with all the needed infrastructure.
Yanking out libraries that are demanded by various installed packages
will guarantee a disaster, so I can't go there.  :(

The other alternative it to tell cmake where to look for exiv2.
But how to do that is not obvious.

Thank you.  Regards, Bruce

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


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