[Emc-users] camview-emc first build fail

2016-01-20 Thread Gene Heskett
Greetings; fresh thread.

I downloaded a tarball from psha.orh.ru, containing 0.2.0.7 sources

Unpacking it into a ~/src/camview-emc directory, 

"./configure --with-v4l2-plugin --with-v4l-plugin" 

appeared to work, but despite having v4l2.dev stuff installed,
make exits a minute or so later with this:

libtool: compile:  
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -I/usr/include/glib-2.0 
-I/usr/lib/i386-linux-gnu/glib-2.0/include -std=gnu99 -Wall 
-Wmissing-declarations -Wmissing-prototypes -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -g -O2 -MT 
input_v4l2.lo -MD -MP -MF .deps/input_v4l2.Tpo -c input_v4l2.c  -fPIC -DPIC -o 
.libs/input_v4l2.o
input_v4l2.c: In function ‘add_control’:
input_v4l2.c:385:14: error: ‘V4L2_CID_HCENTER’ undeclared (first use in this 
function)
input_v4l2.c:385:14: note: each undeclared identifier is reported only once for 
each function it appears in
input_v4l2.c:386:14: error: ‘V4L2_CID_VCENTER’ undeclared (first use in this 
function)
make[3]: *** [input_v4l2.lo] Error 1

I would assume this might identify the crosshairs, but I've no clue what
header file is still missing.  Does this ring any bells, Jon?  Or anyone 
else that has opened this can of worms on a wheezy based system?

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc first build fail

2016-01-20 Thread Gene Heskett
On Wednesday 20 January 2016 09:44:27 Gene Heskett wrote:

Update: ssh'd into the GO704 machine, I put a copy of the tarballs 
contents in ~/linuxcnc/src directory. Configure failed, no libv4l2 
stuffs.  Had synaptic install the -dev version.

No clue if it will work, but 
./configure --with-v4l2-plugin; make
Worked, and so did a make install, which went to the default /usr/local.

Time to go add those two lines to the .ini file & see how many complaints 
that generates for a "linuxcnc -l" launch.

Having a heat wave, we started at about 3F, up to 10F now.  Stay warm 
folks.

> Greetings; fresh thread.
>
> I downloaded a tarball from psha.orh.ru, containing 0.2.0.7 sources
>
> Unpacking it into a ~/src/camview-emc directory,
>
> "./configure --with-v4l2-plugin --with-v4l-plugin"
>
> appeared to work, but despite having v4l2.dev stuff installed,
> make exits a minute or so later with this:
>
> libtool: compile:
> gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread
> -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include
> -std=gnu99 -Wall -Wmissing-declarations -Wmissing-prototypes
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -O2 -MT input_v4l2.lo
> -MD -MP -MF .deps/input_v4l2.Tpo -c input_v4l2.c  -fPIC -DPIC -o
> .libs/input_v4l2.o input_v4l2.c: In function ‘add_control’:
> input_v4l2.c:385:14: error: ‘V4L2_CID_HCENTER’ undeclared (first use
> in this function) input_v4l2.c:385:14: note: each undeclared
> identifier is reported only once for each function it appears in
> input_v4l2.c:386:14: error: ‘V4L2_CID_VCENTER’ undeclared (first use
> in this function) make[3]: *** [input_v4l2.lo] Error 1
>
> I would assume this might identify the crosshairs, but I've no clue
> what header file is still missing.  Does this ring any bells, Jon?  Or
> anyone else that has opened this can of worms on a wheezy based
> system?
>
> Cheers, Gene Heskett


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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc first build fail

2016-01-20 Thread Gene Heskett
On Wednesday 20 January 2016 10:34:40 Gene Heskett wrote:

Second update:

Now linuxcnc runs again, but shows a white screen and none of the halui 
buttons, just the blank window.

And on the screen that I launch it from a snapshot.png is attached.  
Taken with this same camera :)

The invalid option -C, if removed but the following filename remains, 
gets me the same exact error from the next -g togle.ui option.  And if I 
remove that, the -H campins.hal, the -H is an error. Puzzling...

Did I miss adding a build option?


> On Wednesday 20 January 2016 09:44:27 Gene Heskett wrote:
>
> Update: ssh'd into the GO704 machine, I put a copy of the tarballs
> contents in ~/linuxcnc/src directory. Configure failed, no libv4l2
> stuffs.  Had synaptic install the -dev version.
>
> No clue if it will work, but
> ./configure --with-v4l2-plugin; make
> Worked, and so did a make install, which went to the default
> /usr/local.
>
> Time to go add those two lines to the .ini file & see how many
> complaints that generates for a "linuxcnc -l" launch.
>
> Having a heat wave, we started at about 3F, up to 10F now.  Stay warm
> folks.
>
> > Greetings; fresh thread.
> >
> > I downloaded a tarball from psha.orh.ru, containing 0.2.0.7 sources
> >
> > Unpacking it into a ~/src/camview-emc directory,
> >
> > "./configure --with-v4l2-plugin --with-v4l-plugin"
> >
> > appeared to work, but despite having v4l2.dev stuff installed,
> > make exits a minute or so later with this:
> >
> > libtool: compile:
> > gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread
> > -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include
> > -std=gnu99 -Wall -Wmissing-declarations -Wmissing-prototypes
> > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -O2 -MT input_v4l2.lo
> > -MD -MP -MF .deps/input_v4l2.Tpo -c input_v4l2.c  -fPIC -DPIC -o
> > .libs/input_v4l2.o input_v4l2.c: In function ‘add_control’:
> > input_v4l2.c:385:14: error: ‘V4L2_CID_HCENTER’ undeclared (first use
> > in this function) input_v4l2.c:385:14: note: each undeclared
> > identifier is reported only once for each function it appears in
> > input_v4l2.c:386:14: error: ‘V4L2_CID_VCENTER’ undeclared (first use
> > in this function) make[3]: *** [input_v4l2.lo] Error 1
> >
> > I would assume this might identify the crosshairs, but I've no clue
> > what header file is still missing.  Does this ring any bells, Jon? 
> > Or anyone else that has opened this can of worms on a wheezy based
> > system?
> >
> > Cheers, Gene Heskett
>
> Cheers, Gene Heskett


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)
Genes Web page 
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc first build fail

2016-01-20 Thread Gene Heskett
On Wednesday 20 January 2016 12:22:24 Gene Heskett wrote:

Third update:

Nothing I can do will make it build the docs, in either .html or .pdf 
format, and no errors are being reported even if I run the Makefile in 
any of the three docs subdirs.  The Makefiles are being updated when I 
rerun ./configure, but make can't find anything to do in any of the 
subdirs of doc.

This I think, should be the first problem I solve as that may enable 
solving the rest of it.

But there aren't any errors being reported by make.
There is a "make clean" immediately above this paste:

gene@GO704:~/linuxcnc/camview-emc.src/docs$ make 
Making all in reference
make[1]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference'
Making all in libcamunits
make[2]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits'
Making all in libcamunits-gtk
make[2]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits-gtk'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits-gtk'
make[2]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference'
make[1]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference'
Making all in tutorial
make[1]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/tutorial'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/tutorial'
Making all in plugins
make[1]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/plugins'
Making all in build
make[2]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/plugins/build'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/plugins/build'
make[2]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/plugins'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/plugins'
make[1]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/plugins'
make[1]: Entering directory `/home/gene/linuxcnc/camview-emc.src/docs'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/gene/linuxcnc/camview-emc.src/docs'

Puzzled is an understatement.  And I don't know enough about Makefile's 
to decode them. 

> On Wednesday 20 January 2016 10:34:40 Gene Heskett wrote:
>
> Second update:
>
> Now linuxcnc runs again, but shows a white screen and none of the
> halui buttons, just the blank window.
>
> And on the screen that I launch it from a snapshot.png is attached.
> Taken with this same camera :)
>
> The invalid option -C, if removed but the following filename remains,
> gets me the same exact error from the next -g togle.ui option.  And if
> I remove that, the -H campins.hal, the -H is an error. Puzzling...
>
> Did I miss adding a build option?
>
> > On Wednesday 20 January 2016 09:44:27 Gene Heskett wrote:
> >
> > Update: ssh'd into the GO704 machine, I put a copy of the tarballs
> > contents in ~/linuxcnc/src directory. Configure failed, no libv4l2
> > stuffs.  Had synaptic install the -dev version.
> >
> > No clue if it will work, but
> > ./configure --with-v4l2-plugin; make
> > Worked, and so did a make install, which went to the default
> > /usr/local.
> >
> > Time to go add those two lines to the .ini file & see how many
> > complaints that generates for a "linuxcnc -l" launch.
> >
> > Having a heat wave, we started at about 3F, up to 10F now.  Stay
> > warm folks.
> >
> > > Greetings; fresh thread.
> > >
> > > I downloaded a tarball from psha.orh.ru, containing 0.2.0.7
> > > sources
> > >
> > > Unpacking it into a ~/src/camview-emc directory,
> > >
> > > "./configure --with-v4l2-plugin --with-v4l-plugin"
> > >
> > > appeared to work, but despite having v4l2.dev stuff installed,
> > > make exits a minute or so later with this:
> > >
> > > libtool: compile:
> > > gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread
> > > -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include
> > > -std=gnu99 -Wall -Wmissing-declarations -Wmissing-prototypes
> > > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -O2 -MT
> > > input_v4l2.lo -MD -MP -MF .deps/input_v4l2.Tpo -c input_v4l2.c 
> > > -fPIC -DPIC -o .libs/input_v4l2.o input_v4l2.c: In function
> > > ‘add_control’: input_v4l2.c:385:14: error: ‘V4L2_CID_HCENTER’
> > > undeclared (first use in this function) input_v4l2.c:385:14: note:
> > > each undeclared identifier is reported only once for each function
> > > it appears in input_v4l2.c:386:14: error: ‘V4L2_CID_VCENTER’
> > > undeclared (first use in this function) make[3]: ***
> > > [input_v4l2.lo] Error 1
> > >
>

Re: [Emc-users] camview-emc first build fail

2016-01-20 Thread Gene Heskett
On Wednesday 20 January 2016 13:03:01 Gene Heskett wrote:

> On Wednesday 20 January 2016 12:22:24 Gene Heskett wrote:
>
> Third update:
>
> Nothing I can do will make it build the docs, in either .html or .pdf
> format, and no errors are being reported even if I run the Makefile in
> any of the three docs subdirs.  The Makefiles are being updated when I
> rerun ./configure, but make can't find anything to do in any of the
> subdirs of doc.
>
> This I think, should be the first problem I solve as that may enable
> solving the rest of it.
>
> But there aren't any errors being reported by make.
> There is a "make clean" immediately above this paste:
>
> gene@GO704:~/linuxcnc/camview-emc.src/docs$ make
> Making all in reference
> make[1]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference'
> Making all in libcamunits
> make[2]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits'
> Making all in libcamunits-gtk
> make[2]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits-gtk'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits-gtk'
> make[2]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference'
> make[1]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference'
> Making all in tutorial
> make[1]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/tutorial'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/tutorial'
> Making all in plugins
> make[1]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/plugins'
> Making all in build
> make[2]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/plugins/build'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/plugins/build'
> make[2]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/plugins'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/plugins'
> make[1]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/plugins'
> make[1]: Entering directory `/home/gene/linuxcnc/camview-emc.src/docs'
> make[1]: Nothing to be done for `all-am'.
> make[1]: Leaving directory `/home/gene/linuxcnc/camview-emc.src/docs'
>
> Puzzled is an understatement.  And I don't know enough about
> Makefile's to decode them.

If anyone wants to look at this do nothing Makefile, its attached.

Thanks.

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)
Genes Web page 
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# docs/Makefile.  Generated from Makefile.in by configure.

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.



pkgdatadir = $(datadir)/camunits
pkgincludedir = $(includedir)/camunits
pkglibdir = $(libdir)/camunits
pkglibexecdir = $(libexecdir)/camunits
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = i686-pc-linux-gnu
host_triplet = i686-pc-linux-gnu
target_triplet = i686-pc-linux-gnu
subdir = docs
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
	$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.m4 \
	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
	$(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
	$(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4