[Bug 147119] New: Can't link against static libjasper, configure reports jasper is missing

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

[Bug 147119] New: Can't link against static libjasper, configure reports jasper is missing

Bugzilla from mkosmul@users.sourceforge.net
------- 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=147119         
           Summary: Can't link against static libjasper, configure reports
                    jasper is missing
           Product: digikam
           Version: unspecified
          Platform: Slackware Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: setup
        AssignedTo: digikam-devel kde org
        ReportedBy: mkosmul users sourceforge net


Version:            (using KDE KDE 3.5.7)
Installed from:    Slackware Packages
Compiler:          gcc 4.1.2
OS:                Linux

While compiling Digikam 0.9.2, if jasper (1.900.1 or 1.701.0) was compiled without --enable-dynamic (only static libraries are available), digikam's configure complains about libjasper not being installed ("WARNING: digiKam requires libjasper >= 1.7.0") and aborts.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 147119] Can't link against static libjasper, configure reports jasper is missing

Gilles Caulier-4
------- 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=147119         




------- Additional Comments From caulier.gilles gmail com  2007-06-23 11:12 -------
Michal,

This warning is given because the development package is not installed (witch include header file to compile)

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

Re: [Bug 147119] New: Can't link against static libjasper, configure reports jasper is missing

Arnd Baecker
In reply to this post by Bugzilla from mkosmul@users.sourceforge.net
What do you suggest?
Should the warning be changed to
"WARNING: digiKam requires libjasper >= 1.7.0 (shared library version,
--enable-dynamic during configure of libjasper)"

Or should digiKam also accept a static library?
(Not sure if this would be a good option, personally I think
that libjasper should generate a shared library version
per default ...)

Note that this is also mentioned under:
  http://www.digikam.org/?q=download/dependencies
which it is linked from
  http://www.digikam.org/?q=download

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

[Bug 147119] Can't link against static libjasper, configure reports jasper is missing

Arnd Baecker
In reply to this post by Bugzilla from mkosmul@users.sourceforge.net
------- 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=147119         




------- Additional Comments From arnd.baecker web de  2007-06-23 11:17 -------
What do you suggest?
Should the warning be changed to
"WARNING: digiKam requires libjasper >= 1.7.0 (shared library version,
--enable-dynamic during configure of libjasper)"

Or should digiKam also accept a static library?
(Not sure if this would be a good option, personally I think
that libjasper should generate a shared library version
per default ...)

Note that this is also mentioned under:
  http://www.digikam.org/?q=download/dependencies
which it is linked from
  http://www.digikam.org/?q=download

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

Re: [Bug 147119] Can't link against static libjasper, configure reports jasper is missing

Arnd Baecker
In reply to this post by Gilles Caulier-4
Gilles, are you sure?

By default, installing libjasper only creates static libraries,
which are not recognized by digikam
(or has this changed?).

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

[Bug 147119] Can't link against static libjasper, configure reports jasper is missing

Arnd Baecker
In reply to this post by Bugzilla from mkosmul@users.sourceforge.net
------- 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=147119         




------- Additional Comments From arnd.baecker web de  2007-06-23 11:19 -------
Gilles, are you sure?

By default, installing libjasper only creates static libraries,
which are not recognized by digikam
(or has this changed?).

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

[Bug 147119] Can't link against static libjasper, configure reports jasper is missing

Bugzilla from mkosmul@users.sourceforge.net
In reply to this post by Bugzilla from mkosmul@users.sourceforge.net
------- 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=147119         




------- Additional Comments From mkosmul users sourceforge net  2007-06-23 11:25 -------
Yes, both in jasper 1.900.1 and 1.701.0 the default is static libraries only. It took me a while to find out what was wrong since on Slackware I had to compile this library from source (no packages for it in the distro) and I expected that the default options would work.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 147119] Can't link against static libjasper, configure reports jasper is missing

Gilles Caulier-4
In reply to this post by Bugzilla from mkosmul@users.sourceforge.net
------- 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=147119         




------- Additional Comments From caulier.gilles gmail com  2007-06-23 11:33 -------
Michal,

All linux distributions separate now binary and devel packages to optimize space used on host computer.

Binary package include shared library component witch is used to link with host program. It cannot be used alone to compile a program witch will use the library. This package is used to run a program already compiled witch use the library.

Development package is used to _compile_ the host program ! This is completly different. When you install bin package, generally devel package is not installed. The automake/autonconf script from digiKam test if devel package is installed, not the bin package.

Look README file to check all depencies...

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

[Bug 147119] Can't link against static libjasper, configure reports jasper is missing

Arnd Baecker
In reply to this post by Bugzilla from mkosmul@users.sourceforge.net
------- 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=147119         




------- Additional Comments From arnd.baecker web de  2007-07-04 11:25 -------
Created an attachment (id=21036)
 --> (http://bugs.kde.org/attachment.cgi?id=21036&action=view)
more precise warning

The attached patch gives a more detailed explanation.
Full text in case of error after applying this patch:
 
 digiKam needs libjasper to support JPEG2000.
  You need to install the correct version (>= 1.7.0).
  Libjasper website is at http://www.ece.uvic.ca/~mdadams/jasper
  Important note: libjaspeer has to be configured with --enable-dynamic
  as otherwise the required dynamic libraries are not created.



Personally I think that this should be enough. There
is no need for digikam to work around configure choice of 3rd party software.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 147119] Can't link against static libjasper, configure reports jasper is missing

Bugzilla from mkosmul@users.sourceforge.net
In reply to this post by Bugzilla from mkosmul@users.sourceforge.net
------- 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=147119         
mkosmul users sourceforge net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From mkosmul users sourceforge net  2007-07-04 18:21 -------
Thanks, I think this should solve the problem for most people.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 147119] Can't link against static libjasper, configure reports jasper is missing

Arnd Baecker
In reply to this post by Bugzilla from mkosmul@users.sourceforge.net
------- 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=147119         
arnd.baecker web de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WORKSFORME                  |



------- Additional Comments From arnd.baecker web de  2007-07-04 18:45 -------
OK, I will ask that the patch gets applied (therefore re-opening until then).
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 147119] Can't link against static libjasper, configure reports jasper is missing

Arnd Baecker
In reply to this post by Bugzilla from mkosmul@users.sourceforge.net
------- 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=147119         




------- Additional Comments From arnd.baecker web de  2007-08-30 13:26 -------
Gilles, may I apply the patch (#6) and close this bug then?
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 147119] Can't link against static libjasper, configure reports jasper is missing

Gilles Caulier-4
In reply to this post by Bugzilla from mkosmul@users.sourceforge.net
------- 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=147119         




------- Additional Comments From caulier.gilles gmail com  2007-08-30 13:38 -------
Arnd,

Yes of course.

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

[Bug 147119] Can't link against static libjasper, configure reports jasper is missing

Arnd Baecker
In reply to this post by Bugzilla from mkosmul@users.sourceforge.net
------- 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=147119         
arnd.baecker web de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From arnd.baecker web de  2007-08-30 13:50 -------
SVN commit 706424 by abaecker:

More detailed explanation when libjasper is not found.
BUG: 147119


 M  +4 -1      configure.in.bot  


--- branches/extragear/kde3/graphics/digikam/configure.in.bot #706423:706424
 @ -62,8 +62,11  @
 if test "x$have_jasper" != "xyes"; then
   echo "-- libjasper library found........ NO"
   echo ""
-  echo "digiKam needs libjasper to support JPEG2000. You need to install the correct version (>= 1.7.0)."
+  echo "digiKam needs libjasper to support JPEG2000. "
+  echo "You need to install the correct version (>= 1.7.0)."
   echo "Libjasper website is at http://www.ece.uvic.ca/~mdadams/jasper"
+  echo "Important note: libjaspeer has to be configured with --enable-dynamic"
+  echo "as otherwise the required dynamic libraries are not created."
   echo ""
   all_tests=bad
 else
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel