Apologies, I've been trying to update to zoneminder 1.25.0 in Debian, but I haven't managed to get any version of zoneminder building on Debian since about august of 2011.
My current suspicions include:
Debian now uses libav rather than ffmpeg, and there may be incompatibilities there...
Stricter GCC compile time issues may require more explicit include definitions in several files:
checking libavutil/avutil.h usability... no
checking libavutil/avutil.h presence... yes
configure: WARNING: libavutil/avutil.h: present but cannot be compiled
configure: WARNING: libavutil/avutil.h: check for missing prerequisite headers?
configure: WARNING: libavutil/avutil.h: see the Autoconf documentation
configure: WARNING: libavutil/avutil.h: section "Present But Cannot Be Compiled"
configure: WARNING: libavutil/avutil.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------------------------------------------- ##
configure: WARNING: ## Report this to
http://www.zoneminder.com/forums/ - Please check FAQ first ##
configure: WARNING: ## ------------------------------------------------------------------------- ##
get a similar message for avcodec.h, avformat.h and swscale.h., all of which are present in the build environment.
the build eventually fails with:
Making all in src
make[3]: Entering directory `/«PKGBUILDDIR»/src'
i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -
fno-inline -I/usr/include -DZM_FFMPEG_CVS -DHAVE_LIBCRYPTO -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c
-o zmc.o zmc.cpp
In file included from zm_stream.h:27:0,
from zm_event.h:39,
from zm_zone.h:27,
from zm_monitor.h:26,
from zmc.cpp:28:
zm_mpeg.h:43:7: error: use of enum 'PixelFormat' without previous declaration
zm_mpeg.h:44:2: error: 'AVOutputFormat' does not name a type
zm_mpeg.h:45:2: error: 'AVFormatContext' does not name a type
zm_mpeg.h:46:2: error: 'AVStream' does not name a type
zm_mpeg.h:47:2: error: 'AVFrame' does not name a type
zm_mpeg.h:48:2: error: 'AVFrame' does not name a type
any help (in particular, patches) would be greatly appreciated.
i have numerous URLs i'd love to post with more detailed information, but apparently this forum software regards it as spam.
live well,
vagrant