Re: [Xastir] Kubuntu _and_ Raspberry Pi build fails - Debian attempt

2016-01-06 Thread Lee Bengston
On Wed, Jan 6, 2016 at 7:47 PM, Dexter N Muir  wrote:

>
>> OK, still investigating. I've been wondering if Debian Jessie will work.
> Sadly, no. I've found it to be a pig! My hardware (i3, hp, so not too
> shabby or too slick either) doesn't work with bog-standard net drivers, so
> re-do from start with 4GB Try/Install stick, find out how to get net
> working (by updating sources.list with non-free), and use it to install to
> HD. Days' effort and research. Then find the Debian script. Sorry, Lee,
> yours is for 6 (Squeeze). You've built a 7, so something must have worked.


​I know I've built Xastir successfully in Debian 7​ (Wheezy).  I just
didn't make a script for it other than the one for the Raspian version for
the Raspberry Pi.



> Try the script anyway. No go. Edit: 6 and Squeeze become 8 and Jessie. Try
> it. Nope, edit again. libdb doesn't need numbers, simple - but lesstif is
> deprecated. OK, change to motif (limotif0 for runtime? and libmotif-dev).
> Try again. Build, but no raster or OSM in chooser. imagemagick not working?
> Where to now? I'm about at the limit of my skills - and patience!
>

​It sounds like ​Debian Jessie may have the same problem with the
ImageMagick and GraphicsMagick dev packages that is present in Ubuntu 15.10.


> Debian doesn't seem to want to use sudo. Several su -c's in script is
> obtrusive. I've noted elsewhere the ability to hold info in a shell
> variable: would this help or be applicable?
>

​It is possible to change your Debian installation to use sudo.  ​What's
the problem with 'su -c' in the scripts - too many password prompts?

 I note, Lee, you have a Pi script for Jessie - that might work, I'll give
it a whirl...

> Nope, thrown out looking for ui/binary/armhf/Packages in sources.list.
>

​I'll plan to remove the Raspian-Jessie version of the script.  That was
something I threw together for you to try based on your previous
observations about what needed to change from Wheezy to Jessie.  I didn't
have anything to test it on.  I haven't upgraded my Raspberry Pi to Jessie
yet.​

​Lee - K5DAT​
___
Xastir mailing list
Xastir@lists.xastir.org
http://xastir.org/mailman/listinfo/xastir


Re: [Xastir] Kubuntu _and_ Raspberry Pi build fails

2016-01-06 Thread vk2tv

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  wrote:


On Wed, Jan 06, 2016 at 09:18:12PM -0500, we recorded a bogon-computron
collision of the  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@lists.xastir.org
http://xastir.org/mailman/listinfo/xastir


___
Xastir mailing list
Xastir@lists.xastir.org
http://xastir.org/mailman/listinfo/xastir


Re: [Xastir] Kubuntu _and_ Raspberry Pi build fails

2016-01-06 Thread Tom Russo
On Wed, Jan 06, 2016 at 11:13:50PM -0500, we recorded a bogon-computron 
collision of the  flavor, containing:
>  ** 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.

Bingo.  It's just a packaging error for GraphicsMagick-dev, which should be 
requiring libwebp-dev as a dependency.  

FWIW, I just checked on my Ubuntu 14.04 system, and GraphicsMagick-config --libs
does not show a -lwebp dependency, but my FreeBSD system does, and shows 
webp as an *optional* feature of GM --- so the maintainer must have decided
to enable that option, but forgot to propagate the dependency in the dev
package.  

It should be reported upstream --- the package maintainer should know that
the package dependencies are busted.

-- 
Tom RussoKM5VY   SAR502   DM64ux  http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236http://kevan.org/brain.cgi?DDTNM
 echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]

 


___
Xastir mailing list
Xastir@lists.xastir.org
http://xastir.org/mailman/listinfo/xastir


Re: [Xastir] Kubuntu _and_ Raspberry Pi build fails - Debian attempt

2016-01-06 Thread David Flood
Thanks for reminding me...I've got a 32G SD that I'll throw Raspian Jessie at 
tonight (I need the mental diversion) and then try to document what I find that 
I have to load using the "lather, read logs, repeat" method of banging my head.

As for bog stock Debian and/or Kubuntu, I should have some ATU's this Saturday 
when I have to come in to work to babysit a bypassed UPS...if shore power goes 
blip then I'll be busy...otherwise it's just escort the UPS tech in and make 
sure he doesn't fry himself...I'll bring in the personal laptop and try 
to set up both in a VM so I can also lather, read logs, repeat...

Dave
KD7MYC


-Original Message-
>From: Dexter N Muir 
>Sent: Jan 6, 2016 4:47 PM
>To: xastir@lists.xastir.org
>Subject: Re: [Xastir] Kubuntu _and_ Raspberry Pi build fails - Debian attempt
>
>


___
Xastir mailing list
Xastir@lists.xastir.org
http://xastir.org/mailman/listinfo/xastir


Re: [Xastir] Kubuntu _and_ Raspberry Pi build fails

2016-01-06 Thread Lee Bengston
On Thu, Dec 17, 2015 at 11:19 PM, vk2tv  wrote:

>
>
> On 18/12/15 14:23, Lee Bengston wrote:
>
>> On Thu, Dec 17, 2015 at 10:11 PM, vk2tv  wrote:
>>
>> Lee,
>>>
>>> On 18/12/15 10:33, Lee Bengston wrote:
>>>
>>> Finally took a look at Ubuntu 15.10

 I have both imagemagick and graphicsmagick installed including their
 development packages - and yet...

 checking for GraphicsMagick-config... /usr/bin/GraphicsMagick-config
 checking GraphicsMagick/magick/api.h usability... yes
 checking GraphicsMagick/magick/api.h presence... yes
 checking for GraphicsMagick/magick/api.h... yes
 ​​
 checking for WriteImage in -lGraphicsMagick
 ​​
 ... no
 configure: WARNING: *** Cannot find GraphicsMagick library files:
 Building
 w/o GraphicsMagick support. ***
 checking for Magick-config... no

 I think that last line is the check for ImageMagick.  So it appears the
 dev
 packages for both magick flavors are not giving Xastir what it wants.

 Lee - K5DAT

>>>
>>>
>> I recently compiled xastir on Debian 8.0, Jessie, and had the same
>>> problem. I added some missing dependencies as listed on the
>>> ​​
>>> Debian package page for xastir and the error went away, with all options
>>> listed as 'yes'.
>>>
>>> FWIW, here's the ldd listing from my machine. I compiled gdal, proj and
>>> libgeotiff from sources from their respective web sites, but I don't know
>>> how necessary that is anymore.
>>>
>>
​< didn't repeat the long text here >​


>
>>> Ray vk2tv
>>>
>>> ​Thanks Ray.  Are either of the pages below the
>>>
>> ​'
>> Debian package page'?
>>
>> https://packages.debian.org/jessie/hamradio/xastir
>>
>> https://packages.debian.org/source/jessie/xastir
>>
>>
>> Lee - K5DAT​
>>
>> Lee,
>
> The former is the packages page I used.



​Sorry for the slow follow up due to vacation.  I looked at the list of
Debian packages a while back, and all were already installed with the
exception of one that did not exist in Ubuntu 15.10​
​
​.  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.

Lee - K5DAT
___
Xastir mailing list
Xastir@lists.xastir.org
http://xastir.org/mailman/listinfo/xastir