Скачав пакет, разархивировал, откомпилировал ... а с постройкой не выходит:
# make
Welcome to the setup procedure for Motion, the motion detection daemon! If you get
error messages during this procedure, please report them to the mailing list. The
Motion Guide contains all information you should need to get Motion up and running.
Run "make updateguide" to download the latest version of the Motion Guide.
Version: 3.2.12
Platform: Linux (if this is incorrect, please read README.FreeBSD)
Compiling Motion object files...
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Motion object files compiled.
Linking Motion...
--------------------------------------------------------------------------------
gcc -L/usr/local/lib -o motion motion.o conf.o draw.o jpegutils.o video.o video2.o video_common.o netcam.o netcam_ftp.o netcam_jpeg.o netcam_wget.o track.o alg.o event.o picture.o rotate.o webhttpd.o webcam.o ffmpeg.o -lm -lpthread -ljpeg -L/usr/local/lib -lavformat -lavcodec -lavutil -lm -lz -L/usr/lib -lmysqlclient -lz -L/usr/local/pgsql/lib -lpq
/usr/local/lib/libavformat.a(file.o):(.data+0x0): multiple definition of `file_protocol'
ffmpeg.o:(.data+0x40): first defined here
/usr/local/lib/libavformat.a(matroskadec.o): In function `matroska_decode_buffer':
/mnt/ftp/Upload/ffmpeg-0.6/libavformat/matroskadec.c:927: undefined reference to `BZ2_bzDecompressInit'
/mnt/ftp/Upload/ffmpeg-0.6/libavformat/matroskadec.c:936: undefined reference to `BZ2_bzDecompress'
/mnt/ftp/Upload/ffmpeg-0.6/libavformat/matroskadec.c:939: undefined reference to `BZ2_bzDecompressEnd'
/mnt/ftp/Upload/ffmpeg-0.6/libavformat/matroskadec.c:939: undefined reference to `BZ2_bzDecompressEnd'
collect2: ld returned 1 exit status
make: *** [motion] Error 1
1. компилировал без опций
2. ffmpeg-0.6 устанавливал в директории /mnt/ftp/Upload/ffmpeg-0.6/ (Почему motion на неё ссылается не пойму).
В инете нашёл решение подобной проблемы но не могу разобраться как это сделать самому
http://www.fexclub.su/t189364.html
Help!