Comments (14)
motion-mrdave
's configure mechanism has recently been changed. You'll need to run autoreconf
in the source folder first and then run the normal ./configure...
command.
from motioneye.
HI Crisan,
Tried "autoconf" within that directory and did "./configure --prefix=/usr --without-pgsql --without-sdl --without-sqlite3 --without-mysql". Bumped into this error.
Any suggestions? Sorry to bother for this.
checking for libjpeg-mmx... skipping
checking for jpeg_set_defaults in -ljpeg... yes
./configure: line 5283: syntax error near unexpected token FFMPEG,' ./configure: line 5283:
PKG_CHECK_MODULES(FFMPEG, libavutil libavformat libavcodec libswscale, HAVE_FFMPEG=yes)'
root@cac:/home/peng/motion-mrdave# cat config
config.log configure configure.ac
root@cac:/home/peng/motion-mrdave# cat configure | grep FFMPEG
FFMPEG_OBJ
--with-ffmpeg=DIR Build with FFMPEG support
FFMPEG_OBJ=""
PKG_CHECK_MODULES(FFMPEG, libavutil libavformat libavcodec libswscale, HAVE_FFMPEG=yes)
if test "${HAVE_FFMPEG}" = "yes" ; then :
FFMPEG_OBJ="ffmpeg.o"
$as_echo "#define HAVE_FFMPEG 1" >>confdefs.h
if test "${HAVE_FFMPEG}" = "yes"; then
echo " ... FFMPEG_CFLAGS: $FFMPEG_CFLAGS"
echo " ... FFMPEG_LIBS: $FFMPEG_LIBS"
from motioneye.
Yes, use autoreconf, as I suggested in my previous answer.
from motioneye.
The wiki page now mentions this autoreconf command.
from motioneye.
thank you very much Crisan!
from motioneye.
oh Crisan,
What's the method to confirm that newly compiled "motion" is indeed used?
thanks
peng
from motioneye.
motion -h
should report something else than 3.2.12.
from motioneye.
much appreciated!
from motioneye.
I am running into the same error as piecam and used autoreconf to create a configure script:
./configure: line 5283: syntax error near unexpected token FFMPEG,' ./configure: line 5283:
PKG_CHECK_MODULES(FFMPEG, libavutil libavformat libavcodec libswscale, HAVE_FFMPEG=yes)'
the configure script reads at those lines:
if test "x$with_ffmpeg" != "xno"; then :
if test "x$with_ffmpeg" != "xyes"; then :
PKG_CONFIG_PATH=${with_ffmpeg}/lib/pkgconfig:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH
fi
PKG_CHECK_MODULES(FFMPEG, libavutil libavformat libavcodec libswscale, HAVE_FFMPEG=yes)
fi
what can I do to fix this?
from motioneye.
+1
I used autoreconf
for mrdave edition and get the same error.
from motioneye.
@bakroistvan which one, more precisely?
from motioneye.
I did the following after sudo su
on CHIP (ARM v7):
apt-get install build-essential autoconf libjpeg-dev libavformat-dev libavcodec-dev libswscale-dev ffmpeg subversion git
git clone https://github.com/Mr-Dave/motion.git motion-mrdave
cd motion-mrdave
autoreconf
./configure --prefix=/usr --without-pgsql --without-sdl --without-sqlite3 --without-mysql
$ ffmpeg
ffmpeg version 3.0.2-4~bpo8+1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.2 (Debian 4.9.2-10)
configuration: --prefix=/usr --extra-version='4~bpo8+1' --toolchain=hardened --libdir=/usr/lib/arm-linux-gnueabihf --incdir=/usr/include/arm-linux-gnueabihf --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-chromaprint --enable-libx264
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'
I get the same error as @christf had. I tried with the SVN repo, it works.
So I want to mention that for me: Mr Dave's fork is not recommended.
from motioneye.
apt-get install pkgconf
Fixes the problem.
from motioneye.
Yes it does. Thank you
from motioneye.
Related Issues (20)
- "Device or resource busy" HOT 7
- Motioneye not accepting more than 2 cameras at once HOT 1
- Still Images: cams take pictures 24/7 HOT 3
- Unable to open Video Camera HOT 1
- Cameras not recording HOT 4
- Flashdrive not showing up under stoarge device HOT 5
- Permissions for video HOT 4
- how setup android without port forwarding on router (e.g. ngrok?) and connect it to MotionEye cloud HOT 2
- How change directory in file storage HOT 1
- [solution] won't start HOT 5
- Problems connecting Dahua IP cam to MotionEye HOT 5
- [Errno 13] Permission denied .keep HOT 2
- Issue: How to split file when continuous recording is activated HOT 1
- ssl peer certificate or ssh remote key was not okay on DietPi HOT 1
- username and password HOT 1
- scalability HOT 4
- Synchronize ipcam videos with a second remote NVR via rsync protocol
- Why All camera rebots?? HOT 1
- Why it reloads a cameras when we add a new camera?? HOT 1
- mobotix S14 unable to open video device
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from motioneye.