Camera is working on Linux
#21
[ 4122.549249] [VFE]v4l2 subdev register input_num = 0
[ 4122.554929] [VFE]vfe sensor detect start! input_num = 0
[ 4122.560711] [VFE]Find sensor name is "s5k4ec", i2c address is 5a, type is "YUV" !
[ 4122.569024] [VFE]Sub device register "s5k4ec" i2c_addr = 0x5a start!
[ 4122.576088] [VFE]v4l2_device_register_subdev return 0
[ 4122.581678] [VFE]registered sensor subdev is OK! <=============== This

forget about camera.cfg, it is for Android.

He obviously used the wrong guvcview. @Pander has the camera module, let's wait some positive messages from him.
  Reply
#22
(07-01-2016, 05:55 AM)@lex Wrote: dmesg tell us Camera was recognized and is OK!

You are almost there, so now tell us a bit more about guvciew, how did you install it?

Print the output:
  * uname -ra
 * lsb_release -a
 * cat /etc/*release
 * cat /proc/version


Edit: Forgot to say DTB is for HDMI

Guvcview is installed with apt-get install guvcview

Here's the output
Code:
root@pine:/home/micko# uname -ra
Linux pine 3.10.102-0-pine64-longsleep #7 SMP PREEMPT Fri Jun 17 21:30:48 CEST 2016 aarch64 GNU/Linux

root@pine:/home/micko# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.5 (jessie)
Release:        8.5
Codename:       jessie

root@pine:/home/micko# cat /etc/*release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

root@pine:/home/micko# cat /proc/version
Linux version 3.10.102-0-pine64-longsleep (longsleep@mose2) (gcc version 5.3.1 20160413 (Ubuntu/Linaro 5.3.1-14ubuntu2) ) #7 SMP PREEMPT Fri Jun 17 21:30:48 CEST 2016
  Reply
#23
(07-01-2016, 01:26 PM)micko Wrote:
(07-01-2016, 05:55 AM)@lex Wrote: dmesg tell us Camera was recognized and is OK!

You are almost there, so now tell us a bit more about guvciew, how did you install it?

Print the output:
  * uname -ra
 * lsb_release -a
 * cat /etc/*release
 * cat /proc/version


Edit: Forgot to say DTB is for HDMI

Guvcview is installed with apt-get install guvcview

Here's the output
Code:
root@pine:/home/micko# uname -ra
Linux pine 3.10.102-0-pine64-longsleep #7 SMP PREEMPT Fri Jun 17 21:30:48 CEST 2016 aarch64 GNU/Linux

root@pine:/home/micko# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.5 (jessie)
Release:        8.5
Codename:       jessie

root@pine:/home/micko# cat /etc/*release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

root@pine:/home/micko# cat /proc/version
Linux version 3.10.102-0-pine64-longsleep (longsleep@mose2) (gcc version 5.3.1 20160413 (Ubuntu/Linaro 5.3.1-14ubuntu2) ) #7 SMP PREEMPT Fri Jun 17 21:30:48 CEST 2016

That is what i thought, please, follow the instructions here:  https://github.com/avafinger/guvcview_2.0.4
and uninstall your current guvcview that is wrong.
  Reply
#24
I got mine working!!   Big Grin 
cat /etc/modules
#blah blah
#
s5k4ec
vfe_v4l2
#
cat /etc/apt/sources.list
  deb http://ftp.us.debian.org/debian jessie main contrib non-free

I looked through my history and here are the commands that got it going:
(of course, I tried to remove the other million commands that did not work, I hope I didn't remove a command that's is needed)
================
apt-get install intltool autotools-dev libsdl1.2-dev libgtk-3-dev portaudio19-dev libpng12-dev libavcodec-dev libavutil-dev libudev-dev libusb-1.0-0-dev libpulse-dev libgsl0-dev libv4l-dev libv4l2rds0 libsdl2-dev
# a bazillon un-met dependencies

 wget https://github.com/avafinger/guvcview/ar...master.zip
 unzip master.zip
 cd guvcview/
# install one at a time to work through the unmet dependencies
 apt-get install intltool
 apt-get install autotools-dev
 apt-get install libgtk2.0-dev
 apt-get install libv4l-dev
 apt-get install libudev-dev
 apt-get install libusb-1.0-0-dev
 apt-get install libavcodec-dev
 apt-get install libpng12-dev
 aptitude install libsdl2-dev
# aptitude gives you suggestions, I answered no to leaving it alone & yes to overwrite with older versions
 apt-get install libgsl0-dev
 apt-get install libportaudio2
 apt-get install portaudio19-dev
 apt-get install libgtk-3-dev
 apt-get install libsdl1.2-dev
 aptitude install libsdl2
 ./bootstrap.sh
 ./configure --prefix=/usr --enable-yuyv --disable-sdl2
 make
 make install
 guvcview --version
 ls -l /dev/vid*
guvcview --guvcview -d /dev/video0 -x 1280x720 -r sdl -f yu12

======

Good Luck
  Reply
#25
(07-01-2016, 02:07 PM)@lex Wrote: That is what i thought, please, follow the instructions here:  https://github.com/avafinger/guvcview_2.0.4
and uninstall your current guvcview that is wrong.

Thanks. I hadn't seen that part of instructions yet.

Got it working somehow. Image is pinkish and lots of horizontal lines.

Is there a reason why any program can't view /dev/video0 with this sensor? I'd like to use it with Motion and record the video. Might this be possible some day?
  Reply
#26
this is what i get from ./bootstrap.sh,
/home/debian/Documents/guvcview_2.0.4-master# ./bootstrap.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
configure.ac:91: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:91: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
autoreconf: running: /usr/bin/autoconf --force
configure.ac:91: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
configure: creating cache config.cache
checking whether make supports nested variables... yes
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

i'm lost as to what needs to be done. the file install-sh, install.sh shtool is not present, not sure what needs to be done.
  Reply
#27
(07-20-2016, 12:17 AM)dkryder Wrote: this is what i get from ./bootstrap.sh,
/home/debian/Documents/guvcview_2.0.4-master# ./bootstrap.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
configure.ac:91: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:91: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
autoreconf: running: /usr/bin/autoconf --force
configure.ac:91: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
     If this token and others are legitimate, please use m4_pattern_allow.
     See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
configure: creating cache config.cache
checking whether make supports nested variables... yes
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

i'm lost as to what needs to be done.  the file install-sh, install.sh shtool  is not present, not sure what needs to be done.

Not sure which distro you are running, try to install all necessary tools and dependencies:

sudo apt-get install libgd2-xpm-dev libjpeg-dev libpng-dev
sudo apt-get install libfreetype6-dev


sudo apt-get install intltool autotools-dev libsdl1.2-dev libgtk-3-dev portaudio19-dev libpng12-dev libavcodec-dev libavutil-dev libudev-dev libusb-1.0-0-dev libpulse-dev libgsl0-dev libv4l-dev libv4l2rds0 libsdl2-dev

and one of this:
sudo apt-get install libtoolize

sudo apt-get install libtools-dev
sudo apt-get install libtool



(07-02-2016, 03:28 AM)micko Wrote:
(07-01-2016, 02:07 PM)@lex Wrote: That is what i thought, please, follow the instructions here:  https://github.com/avafinger/guvcview_2.0.4
and uninstall your current guvcview that is wrong.

Thanks. I hadn't seen that part of instructions yet.

Got it working somehow. Image is pinkish and lots of horizontal lines.

Is there a reason why any program can't view /dev/video0 with this sensor? I'd like to use it with Motion and record the video. Might this be possible some day?

If i recall correctly, motion works out-of-box.  I will give it a try with a fresh compiled version soon and check that.
  Reply
#28
@lex,
i was trying to get it setup using the new debian build released a few days ago. i think maybe the *.dtb compiled file may be an issue? since i used the one you provided and not a compiled one. installed all the packages listed by BigBear59 so i think everything is there but i guess i will go back through it all over next few days. i did use the 2.0.4 . the sensor is listed in dmesg. it is just that ./configure script that is having a problem.

edit, is libpng12-0 libpng12-dev libpng3 ok? synaptic does not list libpng-dev
i found i needed libgd2-xpm-dev

i have libsdl1.2debian installed i get broken package problem with libsdl1.2-dev
i have libgtk-3-0 installed libgtk-3-dev gives broken package
libpulse gave 4 errors on unable to install
libsdl2-dev could not be installed
libtoolize not found by synaptic (synaptic being used to do this because it handles errors/dependencies well)
libtools-dev not found
libtool installed, others in your list not mentioned as problem here are installed.

when i do ./configure i'm getting the cannot find install.sh .... message
when i do ./bootstrap.sh i get
sudo ./bootstrap.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
configure.ac:91: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:91: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
autoreconf: running: /usr/bin/autoconf --force
configure.ac:91: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
configure: loading cache config.cache
checking whether make supports nested variables... yes
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

i have no idea why libtoolize is mentioned as doing processes since not installed nor able to be foundvia apt-get.


edit: found this in dmesg,
16.349286] [VFE]Find sensor name is "s5k4ec", i2c address is 5a, type is "YUV" !
[ 16.363204] [VFE]Sub device register "s5k4ec" i2c_addr = 0x5a start!
[ 16.375421] [VFE_ERR]Error registering v4l2 subdevice No such device!
[ 16.375425] [VFE_ERR]vfe sensor register check error at input_num = 0
[ 16.375435] [VFE]V4L2 device registered as (null)
[ 16.375476] [VFE]vfe_runtime_suspend
[ 16.375478] [VFE]..........................vfe clk close!.......................
  Reply
#29
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#
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.

edit: this is latest dmesg info
[11363.782548] [VFE]..........................vfe clk open!.......................
[11363.790684] [VFE_WARN]vfe dphy clock is null
[11363.795439] [VFE]v4l2 subdev register input_num = 0
[11363.801110] [VFE]vfe sensor detect start! input_num = 0
[11363.806887] [VFE]Find sensor name is "s5k4ec", i2c address is 5a, type is "YUV" !
[11363.815236] [VFE]Sub device register "s5k4ec" i2c_addr = 0x5a start!
[11363.822304] [VFE]v4l2_device_register_subdev return 0
[11363.827887] [VFE]registered sensor subdev is OK!
[11363.833011] [VFE]Check sensor!
[11363.862226] [VFE]mclk on
[11364.387587] [VFE]mclk off
[11364.414981] [VFE]Sub device register "s5k4ec" is OK!
[11364.421005] [VFE]V4L2 device registered as video0
[11364.427462] [VFE]vfe_runtime_suspend
[11364.427669] [VFE]vfe_open
[11364.443211] [VFE]..........................vfe clk close!.......................
[11364.468716]
  Reply
#30
(07-20-2016, 03:47 PM)dkryder Wrote:
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#
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.

This instructions are for the Guvcview 2.0.2, please use git clone https://github.com/avafinger/guvcview.git instead.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Anyone get the camera to work yet? Havensal 16 28,659 09-13-2022, 03:31 AM
Last Post: harryaxe31
  camera port details? gourmand007 6 15,869 03-07-2021, 05:29 PM
Last Post: DippingMyToesIn
  About the camera robopo 11 22,975 03-06-2021, 12:28 AM
Last Post: DippingMyToesIn
  CSI / Camera Module Compatibility? vade 8 18,147 04-03-2020, 05:39 AM
Last Post: Ellesar Dragon
  13MP Camera cable extension saviod 2 5,669 06-21-2019, 06:05 AM
Last Post: saviod
  Camera Sasank 15 28,763 12-13-2018, 09:08 PM
Last Post: Mutani
  Himax 5 Megapixel Camera Module cannot fit into 7″ LCD Touch Screen Panel themyshop 3 7,753 05-10-2018, 04:28 PM
Last Post: tllim
  Webcam vs camera module on pine64+ fkpkot 4 10,768 02-27-2017, 03:57 PM
Last Post: MarkHaysHarris777
  camera module and lcd integration jodybrown99 5 9,756 10-11-2016, 11:35 AM
Last Post: hikaricore

Forum Jump:


Users browsing this thread: 2 Guest(s)