Re: [Emc-developers] ./configure failure, can't find glib on debian-arm buster 10.1

2019-09-21 Thread Gene Heskett
On Saturday 21 September 2019 16:29:59 Roberto C. Sánchez wrote:

> On Sat, Sep 21, 2019 at 04:11:10PM -0400, Gene Heskett wrote:
> > On Saturday 21 September 2019 14:41:58 Roberto C. Sánchez wrote:
> > > On Sat, Sep 21, 2019 at 02:36:04PM -0400, Gene Heskett wrote:
> > > > On Saturday 21 September 2019 12:41:48 Henning Follmann wrote:
> > > > > On Sat, Sep 21, 2019 at 11:41:03AM -0400, Gene Heskett wrote:
> > > > > > This seems to indicate a pkg-config problem:
> > > > > >
> > > > > > checking for glib... configure: error: no -- required until
> > > > > > somebody makes glib optional
> > > > > >
> > > > > > glib-2 is of course installed but pkg-config apparentlly
> > > > > > knows nothing about it.
> > > > > >
> > > > > > Fix?
> > > > > >
> > > > > > Thanks all.
> > > > >
> > > > > apt install libglib2.0-dev
> > > >
> > > > ok, got that, then next is gtk. Which sudo apt can't find.
> > >
> > > For gtk, you probably need libgtk-3-dev.
> >
> > Wow, pulled in 44 other packages, but didn't help, exit message is:
> >
> > checking for GTK 2.4.0 or above... no
> > configure: error: GTK2 missing.  Install it or specify --disable-gtk
> > to skip the parts of LinuxCNC that depend on GTK
>
> Then try libgtk2.0-dev instead.
>
humm, despite aptitude's inability to find it, apt did install it and 17 
other packages.  That got me to yapps2 which pulled in 9 other packages, 
the intltool-extract, which apt can't find to install.

So at this point I skipped fwd to building the .deb, useing 

#>$ dpkg-buildpackage -b -uc

and its checkdeps is giving me a 6 line list of stuff to apt install. 
Just 60% of the first line is 842 MB of additional disk space will be 
used.  But its a 64GB card, shrug. Not quite 1.5GB of stuff pulled in.

First pass bailed out, couldn't load yapps although yapps2 was installed.  
Guessed around with apt and it finally installed python-yapps.  That 
satisfied it it so the deb is under contruction again.  This will take a 
while.  So if anyone is following along, they can.

> Regards,
>
> -Roberto


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] uaccess.h

2019-09-21 Thread Gene Heskett
On Saturday 21 September 2019 08:22:58 andy pugh wrote:

> LinuxCNC has a problem compiling with kernel > 2.14 due to:
> https://lkml.org/lkml/2017/9/30/189
> There was already a pull request for a fix:
> https://github.com/LinuxCNC/linuxcnc/pull/642
> But last night (forgetting that experimental branches also get auto
> built, and wanting to test for compatibility with previous version) I
> pushed:
> https://github.com/LinuxCNC/linuxcnc/commit/0dbbfb3ae106feea27dab4753a
>e40c21b6ea06d3
>
> I should have put this in an experimental branch first, and then it
> should have been put in 2.8 (and maybe 2.7)
>
> Questions:
>
> Should it go in 2.7?

Based on the description above, I'd say yes.

> Does it need to be wrapped in kernel version macros? It compiles fine
> at least as far back as kernel 3.4.9, so perhaps it is not worth
> bothering?

3.4.9 covers wheezy IIRC.  Wheezy is slowly being replaced with stretch 
or buster here as bit rot on spinning rust takes its toll. Some growing 
pains but they go away from a host based network by expunging 
avahi-daemon and dhcpcd. And runs sweet thereafter. Otherwise you'll be 
limited to your local net by routing trying to use a 169.254 address for 
inet access. Look at ip r returns if you can ping your local net but 
can't ping yahoo.com.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] uaccess.h

2019-09-21 Thread andy pugh
LinuxCNC has a problem compiling with kernel > 2.14 due to:
https://lkml.org/lkml/2017/9/30/189
There was already a pull request for a fix:
https://github.com/LinuxCNC/linuxcnc/pull/642
But last night (forgetting that experimental branches also get auto built,
and wanting to test for compatibility with previous version) I pushed:
https://github.com/LinuxCNC/linuxcnc/commit/0dbbfb3ae106feea27dab4753ae40c21b6ea06d3

I should have put this in an experimental branch first, and then it
should have been put in 2.8 (and maybe 2.7)

Questions:

Should it go in 2.7?

Does it need to be wrapped in kernel version macros? It compiles fine at
least as far back as kernel 3.4.9, so perhaps it is not worth bothering?

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is designed
for the especial use of mechanical geniuses, daredevils and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers