Re: [Xastir] Xastir Digest, Vol 152, Issue 1

2015-10-29 Thread Curt Mills
I seem to remember something about motif-dev having some other dev
packages in it, for some of the Linuxes.  Try there?

On Thu, Oct 29, 2015 at 1:50 PM, Dexter N Muir  wrote:
>
>
> On 30/10/15 05:00, xastir-requ...@lists.xastir.org wrote:
>>
>> From: N9JCA Chris Matthews
>> To: Xastir - APRS client software discussion
>> Subject: Re: [Xastir] CVS install on (K)ubuntu 15.10
>> Message-ID:<56319ac4.9010...@gmail.com>
>> Content-Type: text/plain; charset=windows-1252; format=flowed
>>
>> Try this it might help
>> https://launchpad.net/ubuntu/wily/+package/libxt-dev
>> N9JCA Chris
>> 73
>>
>> " I am always doing that which I CANNOT do;
>> in order that I may LEARN how to do it "
>
> Sorry for the 'bum steer' folks. Wrong lib. Cut-n-pasted:
>
> E: Package 'libxp-dev' has no installation candidate
>
> Still hopeful...
> Dex, ZL2DEX
> ___
> Xastir mailing list
> Xastir@lists.xastir.org
> http://xastir.org/mailman/listinfo/xastir



-- 
Curt, WE7U
___
Xastir mailing list
Xastir@lists.xastir.org
http://xastir.org/mailman/listinfo/xastir


[Xastir] libxp and Xastir

2015-10-29 Thread Tom Russo
I have been following the recent question about Ubuntu 15.10 and the missing
"libxp-dev" on that system.

Apparently, the X Printing Extension provided by libXp has been deprecated,
and Ubuntu/Debian have chosen to stop providing it in their package management
system.

The good news is that Xastir does not in fact use any functions in this library
itself.  The bad news is that SOMETIMES a motif library might require it, or
at least this used to be true.  

Looking through Xastir's configure.ac file, I see a note that I added back in
2007 that nothing in Xastir actually USES libXp.  Back then I had tried to
remove configure's probe for Xp functions, and found out that some Linux 
system somewhere had a Motif library that required it as a dependency, but
didn't properly pull it in as a shared library.  The result was that I had
to reinstate the check three days later.
 

>From the commit log for configure.ac:
---
revision 1.178
date: 2007/01/27 18:41:12;  author: tvrusso;  state: Exp;  lines: +6 -4
re-enable check for the X Printing Extension library.  Apparently this
is needed by libXm and some systems do not properly bring in the
indirect dependence through the dynamic loader.

It would probably be better to detect that condition than just blindly
checking for Xp (which we don't use).

Regardless, it should never be necessary to install development headers
for libXp just to build xastir, which was what one user was confused
about and which led me to remove the check in the first place.

revision 1.177
date: 2007/01/24 21:19:40;  author: tvrusso;  state: Exp;  lines: +6 -2
Remove probe for the X Printing Extension library.

Xastir doesn't use it, and there's no point probing for it.

Someone was confused into thinking they needed to install it on Ubuntu 6.10
because configure said it couldn't find the library.  They don't, coz we don't 
use it.
-


It may very well be the case that in the last 8 years this sorry state of
affairs has been corrected, and that probe can be removed --- rendering it
unnecessary to have libxp installed at all, or at least not unless another
package pulls it in as a dependency itself.

Please try the following:
 - edit configure.ac in the Xastir source tree, and find the following line:
   AC_CHECK_LIB([Xp], [XpGetDocumentData]) 
 - Comment out this line by adding "#" at the beginning
 - Run the "bootstrap.sh" script in the source directory
 - Try reconfiguring and building Xastir now

If Xastir builds and runs, then at least on Ubuntu 15.10 we can stop 
probing for the Xp library. 

Whether some other system continues to require us to add Xp to our library
list ourselves is an open question.  I bet it is no longer necessary.  

-- 
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] libxp and Xastir

2015-10-29 Thread David

Hi Tom,
I use Linux Mint 17.2 and libxp-dev shows in Synaptic but my system 
shows it is not used or installed on the system.If it was needed i can 
add it in.


73 David VK4BDJ






On 30/10/15 07:24, Tom Russo wrote:

I have been following the recent question about Ubuntu 15.10 and the missing
"libxp-dev" on that system.

Apparently, the X Printing Extension provided by libXp has been deprecated,
and Ubuntu/Debian have chosen to stop providing it in their package management
system.

The good news is that Xastir does not in fact use any functions in this library
itself.  The bad news is that SOMETIMES a motif library might require it, or
at least this used to be true.

Looking through Xastir's configure.ac file, I see a note that I added back in
2007 that nothing in Xastir actually USES libXp.  Back then I had tried to
remove configure's probe for Xp functions, and found out that some Linux
system somewhere had a Motif library that required it as a dependency, but
didn't properly pull it in as a shared library.  The result was that I had
to reinstate the check three days later.
  


