07-21-2016, 07:42 AM
(07-20-2016, 05:44 PM)dkryder Wrote:(07-20-2016, 04:40 PM)@lex Wrote:no, i have been using the 2.0.4 page you have been pointing to and now you want me to go to 2.0.2.1 ? that is confusing. why point to a 2.0.4 page up to this point and then point to 2.0.2-1 page?(07-20-2016, 03:47 PM)dkryder Wrote:a simple touch install-sh got me past cannot find error. i would suggest you might go ahead and include that file in your package. anyway as you can see my horror has proceeded to some syntax errors which i'll leave for someone else to fix. this package is reallyappreciated by me since without there would be absolutely no way in hell to use the camera but i have spent about 1 hour past time allocated to the install. if you figure out the syntax issue let me know thanks.Code:root@pine64:/home/debian/Documents/guvcview_2.0.4-master# touch install-sh root@pine64:/home/debian/Documents/guvcview_2.0.4-master# ./configure checking whether make supports nested variables... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /bin/bash: /home/debian/Documents/guvcview_2.0.4-master/missing: No such file or directory configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for clang... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for clang++... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether g++ understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes configure: error: cannot run /bin/bash ./config.sub root@pine64:/home/debian/Documents/guvcview_2.0.4-master# ./configure --prefix=/usr --enable-yuyv --disable-sdl2 configure: WARNING: unrecognized options: --enable-yuyv checking whether make supports nested variables... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /bin/bash: /home/debian/Documents/guvcview_2.0.4-master/missing: No such file or directory configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for clang... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for clang++... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether g++ understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes configure: error: cannot run /bin/bash ./config.sub root@pine64:/home/debian/Documents/guvcview_2.0.4-master# autoreconf --install configure.ac:91: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library configure.ac:91: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library configure.ac:48: installing './compile' configure.ac:53: installing './config.guess' configure.ac:53: installing './config.sub' configure.ac:29: installing './missing' guvcview/Makefile.am: installing './depcomp' gview_v4l2core/Makefile.am:40: warning: whitespace following trailing backslash root@pine64:/home/debian/Documents/guvcview_2.0.4-master# ./configure --prefix=/usr --enable-yuyv --disable-sdl2 configure: WARNING: unrecognized options: --enable-yuyv checking whether make supports nested variables... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for clang... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for clang++... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether g++ understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether build environment is sane... yes checking for moc... moc checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking whether NLS is requested... yes checking for intltool >= 0.40... 0.50.2 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.20.2 checking for XML::Parser... ok ./configure: line 16576: syntax error near unexpected token `external' ./configure: line 16576: `AM_GLIB_GNU_GETTEXT(external)' root@pine64:/home/debian/Documents/guvcview_2.0.4-master#
This instructions are for the Guvcview 2.0.2, please use git clone https://github.com/avafinger/guvcview.git instead.
Sorry if i caused confusion. Will try to clear the mess:
Install all dependencies first!
INSTRUCTIONS for guvcview 2.0.2.1 (done on Ubuntu Xenial, adjust to your Debian)
git clone https://github.com/avafinger/guvcview.git
cd guvcview
./bootstrap.sh
./configure --prefix=/usr --enable-yuyv --disable-sdl2
make
sudo make install
INSTRUCTIONS for guvcview 2.0.4 (done on Ubuntu Xenial, adjust to your Debian)
git clone https://github.com/avafinger/guvcview_2.0.4.git
cd guvcview_2.0.4/
./bootstrap.sh
./configure --prefix=/usr --disable-sdl2
make
sudo make install
Edit /etc/modules and the lines:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
s5k4ec
vfe_v4l2
Reboot! (with the sensor attached)
The state of the S5K4EC driver is as is, very basic and needs documentation to get in better shape. I am busy with another driver and already fixed many things and i can say it works really nice, if i can't get the info needed for the S5K4EC i will focus only on that driver, good news soon and good luck.

