digikam-0.9.1 and japser

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

digikam-0.9.1 and japser

Dennis Veatch-2
Compiling from source and during the configure it looks for libjasper >= 1.7.0
and I have jasper-1.900.1 installed but says it cannot find libjasper >=
1.7.0 so digikam will not be built.

I have other apps such as gdal, kdelibs, GraphicsMagick and others that have
had no issue with finding the proper libjasper.

Is there a problem with the configure script?
--
You can tuna piano but you can't tune a fish.

http://www.lunar-linux.org/
It's worth the spin.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: digikam-0.9.1 and japser

Arnd Baecker


On Mon, 5 Mar 2007, Dennis Veatch wrote:

> Compiling from source and during the configure it looks for libjasper >= 1.7.0
> and I have jasper-1.900.1 installed but says it cannot find libjasper >=
> 1.7.0 so digikam will not be built.
>
> I have other apps such as gdal, kdelibs, GraphicsMagick and others that have
> had no issue with finding the proper libjasper.
>
> Is there a problem with the configure script?

Don't think so - I had the same problem:
did you install libjasper with
  ./configure --prefix=$DIGIKAMDEST --enable-shared
?
(Otherwise no shared libraries are built and jasper is not
found by digikam).

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

Re: digikam-0.9.1 and japser

Dennis Veatch-2
On Monday 05 March 2007 10:56:48 am Arnd Baecker wrote:

> On Mon, 5 Mar 2007, Dennis Veatch wrote:
> > Compiling from source and during the configure it looks for libjasper >=
> > 1.7.0 and I have jasper-1.900.1 installed but says it cannot find
> > libjasper >= 1.7.0 so digikam will not be built.
> >
> > I have other apps such as gdal, kdelibs, GraphicsMagick and others that
> > have had no issue with finding the proper libjasper.
> >
> > Is there a problem with the configure script?
>
> Don't think so - I had the same problem:
> did you install libjasper with
>   ./configure --prefix=$DIGIKAMDEST --enable-shared
> ?
> (Otherwise no shared libraries are built and jasper is not
> found by digikam).
>
> HTH, Arnd

Oh my!

Your right, did not realize jasper does not build .so by default.

Well enabling shared worked but I did not do your
suggested "--prefix=$DIGIKAMDEST".

Thanks for the tip though, crisis averted.
--
You can tuna piano but you can't tune a fish.

http://www.lunar-linux.org/
It's worth the spin.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: digikam-0.9.1 and japser

Arnd Baecker
On Mon, 5 Mar 2007, Dennis Veatch wrote:

[...]

> Your right, did not realize jasper does not build .so by default.

Me neither, Fabien and Achim helped me through that
on the developers mailing list ;-)
(Funnily, it used to work before ...)

> Well enabling shared worked but I did not do your
> suggested "--prefix=$DIGIKAMDEST".

That's only needed if you install everything to a different directory
(stored in the environment variable DIGIKAMDEST ;-).

Best, Arnd


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

Re: digikam-0.9.1 and japser

Dennis Veatch-2
On Tuesday 06 March 2007 07:27:53 am Arnd Baecker wrote:
> On Mon, 5 Mar 2007, Dennis Veatch wrote:
>
> [...]
>
> > Your right, did not realize jasper does not build .so by default.
>
> Me neither, Fabien and Achim helped me through that
> on the developers mailing list ;-)
> (Funnily, it used to work before ...)

Yah that was my confusion because the 0.9.0 configure had no issues with that
and no other apps that can use it barked about it.... at least not that I
have found yet.

Not that they will now cause I got shared :)

>
> > Well enabling shared worked but I did not do your
> > suggested "--prefix=$DIGIKAMDEST".
>
> That's only needed if you install everything to a different directory
> (stored in the environment variable DIGIKAMDEST ;-).
>
> Best, Arnd

Hm yeah, I threw it in where kde lives.

Oh and just let me say. Digikam is the best camera app ever for kde/linux/open
source/etc/etc.

--
You can tuna piano but you can't tune a fish.

http://www.lunar-linux.org/
It's worth the spin.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: digikam-0.9.1 and japser

Bugzilla from ach@mpe.mpg.de
On Tuesday, 6. March 2007, Dennis Veatch wrote:

