[Xastir] Kubuntu _and_ Raspberry Pi build fails

vk2tv vk2tv at exemail.com.au
Wed Jan 6 23:39:44 EST 2016


Lee,

I uninstalled libwebp-dev on my Debian Jessie installation and ran 
./configure for xastir. It reported the Imagemagick/Graphicsmagick error.

I reinstalled libwebp-dev and again ran ./configure. This time there 
wasn't an error and all options said YES.

Regards,

Ray vk2tv

On 07/01/16 15:13, Lee Bengston wrote:
> 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
> _______________________________________________
> Xastir mailing list
> Xastir at lists.xastir.org
> http://xastir.org/mailman/listinfo/xastir



More information about the Xastir mailing list