So, thank you very much for help, I have fixed this issue! The problem was in configure.ac. Now I have worked zm installation with mpeg4 via RTSP from AXIS camera. I'm include a patch to message, it fix incorrect headers path and enable ffmpeg libraries. Depencies you need to install manualy, nothing custom "make install" would be. SPECS/zoneminder.spec 1. add to ./configure section --with-ffmpeg \ --with-extralibs="`pkg-config --libs libavcodec libavdevice libavfilter libavformat libavutil libpostproc libswscale`" \ 2. add Patch12: zoneminder-1.24.2-ffmpeglibs.patch 3. add %patch12 -p0 -b .ffmpeglibs zoneminder-1.24.2-ffmpeglibs.patch: diff -up configure.ac configure.ac --- configure.ac 2010-04-22 10:09:29.000000000 +0300 +++ configure.ac 2010-04-22 10:10:24.000000000 +0300 @@ -74,8 +74,8 @@ AC_ARG_WITH(ffmpeg, e.g. --with-ffmpeg=/usr/local]) ) AC_SUBST(FFMPEG_PREFIX) -FFMPEG_LIBS="-L${FFMPEG_PREFIX}/${LIB_ARCH}" -FFMPEG_CFLAGS="-I${FFMPEG_PREFIX}/include" +FFMPEG_LIBS=`pkg-config --libs libavcodec libavdevice libavfilter libavformat libavutil libpostproc libswscale` +FFMPEG_CFLAGS=`pkg-config --cflags libavcodec libavdevice libavfilter libavformat libavutil libpostproc libswscale` AC_SUBST(FFMPEG_LIBS) AC_SUBST(FFMPEG_CFLAGS) @@ -244,10 +244,10 @@ else AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_WARN([gnutls-openssl.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) fi AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support)) -dnl AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) -dnl AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) -dnl AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming),[-lavcodec -lavutil]) -dnl AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) +AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) +AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) +AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming),[-lavcodec -lavutil]) +AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) AC_CHECK_LIB(bz2,BZ2_bzCompress,,AC_MSG_WARN(zm requires libbz2.a for recent versions of ffmpeg)) AC_CHECK_LIB(z,compress,,) @@ -259,14 +259,13 @@ AC_CHECK_HEADERS(linux/videodev.h,,AC_MS AC_CHECK_HEADERS(linux/videodev2.h,AC_SUBST(ZM_V4L2,"1"),AC_MSG_WARN(zm requires Video4Linux2 to be installed for V4L2 support),) AC_CHECK_HEADERS(mysql/mysql.h,,AC_MSG_ERROR(zm requires MySQL headers - check that MySQL development packages are installed),) AC_CHECK_HEADERS(libavutil/avutil.h,,,) -AC_CHECK_HEADERS(ffmpeg/avutil.h,,,) +AC_CHECK_HEADERS(ffmpeg/libavutil/avutil.h,,,) AC_CHECK_HEADERS(libavcodec/avcodec.h,,,) -AC_CHECK_HEADERS(ffmpeg/avcodec.h,,,) +AC_CHECK_HEADERS(ffmpeg/libavcodec/avcodec.h,,,) AC_CHECK_HEADERS(libavformat/avformat.h,,,) -AC_CHECK_HEADERS(ffmpeg/avformat.h,,,) +AC_CHECK_HEADERS(ffmpeg/libavformat/avformat.h,,,) AC_CHECK_HEADERS(libswscale/swscale.h,,,) -AC_CHECK_HEADERS(ffmpeg/swscale.h,,,) -AC_CHECK_HEADERS(pcre/pcre.h,AC_SUBST(ZM_PCRE,"1"),,) +AC_CHECK_HEADERS(ffmpeg/libswscale/swscale.h,,,) AC_CHECK_HEADERS(pcre.h,AC_SUBST(ZM_PCRE,"1"),,) if test "$ENABLE_MMAP" = "yes"; then AC_CHECK_HEADERS(sys/mman.h,,,) -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines