Am 12.11.2013 um 20:10 schrieb kqt4a...@gmail.com: > On Tue, 12 Nov 2013, Gene Heskett wrote: > >> On Tuesday 12 November 2013 12:24:10 kqt4a...@gmail.com did opine: >> >>> On Fri, 8 Nov 2013, David Armstrong wrote: >>>> On 08/11/13 19:13, Gene Heskett wrote: >>>>> On Friday 08 November 2013 14:11:19 David Armstrong did opine: >>>>>>> And it did NOT install convert_crop.so when I did the make install. >>>>>>> And since its been a decade since I actually carved new C code, I'm >>>>>>> not sure I am up to cleaning up this mess. convert_crop.c did not >>>>>>> throw any errors, but I can sure see why it can go out to lala-land >>>>>>> & freeze. So I think I'll print this and take it from the top >>>>>>> with grep. >>>>>>> >>>>>>> Cheers, Gene >>>>>> >>>>>> Gene, >>>>>> make sure your git branch is master and not Upstream or something >>>>>> similar builds fine here with no warnings or errors >>>>> >>>>> git branch? Don't recall seeing it. I got a tarball of 0.0.37. Where >>>>> is the git? >>>>> >>>>> Thanks David. >>>>> >>>>> Cheers, Gene >>>> >>>> i presume your looking for camunits git , here it is . >>>> >>>> git://psha.org.ru/psha/camunits.git >>> >> I am running out of patience with git, and with firefox, both of which >> worked a few months ago, and neither has been updated/modified (that I know >> of) since. >> >> But this command line, applied to either the firefox address box or a bash >> shell, fails instantly. Firefox suddenly has no knowledge of git as a >> protocol, and when applied via a terminal session, does not even exit the >> ethernet port for a dns lookup. I get this return: >> >> gene@shop:~/linuxcnc$ git://psha.org.ru/psha/camunits.git >> -bash: git://psha.org.ru/psha/camunits.git: No such file or directory >> >> I have looked thru all the plugins for firefox looking for a git helper >> without any success. >> >> git-core at least is installed on every machine. >> >> Ideas to try gleefully accepted at this point. >> >> Finally made it do something here: >> >> gene@coyote:~/linuxcnc$ git clone git://psha.org.ru/psha/camunits.git >> Initialized empty Git repository in /home/gene/linuxcnc/camunits/.git/ >> remote: Counting objects: 2697, done. >> remote: Compressing objects: 100% (922/922), done. >> remote: Total 2697 (delta 1849), reused 2479 (delta 1709) >> Receiving objects: 100% (2697/2697), 1.37 MiB | 553 KiB/s, done. >> Resolving deltas: 100% (1849/1849), done. >> >> But that wasn't more than 5 seconds elapsed time, go see what I have. >> Looks half complete, copy to target machine over nfs share. No configure >> script, ran automake, it barfs of course, ran autoconf which also barfs. >> >> I have now reinstalled m4 and autoconf, autoconf runs but exits with some >> unknown macros errors: >> configure.ac:3: error: possibly undefined macro: AM_CONFIG_HEADER >> If this token and others are legitimate, please use m4_pattern_allow. >> See the Autoconf documentation. >> configure.ac:5: error: possibly undefined macro: AM_INIT_AUTOMAKE >> configure.ac:18: error: possibly undefined macro: AM_PATH_GLIB_2_0 >> configure.ac:19: error: possibly undefined macro: AM_PATH_GTK_2_0 >> configure.ac:27: error: possibly undefined macro: AM_CONDITIONAL >> configure.ac:37: error: possibly undefined macro: AC_MSG_WARN >> configure.ac:101: error: possibly undefined macro: AM_DISABLE_STATIC >> configure.ac:102: error: possibly undefined macro: AM_PROG_LIBTOOL >> configure.ac:113: error: possibly undefined macro: AM_GNU_GETTEXT >> configure.ac:114: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION >> con./configure: line 1790: syntax error near unexpected token `config.h' >> >> >> But does leave a 'configure' which also bails out: >> >> ./configure: line 1790: syntax error near unexpected token `config.h' >> ./configure: line 1790: `AM_CONFIG_HEADER(config.h)' >> >> I have blown that away and re copied what git downloaded, and have this >> list of files: >> >> gene@shop:~/linuxcnc/camunits$ ls -l >> total 176 >> -rw-r--r-- 1 gene gene 62 2013-11-12 12:47 AUTHORS >> -rwxr-xr-x 1 gene gene 337 2013-11-12 12:47 bootstrap.sh >> drwxr-xr-x 2 gene gene 4096 2013-11-12 12:47 camlog >> drwxr-xr-x 2 gene gene 4096 2013-11-12 12:47 camunits >> drwxr-xr-x 3 gene gene 4096 2013-11-12 12:47 camunits-gtk >> -rw-r--r-- 1 gene gene 1356 2013-11-12 12:47 camunits.spec.in >> drwxr-xr-x 2 gene gene 4096 2013-11-12 12:47 camview >> -rw-r--r-- 1 gene gene 57618 2013-11-12 12:47 ChangeLog >> -rw-r--r-- 1 gene gene 6596 2013-11-12 12:47 configure.ac >> -rw-r--r-- 1 gene gene 26436 2013-11-12 12:47 COPYING >> drwxr-xr-x 5 gene gene 4096 2013-11-12 12:47 docs >> drwxr-xr-x 5 gene gene 4096 2013-11-12 12:47 examples >> -rw-r--r-- 1 gene gene 9416 2013-11-12 12:47 INSTALL >> drwxr-xr-x 2 gene gene 4096 2013-11-12 12:47 m4 >> drwxr-xr-x 2 gene gene 4096 2013-11-12 12:47 m4macros >> -rw-r--r-- 1 gene gene 181 2013-11-12 12:47 Makefile.am >> -rw-r--r-- 1 gene gene 6704 2013-11-12 12:47 NEWS >> drwxr-xr-x 7 gene gene 4096 2013-11-12 12:47 plugins >> drwxr-xr-x 2 gene gene 4096 2013-11-12 12:47 po >> -rw-r--r-- 1 gene gene 306 2013-11-12 12:47 README >> >> >> >>> I grabbed a copy of camunits from git. Had to create a few files >> >> So, I'll do this to the recopied tree next >>> >>> touch config.rpath >>> touch po/Makefile.in.in >>> touch ABOUT-NLS >>> cp /usr/share/gtk-doc/data/gtk-doc.make . >> >> But this fails, apparently no gkt-doc/data, just html, spend 2 hours >> installing the whole gnome kit to get the data tree there, so thats fixed. >> >>> >>> Then ran >>> libtoolize --force >> seems to have worked >> >>> aclocal >> returned nothing, took 15 seconds to do it. >> >>> autoheader >> returned nothing, took 3 seconds >> >>> automake --force-missing --add-missing >> looks like it worked >> >>> autoconf >>> >>> After that ./configure and it completd ok >> >> Not here, bailed out on no openGL, back to synaptic... >> >> Installed the following packages: >> ghc6 (6.12.1-12) >> ghc6-doc (6.12.1-12) >> libbsd-dev (0.2.0-1) >> libffi-dev (3.0.9-1) >> libghc6-opengl-dev (2.2.3.0-2) >> libghc6-opengl-doc (2.2.3.0-2) >> libgmp3-dev (2:4.3.2+dfsg-1ubuntu1) >> libgmpxx4ldbl (2:4.3.2+dfsg-1ubuntu1) >> libqt4-opengl-dev (4:4.6.2-0ubuntu5.6) >> libqtscript4-core (0.1.0-3build1) >> libqtscript4-opengl (0.1.0-3build1) >> >> But: >> configure: error: OpenGL not found, but is required by camunits. >> Fortunately, I have a 250Gb drive, so what am I still missing? >>> Configuration (camunits): >>> >>> Source code location: . >>> Compiler: gcc >>> x86 optimizations: Enabled >>> DC1394 plugin: Enabled >>> >>> Make ran without errors until >>> make[2]: Leaving directory `/backup_2/tmp/camunits/examples' >>> Making all in po >>> make[2]: Entering directory `/backup_2/tmp/camunits/po' >>> make[2]: *** No rule to make target `all'. Stop. >>> make[2]: Leaving directory `/backup_2/tmp/camunits/po' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory `/backup_2/tmp/camunits' >>> make: *** [all] Error 2 >>> >>> What else do I need? >>> >>> Richard >>> >>> > > > I guess you and I are the only ones who do not know how to get this to > compile. Try this > > git clone --branch master git://psha.org.ru/psha/camunits.git > > I can not get past a compile error > > make[3]: Entering directory `/backup_2/tmp/camunits/plugins/v4l2' > /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I../.. -I../.. -pthread -I/usr/include/glib-2.0 > -I/usr/lib/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 -o input_v4l2.lo > input_v4l2.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread > -I/usr/include/glib-2.0 -I/usr/lib/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:16:21: error: libv4l2.h: No such file or directory
this error says gcc couldnt find libv4l2.h, suggesting a prerequisite package is not installed now, for the eternal question 'where do I get this darn file from', installing the apt-file command helps: $ sudo apt-get install apt-file $ apt-file update $ apt-file search libv4l2.h libv4l-dev: /usr/include/libv4l2.h so, libv4l2.h comes with the libv4l-dev package - meaning 'sudo apt-get install libv4l-dev' will get you around this error -Michael > input_v4l2.c: In function 'open_v4l2_device': > input_v4l2.c:147: warning: implicit declaration of function 'v4l2_ioctl' > input_v4l2.c: In function 'v4l2_finalize': > input_v4l2.c:270: warning: implicit declaration of function 'v4l2_close' > input_v4l2.c: In function 'open_camera_device': > input_v4l2.c:289: warning: implicit declaration of function 'v4l2_open' > input_v4l2.c: In function '_unmap_buffers': > input_v4l2.c:563: warning: implicit declaration of function 'v4l2_munmap' > input_v4l2.c: In function 'v4l2_stream_init': > input_v4l2.c:616: warning: implicit declaration of function 'v4l2_mmap' > input_v4l2.c:618: warning: assignment makes pointer from integer without a > cast > make[3]: *** [input_v4l2.lo] Error 1 > make[3]: Leaving directory `/backup_2/tmp/camunits/plugins/v4l2' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/backup_2/tmp/camunits/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/backup_2/tmp/camunits' > make: *** [all] Error 2 > > Richard > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users