this how i try to build it
sudo ./configure --with-webdir=/opt/lampp/htdocs --with-cgidir=/opt/lampp/cgi-bin --with-mysql=/opt/lampp/include/mysql ZM_SSL_LIB=openssl CPPFLAGS="-I/usr/local/ssl/include"
here several notifications
checking for pnmscale... no
checking for pnmscale... no
dirname: missing operand
Try `dirname --help' for more information.
///////////////////////////////////////////////////////////////
checking libavutil/avutil.h usability... yes
checking libavutil/avutil.h presence... yes
checking for libavutil/avutil.h... yes
checking ffmpeg/avutil.h usability... no
checking ffmpeg/avutil.h presence... no
checking for ffmpeg/avutil.h... no
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
checking libavformat/avformat.h usability... yes
checking libavformat/avformat.h presence... yes
checking for libavformat/avformat.h... yes
checking ffmpeg/avformat.h usability... no
checking ffmpeg/avformat.h presence... no
checking for ffmpeg/avformat.h... no
checking libswscale/swscale.h usability... no
checking libswscale/swscale.h presence... no
checking for libswscale/swscale.h... no
checking ffmpeg/swscale.h usability... no
checking ffmpeg/swscale.h presence... no
checking for ffmpeg/swscale.h... no
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
i have installed ffmpeg
configure: WARNING: X10::ActiveHome is required for X.10 support
configure: creating ./config.status
Checking if your kit is complete...
Looks good
Writing Makefile for ZoneMinder
now this what happend ->
<b>
sudo make
make all-recursive
make[1]: Entering directory `/home/kaloqn/Desktop/ZoneMinder-1.24.1'
Making all in src
make[2]: Entering directory `/home/kaloqn/Desktop/ZoneMinder-1.24.1/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c -o zmc.o zmc.cpp
mv -f .deps/zmc.Tpo .deps/zmc.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_box.o -MD -MP -MF .deps/zm_box.Tpo -c -o zm_box.o zm_box.cpp
mv -f .deps/zm_box.Tpo .deps/zm_box.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_buffer.o -MD -MP -MF .deps/zm_buffer.Tpo -c -o zm_buffer.o zm_buffer.cpp
mv -f .deps/zm_buffer.Tpo .deps/zm_buffer.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_camera.o -MD -MP -MF .deps/zm_camera.Tpo -c -o zm_camera.o zm_camera.cpp
mv -f .deps/zm_camera.Tpo .deps/zm_camera.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_comms.o -MD -MP -MF .deps/zm_comms.Tpo -c -o zm_comms.o zm_comms.cpp
mv -f .deps/zm_comms.Tpo .deps/zm_comms.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_config.o -MD -MP -MF .deps/zm_config.Tpo -c -o zm_config.o zm_config.cpp
mv -f .deps/zm_config.Tpo .deps/zm_config.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_coord.o -MD -MP -MF .deps/zm_coord.Tpo -c -o zm_coord.o zm_coord.cpp
mv -f .deps/zm_coord.Tpo .deps/zm_coord.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm.o -MD -MP -MF .deps/zm.Tpo -c -o zm.o zm.cpp
mv -f .deps/zm.Tpo .deps/zm.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_db.o -MD -MP -MF .deps/zm_db.Tpo -c -o zm_db.o zm_db.cpp
mv -f .deps/zm_db.Tpo .deps/zm_db.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -I/usr/include -MT zm_debug.o -MD -MP -MF .deps/zm_debug.Tpo -c -o zm_debug.o zm_debug.c
mv -f .deps/zm_debug.Tpo .deps/zm_debug.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_event.o -MD -MP -MF .deps/zm_event.Tpo -c -o zm_event.o zm_event.cpp
zm_event.cpp: In member function ‘bool EventStream::sendFrame(int)’:
zm_event.cpp:1238: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
mv -f .deps/zm_event.Tpo .deps/zm_event.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_exception.o -MD -MP -MF .deps/zm_exception.Tpo -c -o zm_exception.o zm_exception.cpp
mv -f .deps/zm_exception.Tpo .deps/zm_exception.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_file_camera.o -MD -MP -MF .deps/zm_file_camera.Tpo -c -o zm_file_camera.o zm_file_camera.cpp
mv -f .deps/zm_file_camera.Tpo .deps/zm_file_camera.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_ffmpeg_camera.o -MD -MP -MF .deps/zm_ffmpeg_camera.Tpo -c -o zm_ffmpeg_camera.o zm_ffmpeg_camera.cpp
mv -f .deps/zm_ffmpeg_camera.Tpo .deps/zm_ffmpeg_camera.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_image.o -MD -MP -MF .deps/zm_image.Tpo -c -o zm_image.o zm_image.cpp
zm_image.cpp: In member function ‘void Image::Blend(const Image&, int) const’:
zm_image.cpp:776: warning: operation on ‘pdest’ may be undefined
mv -f .deps/zm_image.Tpo .deps/zm_image.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -I/usr/include -MT zm_jpeg.o -MD -MP -MF .deps/zm_jpeg.Tpo -c -o zm_jpeg.o zm_jpeg.c
zm_jpeg.c: In function ‘zm_jpeg_error_exit’:
zm_jpeg.c:42: warning: implicit declaration of function ‘exit’
zm_jpeg.c:42: warning: incompatible implicit declaration of built-in function ‘exit’
mv -f .deps/zm_jpeg.Tpo .deps/zm_jpeg.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_local_camera.o -MD -MP -MF .deps/zm_local_camera.Tpo -c -o zm_local_camera.o zm_local_camera.cpp
mv -f .deps/zm_local_camera.Tpo .deps/zm_local_camera.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_monitor.o -MD -MP -MF .deps/zm_monitor.Tpo -c -o zm_monitor.o zm_monitor.cpp
zm_monitor.cpp: In member function ‘bool MonitorStream::sendFrame(const char*, timeval*)’:
zm_monitor.cpp:3224: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
zm_monitor.cpp: In member function ‘bool MonitorStream::sendFrame(Image*, timeval*)’:
zm_monitor.cpp:3295: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
zm_monitor.cpp: In member function ‘void Monitor::SingleImage(int)’:
zm_monitor.cpp:3624: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
zm_monitor.cpp: In member function ‘void Monitor::SingleImageRaw(int)’:
zm_monitor.cpp:3647: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
zm_monitor.cpp: In member function ‘void Monitor::SingleImageZip(int)’:
zm_monitor.cpp:3673: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
mv -f .deps/zm_monitor.Tpo .deps/zm_monitor.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_ffmpeg.o -MD -MP -MF .deps/zm_ffmpeg.Tpo -c -o zm_ffmpeg.o zm_ffmpeg.cpp
mv -f .deps/zm_ffmpeg.Tpo .deps/zm_ffmpeg.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/lampp/include/mysql/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -I/usr/local/ssl/include -frepo -g -O2 -MT zm_mpeg.o -MD -MP -MF .deps/zm_mpeg.Tpo -c -o zm_mpeg.o zm_mpeg.cpp
zm_mpeg.cpp: In member function ‘double VideoStream::EncodeFrame(uint8_t*, int, bool, unsigned int)’:
zm_mpeg.cpp:325: error: ‘img_convert’ was not declared in this scope
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/home/kaloqn/Desktop/ZoneMinder-1.24.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kaloqn/Desktop/ZoneMinder-1.24.1'
make: *** [all] Error 2
</b>