> On Tuesday 06 March 2007 07:27:53 am Arnd Baecker wrote:
> > On Mon, 5 Mar 2007, Dennis Veatch wrote:
> >
> > [...]
> >
> > > Your right, did not realize jasper does not build .so by default.
> >
> > Me neither, Fabien and Achim helped me through that
> > on the developers mailing list ;-)
> > (Funnily, it used to work before ...)
>
> Yah that was my confusion because the 0.9.0 configure had no issues with that
> and no other apps that can use it barked about it.... at least not that I
> have found yet.

that made me curious. and I greped 0.9 and 0.9.1 configure

$ grep -i jasper 0.9.0/digikam-0.9.0/digikam/configure.in.in 0.9.1/digikam-0.9.1/digikam/configure.in.in
0.9.1/digikam-0.9.1/digikam/configure.in.in:# Check for libjasper (JPEG2000)
0.9.1/digikam-0.9.1/digikam/configure.in.in:have_jasper=no
0.9.1/digikam-0.9.1/digikam/configure.in.in:KDE_CHECK_LIB(jasper, jas_init,
0.9.1/digikam-0.9.1/digikam/configure.in.in:              have_jasper=yes,
0.9.1/digikam-0.9.1/digikam/configure.in.in:              AC_MSG_WARN([digiKam requires libjasper >= 1.7.0]),
0.9.1/digikam-0.9.1/digikam/configure.in.in:              -ljasper)
0.9.1/digikam-0.9.1/digikam/configure.in.in:if test "x$have_jasper" != "xyes"; then
0.9.1/digikam-0.9.1/digikam/configure.in.in:  AC_WARN([digiKam requires libjasper >= 1.7.0; digiKam will not be compiled.])
0.9.1/digikam-0.9.1/digikam/configure.in.in:  LIB_JASPER="-ljasper"
0.9.1/digikam-0.9.1/digikam/configure.in.in:  AC_SUBST(LIB_JASPER)

so 0.9.0 had no check for libjasper at all ;)

grep -i jasper 0.9.0/digikam-0.9.0/README   find also nothing.
So my naive summary is that digikam did not use libjasper in 0.9.0

Searching recursively for jasper uncovered:
0.9.0/digikam-0.9.0/acinclude.m4:AC_DEFUN([AC_FIND_JASPER],
0.9.0/digikam-0.9.0/acinclude.m4:AC_MSG_CHECKING([for jasper])
0.9.0/digikam-0.9.0/acinclude.m4:AC_CACHE_VAL(ac_cv_jasper,
0.9.0/digikam-0.9.0/acinclude.m4:LIBS="$LIBS $all_libraries $USER_LDFLAGS -ljasper $LIBJPEG -lm"
0.9.0/digikam-0.9.0/acinclude.m4:    #include<jasper/jasper.h>
0.9.0/digikam-0.9.0/acinclude.m4:    eval "ac_cv_jasper='-ljasper $LIBJPEG -lm'",
0.9.0/digikam-0.9.0/acinclude.m4:    eval "ac_cv_jasper=no"
0.9.0/digikam-0.9.0/acinclude.m4:if eval "test ! \"`echo $ac_cv_jasper`\" = no"; then
0.9.0/digikam-0.9.0/acinclude.m4:  AC_DEFINE_UNQUOTED(HAVE_JASPER, 1, [Define if you have jasper])
0.9.0/digikam-0.9.0/acinclude.m4:  LIB_JASPER="$ac_cv_jasper"
0.9.0/digikam-0.9.0/acinclude.m4:  AC_MSG_RESULT($ac_cv_jasper)
0.9.0/digikam-0.9.0/acinclude.m4:  LIB_JASPER=""
0.9.0/digikam-0.9.0/acinclude.m4:AC_SUBST(LIB_JASPER)

as this check mentions  $LIBJPEG and -lm, which were the problem is
the static libjasper build AFAIR, I assume digikam should use AC_FIND_JASPER
instead it's home grown test?


Achim

>
> Not that they will now cause I got shared :)
>
> >
> > > Well enabling shared worked but I did not do your
> > > suggested "--prefix=$DIGIKAMDEST".
> >
> > That's only needed if you install everything to a different directory
> > (stored in the environment variable DIGIKAMDEST ;-).
> >
> > Best, Arnd
>
> Hm yeah, I threw it in where kde lives.
>
> Oh and just let me say. Digikam is the best camera app ever for kde/linux/open
> source/etc/etc.
>
> --
> You can tuna piano but you can't tune a fish.
>
> http://www.lunar-linux.org/
> It's worth the spin.
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>



--
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- [hidden email]
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: digikam-0.9.1 and japser

Gilles Caulier-4


2007/3/6, Achim Bohnet <[hidden email]>:
On Tuesday, 6. March 2007, Dennis Veatch wrote:

> On Tuesday 06 March 2007 07:27:53 am Arnd Baecker wrote:
> > On Mon, 5 Mar 2007, Dennis Veatch wrote:
> >
> > [...]
> >
> > > Your right, did not realize jasper does not build .so by default.
> >
> > Me neither, Fabien and Achim helped me through that
> > on the developers mailing list ;-)
> > (Funnily, it used to work before ...)
>
> Yah that was my confusion because the 0.9.0 configure had no issues with that
> and no other apps that can use it barked about it.... at least not that I
> have found yet.

that made me curious. and I greped 0.9 and 0.9.1 configure

$ grep -i jasper 0.9.0/digikam-0.9.0/digikam/configure.in.in 0.9.1/digikam-0.9.1/digikam/configure.in.in
0.9.1/digikam-0.9.1/digikam/configure.in.in:# Check for libjasper (JPEG2000)
0.9.1/digikam-0.9.1/digikam/configure.in.in:have_jasper=no
0.9.1/digikam-0.9.1/digikam/configure.in.in:KDE_CHECK_LIB(jasper, jas_init,
0.9.1/digikam-0.9.1/digikam/configure.in.in:              have_jasper=yes,
0.9.1/digikam-0.9.1/digikam/configure.in.in:              AC_MSG_WARN([digiKam requires libjasper >= 1.7.0]),
0.9.1/digikam-0.9.1/digikam/configure.in.in:              -ljasper)
0.9.1/digikam-0.9.1/digikam/configure.in.in:if test "x$have_jasper" != "xyes"; then
0.9.1/digikam-0.9.1/digikam/configure.in.in:  AC_WARN([digiKam requires libjasper >= 1.7.0; digiKam will not be compiled.])
0.9.1/digikam-0.9.1/digikam/configure.in.in:  LIB_JASPER="-ljasper"
0.9.1/digikam-0.9.1/digikam/configure.in.in:  AC_SUBST(LIB_JASPER)

so 0.9.0 had no check for libjasper at all ;)

Absolutly. I have added jasper depency only with 0.9.1 release

grep -i jasper 0.9.0/digikam-0.9.0/README   find also nothing.
So my naive summary is that digikam did not use libjasper in 0.9.0

Searching recursively for jasper uncovered:
0.9.0/digikam-0.9.0/acinclude.m4:AC_DEFUN([AC_FIND_JASPER],
0.9.0/digikam-0.9.0/acinclude.m4:AC_MSG_CHECKING([for jasper])
0.9.0/digikam-0.9.0/acinclude.m4:AC_CACHE_VAL(ac_cv_jasper,
0.9.0/digikam-0.9.0/acinclude.m4:LIBS="$LIBS $all_libraries $USER_LDFLAGS -ljasper $LIBJPEG -lm"
0.9.0/digikam-0.9.0/acinclude.m4:    #include<jasper/jasper.h>
0.9.0/digikam-0.9.0/acinclude.m4:    eval "ac_cv_jasper='-ljasper $LIBJPEG -lm'",
0.9.0/digikam-0.9.0/acinclude.m4:    eval "ac_cv_jasper=no"
0.9.0/digikam-0.9.0/acinclude.m4:if eval "test ! \"`echo $ac_cv_jasper`\" = no"; then
0.9.0/digikam-0.9.0/acinclude.m4:  AC_DEFINE_UNQUOTED(HAVE_JASPER, 1, [Define if you have jasper])
0.9.0/digikam- 0.9.0/acinclude.m4:  LIB_JASPER="$ac_cv_jasper"
0.9.0/digikam-0.9.0/acinclude.m4:  AC_MSG_RESULT($ac_cv_jasper)
0.9.0/digikam-0.9.0/acinclude.m4:  LIB_JASPER=""
0.9.0/digikam-0.9.0/acinclude.m4:AC_SUBST(LIB_JASPER)

as this check mentions  $LIBJPEG and -lm, which were the problem is
the static libjasper build AFAIR, I assume digikam should use AC_FIND_JASPER
instead it's home grown test?

Well if it work why not...

Gilles

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