>From the commit log for configure.ac:
---
revision 1.178
date: 2007/01/27 18:41:12;  author: tvrusso;  state: Exp;  lines: +6 -4
re-enable check for the X Printing Extension library.  Apparently this
is needed by libXm and some systems do not properly bring in the
indirect dependence through the dynamic loader.

It would probably be better to detect that condition than just blindly
checking for Xp (which we don't use).

Regardless, it should never be necessary to install development headers
for libXp just to build xastir, which was what one user was confused
about and which led me to remove the check in the first place.

revision 1.177
date: 2007/01/24 21:19:40;  author: tvrusso;  state: Exp;  lines: +6 -2
Remove probe for the X Printing Extension library.

Xastir doesn't use it, and there's no point probing for it.

Someone was confused into thinking they needed to install it on Ubuntu 6.10
because configure said it couldn't find the library.  They don't, coz we don't 
use it.
-


It may very well be the case that in the last 8 years this sorry state of
affairs has been corrected, and that probe can be removed --- rendering it
unnecessary to have libxp installed at all, or at least not unless another
package pulls it in as a dependency itself.

Please try the following:
  - edit configure.ac in the Xastir source tree, and find the following line:
AC_CHECK_LIB([Xp], [XpGetDocumentData])
  - Comment out this line by adding "#" at the beginning
  - Run the "bootstrap.sh" script in the source directory
  - Try reconfiguring and building Xastir now

If Xastir builds and runs, then at least on Ubuntu 15.10 we can stop
probing for the Xp library.

Whether some other system continues to require us to add Xp to our library
list ourselves is an open question.  I bet it is no longer necessary.



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


Re: [Xastir] Xastir Digest, Vol 152, Issue 1

2015-10-29 Thread Dexter N Muir



On 30/10/15 05:00, xastir-requ...@lists.xastir.org wrote:

From: N9JCA Chris Matthews
To: Xastir - APRS client software discussion
Subject: Re: [Xastir] CVS install on (K)ubuntu 15.10
Message-ID:<56319ac4.9010...@gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Try this it might help
https://launchpad.net/ubuntu/wily/+package/libxt-dev
N9JCA Chris
73

" I am always doing that which I CANNOT do;
in order that I may LEARN how to do it "

Sorry for the 'bum steer' folks. Wrong lib. Cut-n-pasted:

E: Package 'libxp-dev' has no installation candidate

Still hopeful...
Dex, ZL2DEX
___
Xastir mailing list
Xastir@lists.xastir.org
http://xastir.org/mailman/listinfo/xastir


Re: [Xastir] libxp and Xastir

2015-10-29 Thread Curt Mills
On Thu, Oct 29, 2015 at 2:24 PM, Tom Russo  wrote:
> Please try the following:
>  - edit configure.ac in the Xastir source tree, and find the following line:
>AC_CHECK_LIB([Xp], [XpGetDocumentData])
>  - Comment out this line by adding "#" at the beginning
>  - Run the "bootstrap.sh" script in the source directory
>  - Try reconfiguring and building Xastir now

Works on OpenSuSE-12.3, and that's by no means the latest version!

Just another data-point.

-- 
Curt, WE7U
___
Xastir mailing list
Xastir@lists.xastir.org
http://xastir.org/mailman/listinfo/xastir


Re: [Xastir] libxp and Xastir

2015-10-29 Thread km5vy Tom Russo
On Thu, Oct 29, 2015 at 02:41:04PM -0700, we recorded a bogon-computron 
collision of the  flavor, containing:
> On Thu, Oct 29, 2015 at 2:24 PM, Tom Russo  wrote:
> > Please try the following:
> >  - edit configure.ac in the Xastir source tree, and find the following line:
> >AC_CHECK_LIB([Xp], [XpGetDocumentData])
> >  - Comment out this line by adding "#" at the beginning
> >  - Run the "bootstrap.sh" script in the source directory
> >  - Try reconfiguring and building Xastir now
> 
> Works on OpenSuSE-12.3, and that's by no means the latest version!
> 
> Just another data-point.

Works on my BSD system, too.

It would be good to have a few other common systems report in.

If libXp were actually required by libXm, the problem reported back in 2007
would manifest itself as a link failure if one follows the steps above.  If
it links on all common systems, then we can remove the test and update the
Wiki system-specific build instructions to remove references to libxp packages.

-- 
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] libxp and Xastir

