[Xastir] Kubuntu _and_ Raspberry Pi build fails

Lee Bengston lee.bengston at gmail.com
Wed Jan 6 23:13:50 EST 2016


On Wed, Jan 6, 2016 at 9:29 PM, Tom Russo <russo at bogodyn.org> wrote:

> On Wed, Jan 06, 2016 at 09:18:12PM -0500, we recorded a bogon-computron
> collision of the <lee.bengston at gmail.com> flavor, containing:
> > ???.  There was a similar one installed that appeared to be equivalent.
> The
> > names escape me now.  When attempting to build Xastir in Ubuntu 15.10 the
> > configure script points to not finding key files that would normally be
> > provided by the dev packages for imagemagick or GraphicsMagick.  With
> > respect to GraphicsMagick, I'm not sure exactly what this message
> means...
> >
> >
> > ???"
> > ???
> > checking for WriteImage in -lGraphicsMagick"
> > ???
> > ... no ???
> >
> > ???If this issue is also present in 16.04 this April I'm sure it will get
> > more attention.???  15.10 is basically a lame duck release.
>
> I bet dollars to donuts that there is a missing dependent library, and the
> test is failing.


​That jibes with Ray's experience with Debian Jessie - he said he installed
'missing dependencies' in order to resolve what appeared to be the same
problem.

  Configure works by creating a small test program that
> calls "WriteImage" and then tries to link that test program with
> -lGraphicsMagick.  If the link fails, it reports that the function does not
> exist, but there are often other reasons for the failure.
>
> Look in config.log and see what the linker is actually complaining about.
> I'll
> bet it's complaining about some other function not being defined when
> linking
> -lGraphicsMagick.  Then the trick is to find what library provides *THAT*
> and
> why it hasn't already been added to LIBS.
>
> Our configure script is supposed to use
>   GraphicsMagick-config --libs
> to get the correct libs line to use.  That, in turn, is supposed to return
> a list of all "-l" arguments that should be used to link with
> GraphicsMagick.
> If there is something missing in that list, it could cause this problem.
>
> ​Thanks - I forgot about config.log.  I found this a few lines down from
the check for "WriteImage in lGraphicsMagick"

/usr/bin/ld: cannot find -lwebp

Hmm, webp, "Lossy compression of digital photographic images" - that sounds
like something GraphicsMagick might use - or need.  The webp package was
installed but not libwebp-dev, so perhaps the dev package for
GraphicsMagick should be installing that as a dependency.  I installed
libwebp-dev, and "presto", Configure found GM, and Xastir is built with
working online OSM maps.  Thanks Tom!

Hey Dexter.  In Kubuntu 15.10, install libwebp-dev.  :-)

I'm not sure if libwebp-dev will fix Debian Jessie, however.  I don't have
the means to try that now.

Lee - K5DAT


More information about the Xastir mailing list