[Slackbuilds-users] Issues with tkimg

M Wedin wedinm at gmail.com
Sun Aug 18 20:59:28 UTC 2024


Den sön 18 aug. 2024 kl 22:09 skrev B. Watson <urchlay at slackware.uk>:
>
>
>
> On Sun, 18 Aug 2024, M Wedin wrote:
>
> > I aim to install mcu8051ide
> >
> > These are the packages to be installed. Dependencies are indented
> >
> > mcu8051ide
> >  bwidget
> >  itcl
> > !  tkimg
> >    tcllib
> >  tDOM
> >    gumbo-parser
> >
> > There is no libtiff on SBo. I searched and installed all of *jbig* I
> > could find. No success. Any help is appreciated.
>
> I can confirm that tkimg fails to build, if jbigkit is installed. I get
> the same error you do.
>
> What I couldn't figure out, from your message... you installed all
> the builds with *jbig* in the name, but why?

Because of my lack of understanding, I figured it couldn't hurt much
to add stuff.
undefined reference to `TIFFInitJBIG'

> Also, it looks like tkimg isn't using the system libtiff at all. It
> ships with its own copy of the libtiff source... a rather old version:
>
> $ cat /tmp/SBo/tkimg1.4/compat/libtiff/VERSION
> 3.9.4
>
> This version of libtiff gets configured by a command that comes from
> tkimg1.4/libtiff/configure, which needs --disable-jbig added to the
> --disable-jpeg that's already there...
>
> Two suggestions:
>
> 1. M Wedin, you can temporarily removepkg jbigkit, built tkimg, then
>     reinstall jbigkit afterwards if you actually need it.

That is exactly what I did, when I got it to work. Thanks to Matteo.

> 2. Richard Ellis, you might want to patch tkimg to have its embedded
>     libtiff build without jbigkit. One way to do it: just after the
>     'make distclean' in tkimg.SlackBuild, add this rather ugly sed command:
>
>       sed -i 's,--disable-pixarlog,& --disable-jbig,' libtiff/configure
>
>    Of course, the result will be a tkimg without jbig support... but
>    that's what you'd get anyway, if you built tkimg on a stock 15.0
>    system.


More information about the SlackBuilds-users mailing list