Make breaks on errors - certain PHP files are the "same"?

Forum for questions and support relating to the 1.25.x releases only.
Locked
Jim March
Posts: 88
Joined: Thu Oct 04, 2007 8:31 am

Make breaks on errors - certain PHP files are the "same"?

Post by Jim March »

Folks, a little help here.

I did a clean install of Ubuntu 10.04. I ran the instructions at:

http://www.zoneminder.com/wiki/index.ph ... troduction

I got all the pre-requisites in via standard Ubuntu packages, on the assumption that ffmpeg and the like should be new enough as of that version of Ubuntu (possibly incorrect?).

I got the configure running OK, via this command:
sudo ./configure --with-webdir=/home/camera/ZM/web --with-cgidir=/home/camera/ZM/cgidir ZM_SSL_LIB=openssl --enable-mmap=no
Note my paths - are those OK?

Next I tried the make process. At first I ran into the errors described here:

http://www.zoneminder.com/forums/viewto ... ope#p72457

...but altering the zm_local_camera.cpp file as he described got me past that error. I learned eventually that the line:
#include <limits.h>
...seems to be the most critical.

Having got past that error, here's how make blows up now:

Code: Select all

camera@camerarig:~/ZM$ sudo make install
Making install in src
make[1]: Entering directory `/home/camera/ZM/src'
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -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/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -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/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -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/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -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/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -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/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -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/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -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/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -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/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -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
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_logger.o -MD -MP -MF .deps/zm_logger.Tpo -c -o zm_logger.o zm_logger.cpp
zm_logger.cpp:43: warning: ‘void subtractTime(timeval*, timeval*)’ defined but not used
mv -f .deps/zm_logger.Tpo .deps/zm_logger.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_event.o -MD -MP -MF .deps/zm_event.Tpo -c -o zm_event.o zm_event.cpp
mv -f .deps/zm_event.Tpo .deps/zm_event.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -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/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -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/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -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/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -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:777: warning: operation on ‘pdest’ may be undefined
mv -f .deps/zm_image.Tpo .deps/zm_image.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_jpeg.o -MD -MP -MF .deps/zm_jpeg.Tpo -c -o zm_jpeg.o zm_jpeg.cpp
mv -f .deps/zm_jpeg.Tpo .deps/zm_jpeg.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -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/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_monitor.o -MD -MP -MF .deps/zm_monitor.Tpo -c -o zm_monitor.o zm_monitor.cpp
mv -f .deps/zm_monitor.Tpo .deps/zm_monitor.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -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/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_mpeg.o -MD -MP -MF .deps/zm_mpeg.Tpo -c -o zm_mpeg.o zm_mpeg.cpp
mv -f .deps/zm_mpeg.Tpo .deps/zm_mpeg.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_poly.o -MD -MP -MF .deps/zm_poly.Tpo -c -o zm_poly.o zm_poly.cpp
mv -f .deps/zm_poly.Tpo .deps/zm_poly.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_regexp.o -MD -MP -MF .deps/zm_regexp.Tpo -c -o zm_regexp.o zm_regexp.cpp
mv -f .deps/zm_regexp.Tpo .deps/zm_regexp.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_remote_camera.o -MD -MP -MF .deps/zm_remote_camera.Tpo -c -o zm_remote_camera.o zm_remote_camera.cpp
mv -f .deps/zm_remote_camera.Tpo .deps/zm_remote_camera.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_remote_camera_http.o -MD -MP -MF .deps/zm_remote_camera_http.Tpo -c -o zm_remote_camera_http.o zm_remote_camera_http.cpp
mv -f .deps/zm_remote_camera_http.Tpo .deps/zm_remote_camera_http.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_remote_camera_rtsp.o -MD -MP -MF .deps/zm_remote_camera_rtsp.Tpo -c -o zm_remote_camera_rtsp.o zm_remote_camera_rtsp.cpp
mv -f .deps/zm_remote_camera_rtsp.Tpo .deps/zm_remote_camera_rtsp.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_rtp.o -MD -MP -MF .deps/zm_rtp.Tpo -c -o zm_rtp.o zm_rtp.cpp
mv -f .deps/zm_rtp.Tpo .deps/zm_rtp.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_rtp_ctrl.o -MD -MP -MF .deps/zm_rtp_ctrl.Tpo -c -o zm_rtp_ctrl.o zm_rtp_ctrl.cpp
mv -f .deps/zm_rtp_ctrl.Tpo .deps/zm_rtp_ctrl.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_rtp_data.o -MD -MP -MF .deps/zm_rtp_data.Tpo -c -o zm_rtp_data.o zm_rtp_data.cpp
mv -f .deps/zm_rtp_data.Tpo .deps/zm_rtp_data.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_rtp_source.o -MD -MP -MF .deps/zm_rtp_source.Tpo -c -o zm_rtp_source.o zm_rtp_source.cpp
mv -f .deps/zm_rtp_source.Tpo .deps/zm_rtp_source.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_rtsp.o -MD -MP -MF .deps/zm_rtsp.Tpo -c -o zm_rtsp.o zm_rtsp.cpp
mv -f .deps/zm_rtsp.Tpo .deps/zm_rtsp.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_sdp.o -MD -MP -MF .deps/zm_sdp.Tpo -c -o zm_sdp.o zm_sdp.cpp
mv -f .deps/zm_sdp.Tpo .deps/zm_sdp.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_signal.o -MD -MP -MF .deps/zm_signal.Tpo -c -o zm_signal.o zm_signal.cpp
zm_signal.cpp: In function ‘void zm_die_handler(int, sigcontext)’:
zm_signal.cpp:113: warning: format not a string literal and no format arguments
zm_signal.cpp:113: warning: format not a string literal and no format arguments
mv -f .deps/zm_signal.Tpo .deps/zm_signal.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_stream.o -MD -MP -MF .deps/zm_stream.Tpo -c -o zm_stream.o zm_stream.cpp
mv -f .deps/zm_stream.Tpo .deps/zm_stream.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_thread.o -MD -MP -MF .deps/zm_thread.Tpo -c -o zm_thread.o zm_thread.cpp
mv -f .deps/zm_thread.Tpo .deps/zm_thread.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_time.o -MD -MP -MF .deps/zm_time.Tpo -c -o zm_time.o zm_time.cpp
mv -f .deps/zm_time.Tpo .deps/zm_time.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_timer.o -MD -MP -MF .deps/zm_timer.Tpo -c -o zm_timer.o zm_timer.cpp
mv -f .deps/zm_timer.Tpo .deps/zm_timer.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_user.o -MD -MP -MF .deps/zm_user.Tpo -c -o zm_user.o zm_user.cpp
mv -f .deps/zm_user.Tpo .deps/zm_user.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_utils.o -MD -MP -MF .deps/zm_utils.Tpo -c -o zm_utils.o zm_utils.cpp
mv -f .deps/zm_utils.Tpo .deps/zm_utils.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_zone.o -MD -MP -MF .deps/zm_zone.Tpo -c -o zm_zone.o zm_zone.cpp
zm_zone.cpp: In static member function ‘static int Zone::Load(Monitor*, Zone**&)’:
zm_zone.cpp:903: warning: ignoring return value of ‘int atoi(const char*)’, declared with attribute warn_unused_result
mv -f .deps/zm_zone.Tpo .deps/zm_zone.Po
g++  -g -O2  -L/usr/lib -L/usr/lib/mysql   -o zmc zmc.o zm_box.o zm_buffer.o zm_camera.o zm_comms.o zm_config.o zm_coord.o zm.o zm_db.o zm_logger.o zm_event.o zm_exception.o zm_file_camera.o zm_ffmpeg_camera.o zm_image.o zm_jpeg.o zm_local_camera.o zm_monitor.o zm_ffmpeg.o zm_mpeg.o zm_poly.o zm_regexp.o zm_remote_camera.o zm_remote_camera_http.o zm_remote_camera_rtsp.o zm_rtp.o zm_rtp_ctrl.o zm_rtp_data.o zm_rtp_source.o zm_rtsp.o zm_sdp.o zm_signal.o zm_stream.o zm_thread.o zm_time.o zm_timer.o zm_user.o zm_utils.o zm_zone.o  -lz -lz -lpcre -lcrypto -ldl -lpthread -ljpeg -lmysqlclient 
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zma.o -MD -MP -MF .deps/zma.Tpo -c -o zma.o zma.cpp
mv -f .deps/zma.Tpo .deps/zma.Po
g++  -g -O2  -L/usr/lib -L/usr/lib/mysql   -o zma zma.o zm_box.o zm_buffer.o zm_camera.o zm_comms.o zm_config.o zm_coord.o zm.o zm_db.o zm_logger.o zm_event.o zm_exception.o zm_file_camera.o zm_ffmpeg_camera.o zm_image.o zm_jpeg.o zm_local_camera.o zm_monitor.o zm_ffmpeg.o zm_mpeg.o zm_poly.o zm_regexp.o zm_remote_camera.o zm_remote_camera_http.o zm_remote_camera_rtsp.o zm_rtp.o zm_rtp_ctrl.o zm_rtp_data.o zm_rtp_source.o zm_rtsp.o zm_sdp.o zm_signal.o zm_stream.o zm_thread.o zm_time.o zm_timer.o zm_user.o zm_utils.o zm_zone.o  -lz -lz -lpcre -lcrypto -ldl -lpthread -ljpeg -lmysqlclient 
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zmu.o -MD -MP -MF .deps/zmu.Tpo -c -o zmu.o zmu.cpp
mv -f .deps/zmu.Tpo .deps/zmu.Po
g++  -g -O2  -L/usr/lib -L/usr/lib/mysql   -o zmu zmu.o zm_box.o zm_buffer.o zm_camera.o zm_comms.o zm_config.o zm_coord.o zm.o zm_db.o zm_logger.o zm_event.o zm_exception.o zm_file_camera.o zm_ffmpeg_camera.o zm_image.o zm_jpeg.o zm_local_camera.o zm_monitor.o zm_ffmpeg.o zm_mpeg.o zm_poly.o zm_regexp.o zm_remote_camera.o zm_remote_camera_http.o zm_remote_camera_rtsp.o zm_rtp.o zm_rtp_ctrl.o zm_rtp_data.o zm_rtp_source.o zm_rtsp.o zm_sdp.o zm_signal.o zm_stream.o zm_thread.o zm_time.o zm_timer.o zm_user.o zm_utils.o zm_zone.o  -lz -lz -lpcre -lcrypto -ldl -lpthread -ljpeg -lmysqlclient 
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zms.o -MD -MP -MF .deps/zms.Tpo -c -o zms.o zms.cpp
mv -f .deps/zms.Tpo .deps/zms.Po
g++  -g -O2  -L/usr/lib -L/usr/lib/mysql   -o zms zms.o zm_box.o zm_buffer.o zm_camera.o zm_comms.o zm_config.o zm_coord.o zm.o zm_db.o zm_logger.o zm_event.o zm_exception.o zm_file_camera.o zm_ffmpeg_camera.o zm_image.o zm_jpeg.o zm_local_camera.o zm_monitor.o zm_ffmpeg.o zm_mpeg.o zm_poly.o zm_regexp.o zm_remote_camera.o zm_remote_camera_http.o zm_remote_camera_rtsp.o zm_rtp.o zm_rtp_ctrl.o zm_rtp_data.o zm_rtp_source.o zm_rtsp.o zm_sdp.o zm_signal.o zm_stream.o zm_thread.o zm_time.o zm_timer.o zm_user.o zm_utils.o zm_zone.o  -lz -lz -lpcre -lcrypto -ldl -lpthread -ljpeg -lmysqlclient 
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zmf.o -MD -MP -MF .deps/zmf.Tpo -c -o zmf.o zmf.cpp
mv -f .deps/zmf.Tpo .deps/zmf.Po
g++  -g -O2  -L/usr/lib -L/usr/lib/mysql   -o zmf zmf.o zm_box.o zm_buffer.o zm_camera.o zm_comms.o zm_config.o zm_coord.o zm.o zm_db.o zm_logger.o zm_event.o zm_exception.o zm_file_camera.o zm_ffmpeg_camera.o zm_image.o zm_jpeg.o zm_local_camera.o zm_monitor.o zm_ffmpeg.o zm_mpeg.o zm_poly.o zm_regexp.o zm_remote_camera.o zm_remote_camera_http.o zm_remote_camera_rtsp.o zm_rtp.o zm_rtp_ctrl.o zm_rtp_data.o zm_rtp_source.o zm_rtsp.o zm_sdp.o zm_signal.o zm_stream.o zm_thread.o zm_time.o zm_timer.o zm_user.o zm_utils.o zm_zone.o  -lz -lz -lpcre -lcrypto -ldl -lpthread -ljpeg -lmysqlclient 
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zmstreamer.o -MD -MP -MF .deps/zmstreamer.Tpo -c -o zmstreamer.o zmstreamer.cpp
mv -f .deps/zmstreamer.Tpo .deps/zmstreamer.Po
g++  -g -O2  -L/usr/lib -L/usr/lib/mysql   -o zmstreamer zmstreamer.o zm_box.o zm_buffer.o zm_camera.o zm_comms.o zm_config.o zm_coord.o zm.o zm_db.o zm_logger.o zm_event.o zm_exception.o zm_file_camera.o zm_ffmpeg_camera.o zm_image.o zm_jpeg.o zm_local_camera.o zm_monitor.o zm_ffmpeg.o zm_mpeg.o zm_poly.o zm_regexp.o zm_remote_camera.o zm_remote_camera_http.o zm_remote_camera_rtsp.o zm_rtp.o zm_rtp_ctrl.o zm_rtp_data.o zm_rtp_source.o zm_rtsp.o zm_sdp.o zm_signal.o zm_stream.o zm_thread.o zm_time.o zm_timer.o zm_user.o zm_utils.o zm_zone.o  -lz -lz -lpcre -lcrypto -ldl -lpthread -ljpeg -lmysqlclient 
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zmfix.o -MD -MP -MF .deps/zmfix.Tpo -c -o zmfix.o zmfix.cpp
mv -f .deps/zmfix.Tpo .deps/zmfix.Po
g++  -g -O2  -L/usr/lib -L/usr/lib/mysql   -o zmfix zmfix.o zm_config.o zm_regexp.o zm_logger.o zm_utils.o zm_db.o zm.o  -lz -lz -lpcre -lcrypto -ldl -lpthread -ljpeg -lmysqlclient 
make[2]: Entering directory `/home/camera/ZM/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /usr/bin/install -c zmc zma zmu zms zmf zmstreamer zmfix '/usr/local/bin'
make  install-exec-hook
make[3]: Entering directory `/home/camera/ZM/src'
( cd /usr/local/bin; mkdir -p /home/camera/ZM/cgidir; mv zms /home/camera/ZM/cgidir )
( cd /home/camera/ZM/cgidir; chown apache:apache zms; ln -f zms nph-zms )
chown: invalid user: `apache:apache'
( cd /usr/local/bin; chmod u+s zmfix )
make[3]: Leaving directory `/home/camera/ZM/src'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/camera/ZM/src'
make[1]: Leaving directory `/home/camera/ZM/src'
Making install in web
make[1]: Entering directory `/home/camera/ZM/web'
Making install in ajax
make[2]: Entering directory `/home/camera/ZM/web/ajax'
make[3]: Entering directory `/home/camera/ZM/web/ajax'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/home/camera/ZM/web/ajax" || /bin/mkdir -p "/home/camera/ZM/web/ajax"
 /usr/bin/install -c -m 644 alarm.php control.php event.php log.php status.php stream.php zone.php '/home/camera/ZM/web/ajax'
/usr/bin/install: `alarm.php' and `/home/camera/ZM/web/ajax/alarm.php' are the same file
/usr/bin/install: `control.php' and `/home/camera/ZM/web/ajax/control.php' are the same file
/usr/bin/install: `event.php' and `/home/camera/ZM/web/ajax/event.php' are the same file
/usr/bin/install: `log.php' and `/home/camera/ZM/web/ajax/log.php' are the same file
/usr/bin/install: `status.php' and `/home/camera/ZM/web/ajax/status.php' are the same file
/usr/bin/install: `stream.php' and `/home/camera/ZM/web/ajax/stream.php' are the same file
/usr/bin/install: `zone.php' and `/home/camera/ZM/web/ajax/zone.php' are the same file
make[3]: *** [install-dist_webDATA] Error 1
make[3]: Leaving directory `/home/camera/ZM/web/ajax'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/camera/ZM/web/ajax'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/camera/ZM/web'
make: *** [install-recursive] Error 1
camera@camerarig:~/ZM$ 
What the heck is that?

I checked - there's only one copy of the alarm.php file. There's two copies (in different locations and sizes) of control.php, and the rest vary - one copy, three, four, etc. I assume that's normal and not connected to the error because other than editing zm_local_camera.cpp this directory is completely unmolested.

Any help appreciated...
Locked