Send Motion-user mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Re: Motion on CentOS (Ole Andreas Gl?ersen)
2. Crashes on Logrotate (Harlan Daneker)
3. ./configure: line 5283: syntax error near unexpected token
`FFMPEG, ' (Mariusz Ciszewski)
4. Re: ./configure: line 5283: syntax error near unexpected
token `FFMPEG, ' (tosiara)
----------------------------------------------------------------------
Message: 1
Date: Mon, 19 Oct 2015 10:57:07 +0200
From: Ole Andreas Gl?ersen <[email protected]>
Subject: Re: [Motion-user] Motion on CentOS
To: Motion discussion list <[email protected]>
Message-ID:
<CAE+3HzY=HAQ=ijfsoqeqff2d7sk2sh7pps2kpmvbbotsazt...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Thanks, ./configure --with-ffmpeg=/root/ffmpeg_*build* "this made may day".
I beleived it was tried that also, but I missed one charater before asking
for help. Thats the reason it didn't work...........
Now I have a working motion with rtsp support on CentOS!
2015-10-18 0:24 GMT+02:00 Mr Dave <[email protected]>:
> Try running
>
> ./configure --with-ffmpeg=/root/ffmpeg_build
>
> The message is indicating that it can not find the ffmpeg libraries that
> you built so you need to manually point configure to that location with the
> use of the configure flag.
>
> Dave
>
>
> On 10/17/2015 2:58 PM, Ole Andreas Gl?ersen wrote:
>
> It looks like I now have a comlete ffmpeg comilation.
>
> [root@localhost ~]# ls -ltr /root/ffmpeg_build/
> totalt 20
> drwxr-xr-x. 2 root root 17 okt. 17 21:02 bin
> -rw-r--r--. 1 root root 6804 okt. 17 21:27 ffmpeg.sh
> -rw-r--r--. 1 root root 1028 okt. 17 21:28 ffmpeg2.sh
> drwxr-xr-x. 6 root root 53 okt. 17 22:14 share
> drwxr-xr-x. 3 root root 4096 okt. 17 22:14 lib
> drwxr-xr-x. 16 root root 4096 okt. 17 22:14 include
>
>
> When I try to install motion (from Mr-Dave by git download) I got this:
>
> 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 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 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 minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking for Darwin... no
> checking for *BSD... no
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking threads... yes
> checking for sdl... no
> checking for libjpeg-turbo... skipping
> checking for libjpeg-mmx... skipping
> checking for jpeg_set_defaults in -ljpeg... yes
> checking for pkg-config... /bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for FFMPEG... no
> configure: error: Package requirements (libavutil libavformat libavcodec
> libswscale) were not met:
>
> No package 'libavutil' found
> No package 'libavformat' found
> No package 'libavcodec' found
> No package 'libswscale' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables FFMPEG_CFLAGS
> and FFMPEG_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
>
> No of those can be installed by yum on CentOS.
>
>
> My script (runned as root):
>
> #!/bin/bash
> cd ~/ffmpeg_sources
> git clone https://github.com/Mr-Dave/motion.git
> cd motion
> autoreconf -fiv
> ./configure
> make
> make install
> ldconfig
>
>
>
> Any tip?
>
>
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Motion-user mailing
> [email protected]https://lists.sourceforge.net/lists/listinfo/motion-userhttp://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Mon, 19 Oct 2015 12:49:59 -0400
From: Harlan Daneker <[email protected]>
Subject: [Motion-user] Crashes on Logrotate
To: Motion discussion list <[email protected]>,
Motion SVN commit messages <[email protected]>
Message-ID:
<cac1wkittfvsy3mcr4ztt_tkwezebseu2aqxf2wtb7yhdpp8...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I reported this before, but the email came back and I wasn't sure if it
ever got to anybody. I was having issues with the rpmfusion version of
motion with Fedora 20/21 crashing late at night. I figured out that it was
crashing when log-rotate would run.
Motion was using it's own log file. /var/log/motion.log
I took that out of motion.conf and just let it log to /var/log/messages and
the problem went away.
Harlan
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Mon, 19 Oct 2015 19:07:37 +0200
From: Mariusz Ciszewski <[email protected]>
Subject: [Motion-user] ./configure: line 5283: syntax error near
unexpected token `FFMPEG, '
To: Motion discussion list <[email protected]>
Message-ID:
<CAOpAQy+JCxtqXDVEGbOCX5qAcXh22ReFc-zcgF2CgifB6=b...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Could someone please help?
Before autoreconf has been done:
http://pastebin.com/m9K1qjqq
Then:
http://pastebin.com/HqDqdMbD
ended by:
./configure: line 5283: syntax error near unexpected token `FFMPEG,'
./configure: line 5283: ` PKG_CHECK_MODULES(FFMPEG, libavutil
libavformat libavcodec libswscale, HAVE_FFMPEG=yes)'
Thank you for any help.
Best regards
Mariusz
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 4
Date: Mon, 19 Oct 2015 20:50:03 +0300
From: tosiara <[email protected]>
Subject: Re: [Motion-user] ./configure: line 5283: syntax error near
unexpected token `FFMPEG, '
To: Motion discussion list <[email protected]>
Message-ID:
<cachtdwsz+p8rllvnumlpvbzzanhttqymycjc_fj8xe17gcj...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I think this has been recently answered by Mr-Dave. But just can't find when
On Mon, Oct 19, 2015 at 8:07 PM, Mariusz Ciszewski <
[email protected]> wrote:
> Could someone please help?
>
> Before autoreconf has been done:
> http://pastebin.com/m9K1qjqq
>
> Then:
>
> http://pastebin.com/HqDqdMbD
>
> ended by:
> ./configure: line 5283: syntax error near unexpected token `FFMPEG,'
> ./configure: line 5283: ` PKG_CHECK_MODULES(FFMPEG, libavutil
> libavformat libavcodec libswscale, HAVE_FFMPEG=yes)'
>
> Thank you for any help.
>
> Best regards
> Mariusz
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------------------------------------------------------
------------------------------
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
End of Motion-user Digest, Vol 113, Issue 7
*******************************************