[Xastir] Kubuntu _and_ Raspberry Pi build fails

Dexter N Muir dexy at xtra.co.nz
Thu Jan 7 03:41:14 EST 2016



On 07/01/16 17:13, xastir-request at lists.xastir.org wrote:
> Date: Wed, 6 Jan 2016 23:13:50 -0500
> From: Lee Bengston<lee.bengston at gmail.com>
> To: Tom Russo<russo at bogodyn.org>, 	Xastir - APRS client software
> 	discussion<xastir at lists.xastir.org>, 	Xastir - APRS client software
> 	discussion<xastir at xastir.org>
> Subject: Re: [Xastir] Kubuntu_and_  Raspberry Pi build fails
> Message-ID:
> 	<CAPF_JS+qPGTyiXB-82OyfK6eu6OTtN8jxvYSR-k4hdwQJi35vA at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> 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
Some good tips in there, folks, but...

libwebp-dev got 15.10 through the build, and there are OSMs in the 
Chooser, message in terminal (when run from there) and Help>About say 
GraphicsMagick is in the build, but the Rasters don't show.

Raspbian-Jessie fails apt-get update at present:
---
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en_NZ
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_NZ
Ign http://archive.raspberrypi.org jessie/ui Translation-en
W: Failed to fetch 
http://mirrordirector.raspbian.org/raspbian/dists/jessie/InRelease 
Unable to find expected entry 'ui/binary-armhf/Packages' in Release file 
(Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old 
ones used instead.
pi at raspberrypi:~/Downloads $
---
    so I haven't been able to try the libwebp-dev 'cure'.

I'm giving up and going back to the repo's 2.0.4. I haven't the 
skills/smarts/patience to go through the 'everything from source' saga 
(I salute those who have!), and I don't have RF, so 2.0.4 will do all I 
need by 'net. It's been an education - perhaps for us all - and I'd like 
to see a resolution somewhere down the track, or maybe see a GTK version 
(from a mention long ago - is it still being worked on?).

My conversion to Linux was largely due to xastir's messaging capability; 
nothing in the DOS/Win world had that at the time. JNOS was a further 
teaser. FWIW though, there is now a very capable SarTrack that has. Too 
late to woo me back, Linux is too much better, and MUCH more FUN!

p.s. re:Debian pig comment: the non-frees do nothing for the video (a 
Radeon), and my install (to HD) won't shutdown or restart, the power 
button is the only recourse. Plays merry hell with subsequent boot back 
to Kubi-wan. That partition is going back to the main pool.

Cheers all, and 73!
Dex ZL2DEX



More information about the Xastir mailing list