[Digikam-devel] [Bug 155271] New: configure suggests wrong parameter for libjasper

raspl at gmx.de raspl at gmx.de
Tue Jan 8 11:34:24 GMT 2008


------- 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=155271         
           Summary: configure suggests wrong parameter for libjasper
           Product: digikam
           Version: unspecified
          Platform: RedHat RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: raspl gmx de


Version:           0.9.3 (using KDE KDE 3.5.4)
Installed from:    RedHat RPMs
Compiler:          gcc 
OS:                Linux

If libjasper is not present on the system, the following error is reported by the configure script:

  -- libjasper library found........ NO

  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.

Besides a minor spelling error (libjaspe_e_r), the switch '--enable-dynamic' does not exist in libjasper's configure script. The correct switch is '--enable-shared=yes'. Since libjasper's configure script doesn't report superfluous or noexisting options, this will go unnoticed and can cause headaches...

Here's a trivial patch:

--- configure.old       2008-01-08 12:33:14.000000000 +0100
+++ configure   2008-01-08 12:33:36.000000000 +0100
 @ -44210,7 +44210,7  @ if test "x$have_jasper" != "xyes"; then
   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 "Important note: libjasper has to be configured with --enable-shared=yes"
   echo "as otherwise the required dynamic libraries are not created."
   echo ""
   all_tests=bad



More information about the Digikam-devel mailing list