[Digikam-devel] [Bug 138616] New: cannot compile: cannot verify exiv2 version

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

[Digikam-devel] [Bug 138616] New: cannot compile: cannot verify exiv2 version

Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         
           Summary: cannot compile: cannot verify exiv2 version
           Product: digikam
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: setup
        AssignedTo: digikam-devel kde org
        ReportedBy: mikmach wp pl


Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

Configure script cannot find exiv2. I have exiv2 0.12 but pkg-config cannot verify that and refuses to compile digikam and digikamimageplugins.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Gilles Caulier-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From caulier.gilles kdemail net  2006-12-10 11:21 -------
Fixed this morning in svn. Please checkout, cleanup, and try again.

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

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Bugzilla from mikmach@wp.pl
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From mikmach wp pl  2006-12-10 14:01 -------
Removed and did checkout of whole extragear/graphics and still the same
error exiv2 >= 12 ... no.

:r!exiv2-config --version
0.12
:read /usr/local/lib/pkgconfig/exiv2.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: exiv2
Description: Exif and IPTC metadata library and tools
Version: 0.12
URL: http://www.exiv2.org
Libs: -L${libdir} -lexiv2
Libs.private:  -lz  -lm
Cflags: -I${includedir}

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

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Gilles Caulier-2
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         
caulier.gilles kdemail net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anaselli linux it



------- Additional Comments From caulier.gilles kdemail net  2006-12-10 14:15 -------
Mikolaj,

Are you installed properlly Exiv2 library ? Here, i'm use "./configure --prefix=/usr" under Mandriva...

Angelo,

What's wrong in .configure.in about Exiv2 version check ?

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

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Bugzilla from mikmach@wp.pl
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From mikmach wp pl  2006-12-10 15:13 -------
> Are you installed properlly Exiv2 library ? Here, i'm use "./configure
> --prefix=/usr" under Mandriva...


Yes. I installed properly and as usual programs compiled from sources
are going to /usr/local

Looks like pkg-config has problems with that. Since exiv2-config
supports libs/flags options maybe you should scratch pkg-config and use
exiv2-config instead?

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

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Bugzilla from anaselli@linux.it
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From anaselli linux it  2006-12-10 17:20 -------
About comment#2 error exiv2 >= 12 ... no. (12?) strange.
Anyway it works here (mandriva 2007), did you try to download the
srpm from cooker and backporting it? as soon as possible i'll try to provide
a backport package for mandriva.
Anyway to comment#4 I should say it's not on a conventional directory,
mandriva installs all into /usr -i strongly recomend to use srpm anyway-
so you should use PKG_CONFIG_PATH in order to provide /usr/local/lib/pkgconfig
to compile, in the same way I believe you do with LD_LIBRARY_PATH to provide /usr/local/lib first for share libraries to run your applications.

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

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Gilles Caulier-2
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From caulier.gilles kdemail net  2006-12-10 17:57 -------
Mikolaj,

Also, if you can compile kipi-plugins, why you cannot do it with digiKam ?

kipi-plugins Exiv2 check from .configure.in is the same on both...

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

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Bugzilla from mikmach@wp.pl
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From mikmach wp pl  2006-12-10 18:49 -------
> Also, if you can compile kipi-plugins, why you cannot do it with digiKam

I've had an "old" kipi-plugins. Didn't want to recompile them, just went
straight to Digikam.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Bugzilla from anaselli@linux.it
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From anaselli linux it  2006-12-10 18:55 -------
did you try to use PKG_CONFIG_PATH?
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Bugzilla from ahuggel@gmx.net
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From ahuggel gmx net  2006-12-11 04:20 -------
To comment #4: Please use pkg-config with exiv2.pc, not exiv2-config. exiv2-config has been marked as deprecated since (I think) 0.10, I don't plan to ship it with the next version anymore.

If there is something wrong with exiv2.pc, report it as a bug.

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

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Bugzilla from thorsten.schnebeck@gmx.net
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From thorsten.schnebeck gmx net  2006-12-11 09:15 -------
(Maybe its the same "bug" that Daniel already triggered)

Do you have a second version of exiv2 installed? If yes, where are the two exiv2.pc installed?

Bye

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

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Bugzilla from anaselli@linux.it
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From anaselli linux it  2006-12-11 09:24 -------
Andreas, with that I believe i won't go back on my steps, but,
there's always a but, I found this problem using  pkg-config alone:
#exiv2-config --libs
-L/usr/lib -lexiv2 -lz -lm
while
#pkg-config exiv2 --libs
-lexiv2

#pkg-config exiv2 --modversion
0.12

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

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Bugzilla from ahuggel@gmx.net
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From ahuggel gmx net  2006-12-11 16:52 -------
That's ok. -lz and -lm are only needed when linking statically:

ahuggel mowgli> pkg-config --libs exiv2
-L/usr/local/lib -lexiv2

ahuggel mowgli> pkg-config --libs --static exiv2
-L/usr/local/lib -lexiv2 -lz -lm

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

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Bugzilla from anaselli@linux.it
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From anaselli linux it  2006-12-11 17:26 -------
> ahuggel mowgli> pkg-config --libs exiv2
> -L/usr/local/lib -lexiv2

[anaselli proj9 src]$ pkg-config --libs exiv2
-lexiv2

there's no -L/usr/lib but maybe that's ok because it's standard...

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

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Gilles Caulier-2
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From caulier.gilles kdemail net  2006-12-12 14:18 -------
Angelo,

Look like Andreas recommend to use pkg-config with exiv2.pc, not exiv2-config.
See comments #9...

It's the case actually in .configure script ?

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

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Bugzilla from anaselli@linux.it
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From anaselli linux it  2006-12-12 15:57 -------
> It's the case actually in .configure script ?

almost, it's a hybrid yet, we use  pkg-config to get the module isntalled and
exiv2-config to get [c|ld]flags. I'll change it asap
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Gilles Caulier-2
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         
caulier.gilles kdemail net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|NOR                         |VHI



------- Additional Comments From caulier.gilles kdemail net  2006-12-13 07:59 -------
Angelo,

I just tag this file like VHI because it must be fixed before digiKam 0.9.0-final release planed at Christmast...

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

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Bugzilla from anaselli@linux.it
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From anaselli linux it  2006-12-13 09:00 -------
> Angelo,
>
> I just tag this file like VHI because it must be fixed before digiKam 0.9.0-final release planed at Christmast...

Gilles, I can't see the problem, the reporter doesn't want pkg-config
while Andreas said it's a must. I cannot fix it in the way the reporter wants,
I can only use pkg-config alone instead of a mix. Tell me what to do,
but as far as i can say this bug is invalid, but if the reporter shows
that PKG_CONFIG_PATH doesn't work.
 
Angelo

P.S. BTW I'm not a digikam developer :p
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Gilles Caulier-2
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From caulier.gilles kdemail net  2006-12-13 09:16 -------
> P.S. BTW I'm not a digikam developer :p

Sure (:=))), but .configure Exiv2 detection is common on kipi-plugins and digiKam (the same in fact). If something must be fixed into digiKam, the same thing must be done in kipi-plugins.

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

[Digikam-devel] [Bug 138616] cannot compile: cannot verify exiv2 version

Fabien-5
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138616         




------- Additional Comments From fabien.ubuntu gmail com  2006-12-13 14:45 -------
As exiv2-config is marked as deprecated by Andreas, I would suggest to only use pkg-config. IMHO, pkg-config is ok, if there are troubles, it could be because of some scripts using it, but not pkg-config itself...

And, this will also solve the problem I mentionned in my email here :
http://mail.kde.org/pipermail/digikam-users/2006-December/002628.html

<<
But, in any case, it's true that there's something confusing in the
configure script :
- first, EXIV2_CFLAGS and LIB_EXIV2 are defined :

EXIV2_CFLAGS="`$EXIV2_CONFIG --cflags`"
LIB_EXIV2="`$EXIV2_CONFIG --libs`"

- then, EXIV2_CFLAGS is redefined and a new EXIV2_LIBS is defined (and
not LIB_EXIV2) :

EXIV2_CFLAGS=`$PKG_CONFIG --cflags "exiv2 >= 0.12"`
EXIV2_LIBS=`$PKG_CONFIG --libs "exiv2 >= 0.12"`

I don't know yet which one is the right one, but I guess we shouldn't
have both LIB_EXIV2 and EXIV2_LIBS at the same time...
>>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
123