2015-10-29 Thread km5vy Tom Russo
On Thu, Oct 29, 2015 at 03:53:46PM -0600, we recorded a bogon-computron 
collision of the  flavor, containing:
> On Thu, Oct 29, 2015 at 02:41:04PM -0700, we recorded a bogon-computron 
> collision of the  flavor, containing:
> > On Thu, Oct 29, 2015 at 2:24 PM, Tom Russo  wrote:
> > > Please try the following:
> > >  - edit configure.ac in the Xastir source tree, and find the following 
> > > line:
> > >AC_CHECK_LIB([Xp], [XpGetDocumentData])
> > >  - Comment out this line by adding "#" at the beginning
> > >  - Run the "bootstrap.sh" script in the source directory
> > >  - Try reconfiguring and building Xastir now
> > 
> > Works on OpenSuSE-12.3, and that's by no means the latest version!
> > 
> > Just another data-point.
> 
> Works on my BSD system, too.

FWIW, on BSD, the Motif library still requires libXp, but it is handled
automagically by the shared library system, and explicit linking of libXp
by Xastir is not required.  In this case, installing libXm forces an install 
of libXp, and the libXm library is properly linked to bring in its shared
library dependencies, so it's all good.  

The problem was apparently on one system back in 2007 (which, according to my 
email archives, was a SUSE system), which didn't do this properly.  

I can proceed two ways --
  - wait for lots of folks to check the procedure above and see if it breaks 
their build and report in that it does.  If nobody reports that it breaks, 
check it in.
  - check it in, and wait for the complaints when it breaks someone's build.

Votes?

-- 
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] libxp and Xastir

2015-10-29 Thread ZPO
Live dangerously...

Check it in and see if there are complaints when compiling on current
systems
On Oct 29, 2015 3:06 PM, "km5vy Tom Russo"  wrote:

> On Thu, Oct 29, 2015 at 03:53:46PM -0600, we recorded a bogon-computron
> collision of the  flavor, containing:
> > On Thu, Oct 29, 2015 at 02:41:04PM -0700, we recorded a bogon-computron
> collision of the  flavor, containing:
> > > On Thu, Oct 29, 2015 at 2:24 PM, Tom Russo  wrote:
> > > > Please try the following:
> > > >  - edit configure.ac in the Xastir source tree, and find the
> following line:
> > > >AC_CHECK_LIB([Xp], [XpGetDocumentData])
> > > >  - Comment out this line by adding "#" at the beginning
> > > >  - Run the "bootstrap.sh" script in the source directory
> > > >  - Try reconfiguring and building Xastir now
> > >
> > > Works on OpenSuSE-12.3, and that's by no means the latest version!
> > >
> > > Just another data-point.
> >
> > Works on my BSD system, too.
>
> FWIW, on BSD, the Motif library still requires libXp, but it is handled
> automagically by the shared library system, and explicit linking of libXp
> by Xastir is not required.  In this case, installing libXm forces an
> install
> of libXp, and the libXm library is properly linked to bring in its shared
> library dependencies, so it's all good.
>
> The problem was apparently on one system back in 2007 (which, according to
> my
> email archives, was a SUSE system), which didn't do this properly.
>
> I can proceed two ways --
>   - wait for lots of folks to check the procedure above and see if it
> breaks
> their build and report in that it does.  If nobody reports that it
> breaks,
> check it in.
>   - check it in, and wait for the complaints when it breaks someone's
> build.
>
> Votes?
>
> --
> Tom RussoKM5VY   SAR502   DM64ux  http://www.swcp.com/~russo/
> Tijeras, NM  QRPL#1592 K2#398  SOC#236
> http://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
>
___
Xastir mailing list
Xastir@lists.xastir.org
http://xastir.org/mailman/listinfo/xastir


Re: [Xastir] libxp and Xastir

2015-10-29 Thread Dexter N Muir
Addendum: 'quickie script' is ubuntu-xastir-cvsbuild.sh from 
175moonlight.com IIRC.
Update is copy top block if...fi, edit name and number (in this block 
only, don't replace-all). Last instance of name seems to be 
non-critical, at least in Kubuntu, but may be needed elsewhere.

Also, libdb no longer needs its number.
___
Xastir mailing list
Xastir@lists.xastir.org
http://xastir.org/mailman/listinfo/xastir


Re: [Xastir] libxp and Xastir

2015-10-29 Thread Dexter N Muir
Addendum: 'quickie script' is ubuntu-xastir-cvsbuild.sh from 
175moonlight.com IIRC.

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


Re: [Xastir] libxp and Xastir

2015-10-29 Thread Lee Bengston
I wrote that script, but the last update was May 2014 for Ubuntu 14.04.  I
would expect it to fail on 15.10.  Currently I don't have anything on a
newer version of Ubuntu than 14.04, so nothing with which to test a revised
version of the script.

BR,
Lee - K5DAT


On Thu, Oct 29, 2015 at 7:20 PM, Dexter N Muir  wrote:

> Addendum: 'quickie script' is ubuntu-xastir-cvsbuild.sh from
> 175moonlight.com IIRC.
> Update is copy top block if...fi, edit name and number (in this block
> only, don't replace-all). Last instance of name seems to be non-critical,
> at least in Kubuntu, but may be needed elsewhere.
> Also, libdb no longer needs its number.
>
> ___
> 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