new requirement libjpeg.la?

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

new requirement libjpeg.la?

Bugzilla from Klaus.Weidenbach@gmx.net
Hello,

I have problems to compile current SVN version of digikam. I have already
recompiled libkexiv2, libkipi, kipiplugins, etc.
But digikam fails because of a missing libjpeg.la file:

/bin/sh ../../../../libtool --silent --tag=CXX --mode=link
g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions   -o
libdimgloaders.la  -L/opt/kde/lib -L/usr/lib/qt/lib -L/usr/X11R6/lib    -R /opt/kde/lib -R /opt/kde/lib -R /usr/lib/qt/lib -R /usr/X11R6/lib -ljpeg -ltiff -lpng -ljasper
iccjpeg.lo libdimgloaders_la.all_cpp.lo
grep: /usr/lib/libjpeg.la: No such file or directory
/usr/bin/sed: can't read /usr/lib/libjpeg.la: No such file or directory
libtool: link: `/usr/lib/libjpeg.la' is not a valid libtool archive
make[3]: *** [libdimgloaders.la] Error 1
make[3]: Leaving directory
`/tmp/digikam-svn20070211/digikam/libs/dimg/loaders'
make[2]: *** [all-recursive] Error 1

Slackware 11.0 includes the package libjpeg-6b-i386-4 but it does not contain
any libjpeg.la file. Is this file required now, because I had no problems
compiling older versions of digikam.

Thank you very much for any comments.

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

Re: new requirement libjpeg.la?

Gerhard Kulzer
Am Sunday 11 February 2007 schrieb Klaus Weidenbach:

> Hello,
>
> I have problems to compile current SVN version of digikam. I have already
> recompiled libkexiv2, libkipi, kipiplugins, etc.
> But digikam fails because of a missing libjpeg.la file:
>
> /bin/sh ../../../../libtool --silent --tag=CXX --mode=link
> g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2
> -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
> -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
> -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
> -DQT_CLEAN_NAMESPACE -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
> -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions   -o libdimgloaders.la
> -L/opt/kde/lib -L/usr/lib/qt/lib -L/usr/X11R6/lib    -R /opt/kde/lib -R
> /opt/kde/lib -R /usr/lib/qt/lib -R /usr/X11R6/lib -ljpeg -ltiff -lpng
> -ljasper iccjpeg.lo libdimgloaders_la.all_cpp.lo
> grep: /usr/lib/libjpeg.la: No such file or directory
> /usr/bin/sed: can't read /usr/lib/libjpeg.la: No such file or directory
> libtool: link: `/usr/lib/libjpeg.la' is not a valid libtool archive
> make[3]: *** [libdimgloaders.la] Error 1
> make[3]: Leaving directory
> `/tmp/digikam-svn20070211/digikam/libs/dimg/loaders'
> make[2]: *** [all-recursive] Error 1
>
> Slackware 11.0 includes the package libjpeg-6b-i386-4 but it does not
> contain any libjpeg.la file. Is this file required now, because I had no
> problems compiling older versions of digikam.
apt-file search libjpeg.la
libjpeg62-dev: usr/lib/libjpeg.la

Gerhard

> Thank you very much for any comments.
>
> Regards,
> Klaus
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel



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

Re: new requirement libjpeg.la?

Bugzilla from Klaus.Weidenbach@gmx.net
Hello,

> > Slackware 11.0 includes the package libjpeg-6b-i386-4 but it does not
> > contain any libjpeg.la file. Is this file required now, because I had no
> > problems compiling older versions of digikam.
>
> apt-file search libjpeg.la
> libjpeg62-dev: usr/lib/libjpeg.la

Yes, I thought it should be in this package. But it is not included in the
Slackware libjpeg package. Slackware does not know such -devel packages.
Everything is included in just one package, so I cannot have forgotten to
install a devel package like in other distros.

I have complied digikam many times before, but it never failed because of this
file. So I was just wondering.


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

Re: new requirement libjpeg.la?

Gerhard Kulzer
Am Sunday 11 February 2007 schrieb Klaus Weidenbach:

> Hello,
>
> > > Slackware 11.0 includes the package libjpeg-6b-i386-4 but it does not
> > > contain any libjpeg.la file. Is this file required now, because I had
> > > no problems compiling older versions of digikam.
> >
> > apt-file search libjpeg.la
> > libjpeg62-dev: usr/lib/libjpeg.la
>
> Yes, I thought it should be in this package. But it is not included in the
> Slackware libjpeg package. Slackware does not know such -devel packages.
> Everything is included in just one package, so I cannot have forgotten to
> install a devel package like in other distros.
>
> I have complied digikam many times before, but it never failed because of
> this file. So I was just wondering.
>
>
> Regards,
> Klaus
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel

Well, # ldd /usr/bin/digikam|grep libjpeg
        libjpeg.so.62 => /usr/lib/libjpeg.so.62

So I guess the .la file is needed for compilation. I don't know for sure, but
it would surprise me if this was a new dependency, it's such an essential
library.

Gerhard


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

Re: new requirement libjpeg.la?

Bugzilla from Klaus.Weidenbach@gmx.net
Hello,

sorry for the late reply, but I tested bit around the last day. I can compile
digikam 0.9, but not 0.9.1-beta1. It breaks with the error I posted before
about missing libjpeg.la

> Well, # ldd /usr/bin/digikam|grep libjpeg
>         libjpeg.so.62 => /usr/lib/libjpeg.so.62
>
> So I guess the .la file is needed for compilation. I don't know for sure,
> but it would surprise me if this was a new dependency, it's such an
> essential library.

The installed digikam 0.9 links to libjpeg.so.62, without existing libjpeg.la
on my Slackware system.
ldd /opt/kde/bin/digikam | grep libjpeg
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb6616000)

So it seems there has changed something how digikam compiles?
Thank you very much.

--
take care!

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

Re: new requirement libjpeg.la?

Gerhard Kulzer
Am Tuesday 13 February 2007 schrieb Klaus Weidenbach:

> Hello,
>
> sorry for the late reply, but I tested bit around the last day. I can
> compile digikam 0.9, but not 0.9.1-beta1. It breaks with the error I posted
> before about missing libjpeg.la
>
> > Well, # ldd /usr/bin/digikam|grep libjpeg
> >         libjpeg.so.62 => /usr/lib/libjpeg.so.62
> >
> > So I guess the .la file is needed for compilation. I don't know for sure,
> > but it would surprise me if this was a new dependency, it's such an
> > essential library.
>
> The installed digikam 0.9 links to libjpeg.so.62, without existing
> libjpeg.la on my Slackware system.
> ldd /opt/kde/bin/digikam | grep libjpeg
>         libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb6616000)
>
> So it seems there has changed something how digikam compiles?
> Thank you very much.
Well if the library exists on your system (locate -e libjpeg.so.62), which
seems to be the case, the only error (I can imagine) possible is then the
paths variables that don't find it. Can you check the Makefile and
Makefile.in of the relevant sub-directory?

Gerhard

--
Hakuna matata
http://www.gerhard.fr

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

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: new requirement libjpeg.la?

Bugzilla from Klaus.Weidenbach@gmx.net
Hello,

Thank you very much for all your help. I found the problem finally. I had to
install libjasper as a new requirement to compile digikam. And the file
libjasper.la from libjasper included a new dependency to libjpeg.la. :( I
removed that dependency in /usr/lib/libjapser.la and it seems that digikam
compiles fine now.

> Well if the library exists on your system (locate -e libjpeg.so.62), which
> seems to be the case, the only error (I can imagine) possible is then the
> paths variables that don't find it. Can you check the Makefile and
> Makefile.in of the relevant sub-directory?

--
take care!

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

Re: new requirement libjpeg.la?

Loïc Brarda-2
2007/2/15, Klaus Weidenbach <[hidden email]>:
> Hello,
>
> Thank you very much for all your help. I found the problem finally. I had to
> install libjasper as a new requirement to compile digikam. And the file
> libjasper.la from libjasper included a new dependency to libjpeg.la. :( I
> removed that dependency in /usr/lib/libjapser.la and it seems that digikam
> compiles fine now.
>

Hi everybody,

Just a question about libjasper requirement : Digikam could work
without if you don't want to use JPEG-2000. Many applications handle
that at configure time, and do not compile that part if that optionnal
part is not there. I don't know if it's difficult to handle as I don't
know at lot about autoconf/automake stuff but is it possible for
digikam ?

Perhaps it's to late now as I think I've read somewhere that, with
KDE4, autoconf/automake will not be used. Perhaps it's somethink to
think about during the migration.
Being able to reduce the dependancies, at least at configure/compile
time is a good thing.
Even better (but it's probably not possible with actual tools) would
be to handle these requirements at run time, but I'm dreaming.

Regards,
  Loïc

P.S.:keep on doing this nice work.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel