problem with make

Support and queries relating to all previous versions of ZoneMinder
Locked
germandms
Posts: 40
Joined: Mon Oct 03, 2005 2:19 pm

problem with make

Post by germandms »

doing make I have the following errors

code
gv@linux:~/zm-1.21.3> make
make all-recursive
make[1]: Entering directory `/home/gv/zm-1.21.3'
Making all in src
make[2]: Entering directory `/home/gv/zm-1.21.3/src'
make[2]: No se hace nada para `all'.
make[2]: Leaving directory `/home/gv/zm-1.21.3/src'
Making all in web
make[2]: Entering directory `/home/gv/zm-1.21.3/web'
Making all in graphics
make[3]: Entering directory `/home/gv/zm-1.21.3/web/graphics'
make[3]: No se hace nada para `all'.
make[3]: Leaving directory `/home/gv/zm-1.21.3/web/graphics'
make[3]: Entering directory `/home/gv/zm-1.21.3/web'
make[3]: No se hace nada para `all-am'.
make[3]: Leaving directory `/home/gv/zm-1.21.3/web'
make[2]: Leaving directory `/home/gv/zm-1.21.3/web'
Making all in scripts
make[2]: Entering directory `/home/gv/zm-1.21.3/scripts'
make[2]: No se hace nada para `all'.
make[2]: Leaving directory `/home/gv/zm-1.21.3/scripts'
Making all in db
make[2]: Entering directory `/home/gv/zm-1.21.3/db'
make[2]: No se hace nada para `all'.
make[2]: Leaving directory `/home/gv/zm-1.21.3/db'
make[2]: Entering directory `/home/gv/zm-1.21.3'
make[2]: No se hace nada para `all-am'.
make[2]: Leaving directory `/home/gv/zm-1.21.3'
make[1]: Leaving directory `/home/gv/zm-1.21.3'
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

It would appear you have already built the program. If you would like to rebuild it rum a make clean and start the process from the beginning. If you already have settings you like from zmconifg.pl you can save the file zmconfig.txt to another directory and when you get to that part run perl zmconfig.pl -f /<path>/zmconfig.txt --noi.
Regards,
Cordel
germandms
Posts: 40
Joined: Mon Oct 03, 2005 2:19 pm

i dont it works

Post by germandms »

not as it can be the problem....estos are the steps that I have followed

to decompress zm-1.21.4 in /usr/src/packages/BUILD/
./configure -with-mysql=/usr -with-webdir=/srv/www/htdocs/zm -with-cgidir=/srv/www/cgi-bin/ --with-webuser=wwwrun --with-webgroup=www

perl ./zmconfig.pl

perl ./zmconfig.pl -noi

mysql mysql < db/zmschema.sql

mysql mysql

grant select,insert,update,delete on zm.* to '@localhost identified by '';

quit

the user y pass in blank....is correct????

and final
#make
make all-recursive
make[1]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4'
Making all in src
make[2]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; \
then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm.o -MD -MP -MF ".deps/zm.Tpo" -c -o zm.o zm.cpp; \
then mv -f ".deps/zm.Tpo" ".deps/zm.Po"; else rm -f ".deps/zm.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_db.o -MD -MP -MF ".deps/zm_db.Tpo" -c -o zm_db.o zm_db.cpp; \
then mv -f ".deps/zm_db.Tpo" ".deps/zm_db.Po"; else rm -f ".deps/zm_db.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_config.o -MD -MP -MF ".deps/zm_config.Tpo" -c -o zm_config.o zm_config.cpp; \
then mv -f ".deps/zm_config.Tpo" ".deps/zm_config.Po"; else rm -f ".deps/zm_config.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_coord.o -MD -MP -MF ".deps/zm_coord.Tpo" -c -o zm_coord.o zm_coord.cpp; \
then mv -f ".deps/zm_coord.Tpo" ".deps/zm_coord.Po"; else rm -f ".deps/zm_coord.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_box.o -MD -MP -MF ".deps/zm_box.Tpo" -c -o zm_box.o zm_box.cpp; \
then mv -f ".deps/zm_box.Tpo" ".deps/zm_box.Po"; else rm -f ".deps/zm_box.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_image.o -MD -MP -MF ".deps/zm_image.Tpo" -c -o zm_image.o zm_image.cpp; \
then mv -f ".deps/zm_image.Tpo" ".deps/zm_image.Po"; else rm -f ".deps/zm_image.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_event.o -MD -MP -MF ".deps/zm_event.Tpo" -c -o zm_event.o zm_event.cpp; \
then mv -f ".deps/zm_event.Tpo" ".deps/zm_event.Po"; else rm -f ".deps/zm_event.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_zone.o -MD -MP -MF ".deps/zm_zone.Tpo" -c -o zm_zone.o zm_zone.cpp; \
then mv -f ".deps/zm_zone.Tpo" ".deps/zm_zone.Po"; else rm -f ".deps/zm_zone.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_camera.o -MD -MP -MF ".deps/zm_camera.Tpo" -c -o zm_camera.o zm_camera.cpp; \
then mv -f ".deps/zm_camera.Tpo" ".deps/zm_camera.Po"; else rm -f ".deps/zm_camera.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -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; \
then mv -f ".deps/zm_local_camera.Tpo" ".deps/zm_local_camera.Po"; else rm -f ".deps/zm_local_camera.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -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; \
then mv -f ".deps/zm_remote_camera.Tpo" ".deps/zm_remote_camera.Po"; else rm -f ".deps/zm_remote_camera.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -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; \
then mv -f ".deps/zm_file_camera.Tpo" ".deps/zm_file_camera.Po"; else rm -f ".deps/zm_file_camera.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_monitor.o -MD -MP -MF ".deps/zm_monitor.Tpo" -c -o zm_monitor.o zm_monitor.cpp; \
then mv -f ".deps/zm_monitor.Tpo" ".deps/zm_monitor.Po"; else rm -f ".deps/zm_monitor.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_user.o -MD -MP -MF ".deps/zm_user.Tpo" -c -o zm_user.o zm_user.cpp; \
then mv -f ".deps/zm_user.Tpo" ".deps/zm_user.Po"; else rm -f ".deps/zm_user.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_mpeg.o -MD -MP -MF ".deps/zm_mpeg.Tpo" -c -o zm_mpeg.o zm_mpeg.cpp; \
then mv -f ".deps/zm_mpeg.Tpo" ".deps/zm_mpeg.Po"; else rm -f ".deps/zm_mpeg.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_jpeg.o -MD -MP -MF ".deps/zm_jpeg.Tpo" -c -o zm_jpeg.o zm_jpeg.c; \
then mv -f ".deps/zm_jpeg.Tpo" ".deps/zm_jpeg.Po"; else rm -f ".deps/zm_jpeg.Tpo"; exit 1; fi
zm_jpeg.c: In function ‘zm_jpeg_error_exit’:
zm_jpeg.c:40: warning: incompatible implicit declaration of built-in function ‘exit’
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_regexp.o -MD -MP -MF ".deps/zm_regexp.Tpo" -c -o zm_regexp.o zm_regexp.cpp; \
then mv -f ".deps/zm_regexp.Tpo" ".deps/zm_regexp.Po"; else rm -f ".deps/zm_regexp.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_buffer.o -MD -MP -MF ".deps/zm_buffer.Tpo" -c -o zm_buffer.o zm_buffer.cpp; \
then mv -f ".deps/zm_buffer.Tpo" ".deps/zm_buffer.Po"; else rm -f ".deps/zm_buffer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_debug.o -MD -MP -MF ".deps/zm_debug.Tpo" -c -o zm_debug.o zm_debug.c; \
then mv -f ".deps/zm_debug.Tpo" ".deps/zm_debug.Po"; else rm -f ".deps/zm_debug.Tpo"; exit 1; fi
g++ -g -O2 -L/usr -L/usr/lib -L/usr/lib/mysql -o zmc zmc.o zm.o zm_db.o zm_config.o zm_coord.o zm_box.o zm_image.o zm_event.o zm_zone.o zm_camera.o zm_local_camera.o zm_remote_camera.o zm_file_camera.o zm_monitor.o zm_user.o zm_mpeg.o zm_jpeg.o zm_regexp.o zm_buffer.o zm_debug.o -lmysqlclient -ldl -lz -ljpeg
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zma.o -MD -MP -MF ".deps/zma.Tpo" -c -o zma.o zma.cpp; \
then mv -f ".deps/zma.Tpo" ".deps/zma.Po"; else rm -f ".deps/zma.Tpo"; exit 1; fi
g++ -g -O2 -L/usr -L/usr/lib -L/usr/lib/mysql -o zma zma.o zm.o zm_db.o zm_config.o zm_coord.o zm_box.o zm_image.o zm_event.o zm_zone.o zm_camera.o zm_local_camera.o zm_remote_camera.o zm_file_camera.o zm_monitor.o zm_user.o zm_mpeg.o zm_jpeg.o zm_regexp.o zm_buffer.o zm_debug.o -lmysqlclient -ldl -lz -ljpeg
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zmu.o -MD -MP -MF ".deps/zmu.Tpo" -c -o zmu.o zmu.cpp; \
then mv -f ".deps/zmu.Tpo" ".deps/zmu.Po"; else rm -f ".deps/zmu.Tpo"; exit 1; fi
g++ -g -O2 -L/usr -L/usr/lib -L/usr/lib/mysql -o zmu zmu.o zm.o zm_db.o zm_config.o zm_coord.o zm_box.o zm_image.o zm_event.o zm_zone.o zm_camera.o zm_local_camera.o zm_remote_camera.o zm_file_camera.o zm_monitor.o zm_user.o zm_mpeg.o zm_jpeg.o zm_regexp.o zm_buffer.o zm_debug.o -lmysqlclient -ldl -lz -ljpeg
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zms.o -MD -MP -MF ".deps/zms.Tpo" -c -o zms.o zms.cpp; \
then mv -f ".deps/zms.Tpo" ".deps/zms.Po"; else rm -f ".deps/zms.Tpo"; exit 1; fi
g++ -g -O2 -L/usr -L/usr/lib -L/usr/lib/mysql -o zms zms.o zm.o zm_db.o zm_config.o zm_coord.o zm_box.o zm_image.o zm_event.o zm_zone.o zm_camera.o zm_local_camera.o zm_remote_camera.o zm_file_camera.o zm_monitor.o zm_user.o zm_mpeg.o zm_jpeg.o zm_regexp.o zm_buffer.o zm_debug.o -lmysqlclient -ldl -lz -ljpeg
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zmf.o -MD -MP -MF ".deps/zmf.Tpo" -c -o zmf.o zmf.cpp; \
then mv -f ".deps/zmf.Tpo" ".deps/zmf.Po"; else rm -f ".deps/zmf.Tpo"; exit 1; fi
g++ -g -O2 -L/usr -L/usr/lib -L/usr/lib/mysql -o zmf zmf.o zm.o zm_db.o zm_config.o zm_coord.o zm_box.o zm_image.o zm_event.o zm_zone.o zm_camera.o zm_local_camera.o zm_remote_camera.o zm_file_camera.o zm_monitor.o zm_user.o zm_mpeg.o zm_jpeg.o zm_regexp.o zm_buffer.o zm_debug.o -lmysqlclient -ldl -lz -ljpeg
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zmfix.o -MD -MP -MF ".deps/zmfix.Tpo" -c -o zmfix.o zmfix.cpp; \
then mv -f ".deps/zmfix.Tpo" ".deps/zmfix.Po"; else rm -f ".deps/zmfix.Tpo"; exit 1; fi
g++ -g -O2 -L/usr -L/usr/lib -L/usr/lib/mysql -o zmfix zmfix.o zm_config.o zm_regexp.o zm_debug.o zm_db.o zm.o -lmysqlclient -ldl -lz -ljpeg
make[2]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/src'
Making all in web
make[2]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/web'
Making all in graphics
make[3]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/web/graphics'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/web/graphics'
make[3]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/web'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/web'
make[2]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/web'
Making all in scripts
make[2]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/scripts'
Making all in db
make[2]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/db'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/db'
make[2]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4'
make[1]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4'

than you cordel for your patience and help....

Bay
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

There doesn't appear to be any errors in your build. Apart from the fact that you haven't installed it, what appears to be the problem?

Phil
germandms
Posts: 40
Joined: Mon Oct 03, 2005 2:19 pm

mmmm?????????

Post by germandms »

thank you.....

and how to install?????????

make
make install?????????

linux:/usr/src/packages/BUILD/zm-1.21.4 # make install
Making install in src
make[1]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/src'
make[2]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/src'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
/usr/bin/install -c 'zmc' '/usr/local/bin/zmc'
/usr/bin/install -c 'zma' '/usr/local/bin/zma'
/usr/bin/install -c 'zmu' '/usr/local/bin/zmu'
/usr/bin/install -c 'zms' '/usr/local/bin/zms'
/usr/bin/install -c 'zmf' '/usr/local/bin/zmf'
/usr/bin/install -c 'zmfix' '/usr/local/bin/zmfix'
make install-exec-hook
make[3]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/src'
( cd /usr/local/bin; mkdir -p /srv/www/cgi-bin/; mv zms /srv/www/cgi-bin/ )
( cd /srv/www/cgi-bin/; chown wwwrun:www zms; ln -f zms nph-zms )
( cd /usr/local/bin; chmod u+s zmfix )
make[3]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/src'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/src'
make[1]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/src'
Making install in web
make[1]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/web'
Making install in graphics
make[2]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/web/graphics'
make[3]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/web/graphics'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/srv/www/htdocs/zm/graphics" || mkdir -p -- "/srv/www/htdocs/zm/graphics"
/usr/bin/install -c -m 644 'arrow-d.gif' '/srv/www/htdocs/zm/graphics/arrow-d.gif'
/usr/bin/install -c -m 644 'arrow-dl.gif' '/srv/www/htdocs/zm/graphics/arrow-dl.gif'
/usr/bin/install -c -m 644 'arrow-dr.gif' '/srv/www/htdocs/zm/graphics/arrow-dr.gif'
/usr/bin/install -c -m 644 'arrow-l.gif' '/srv/www/htdocs/zm/graphics/arrow-l.gif'
/usr/bin/install -c -m 644 'arrow-r.gif' '/srv/www/htdocs/zm/graphics/arrow-r.gif'
/usr/bin/install -c -m 644 'arrow-u.gif' '/srv/www/htdocs/zm/graphics/arrow-u.gif'
/usr/bin/install -c -m 644 'arrow-ul.gif' '/srv/www/htdocs/zm/graphics/arrow-ul.gif'
/usr/bin/install -c -m 644 'arrow-ur.gif' '/srv/www/htdocs/zm/graphics/arrow-ur.gif'
/usr/bin/install -c -m 644 'arrow-l-u.gif' '/srv/www/htdocs/zm/graphics/arrow-l-u.gif'
/usr/bin/install -c -m 644 'arrow-l-d.gif' '/srv/www/htdocs/zm/graphics/arrow-l-d.gif'
/usr/bin/install -c -m 644 'center.gif' '/srv/www/htdocs/zm/graphics/center.gif'
/usr/bin/install -c -m 644 'seq-u.gif' '/srv/www/htdocs/zm/graphics/seq-u.gif'
/usr/bin/install -c -m 644 'seq-d.gif' '/srv/www/htdocs/zm/graphics/seq-d.gif'
/usr/bin/install -c -m 644 'spacer.gif' '/srv/www/htdocs/zm/graphics/spacer.gif'
make install-data-hook
make[4]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/web/graphics'
( cd /srv/www/htdocs/zm/graphics; chown wwwrun:www arrow-d.gif arrow-dl.gif arrow-dr.gif arrow-l.gif arrow-r.gif arrow-u.gif arrow-ul.gif arrow-ur.gif arrow-l-u.gif arrow-l-d.gif center.gif seq-u.gif seq-d.gif spacer.gif )
make[4]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/web/graphics'
make[3]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/web/graphics'
make[2]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/web/graphics'
make[2]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/web'
make[3]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/web'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/srv/www/htdocs/zm" || mkdir -p -- "/srv/www/htdocs/zm"
/usr/bin/install -c -m 644 'favicon.ico' '/srv/www/htdocs/zm/favicon.ico'
/usr/bin/install -c -m 644 'zm.php' '/srv/www/htdocs/zm/zm.php'
/usr/bin/install -c -m 644 'zm_actions.php' '/srv/www/htdocs/zm/zm_actions.php'
/usr/bin/install -c -m 644 'zm_config.php' '/srv/www/htdocs/zm/zm_config.php'
/usr/bin/install -c -m 644 'zm_control_funcs.php' '/srv/www/htdocs/zm/zm_control_funcs.php'
/usr/bin/install -c -m 644 'zm_db.php' '/srv/www/htdocs/zm/zm_db.php'
/usr/bin/install -c -m 644 'zm_export_funcs.php' '/srv/www/htdocs/zm/zm_export_funcs.php'
/usr/bin/install -c -m 644 'zm_funcs.php' '/srv/www/htdocs/zm/zm_funcs.php'
/usr/bin/install -c -m 644 'zm_html.php' '/srv/www/htdocs/zm/zm_html.php'
/usr/bin/install -c -m 644 'zm_html_styles.css' '/srv/www/htdocs/zm/zm_html_styles.css'
/usr/bin/install -c -m 644 'zm_html_view_bandwidth.php' '/srv/www/htdocs/zm/zm_html_view_bandwidth.php'
/usr/bin/install -c -m 644 'zm_html_view_blank.php' '/srv/www/htdocs/zm/zm_html_view_blank.php'
/usr/bin/install -c -m 644 'zm_html_view_console.php' '/srv/www/htdocs/zm/zm_html_view_console.php'
/usr/bin/install -c -m 644 'zm_html_view_control.php' '/srv/www/htdocs/zm/zm_html_view_control.php'
/usr/bin/install -c -m 644 'zm_html_view_controlcaps.php' '/srv/www/htdocs/zm/zm_html_view_controlcaps.php'
/usr/bin/install -c -m 644 'zm_html_view_controlmenu.php' '/srv/www/htdocs/zm/zm_html_view_controlmenu.php'
/usr/bin/install -c -m 644 'zm_html_view_controlpanel.php' '/srv/www/htdocs/zm/zm_html_view_controlpanel.php'
/usr/bin/install -c -m 644 'zm_html_view_controlpreset.php' '/srv/www/htdocs/zm/zm_html_view_controlpreset.php'
/usr/bin/install -c -m 644 'zm_html_view_controlcaps.php' '/srv/www/htdocs/zm/zm_html_view_controlcaps.php'
/usr/bin/install -c -m 644 'zm_html_view_controlcap.php' '/srv/www/htdocs/zm/zm_html_view_controlcap.php'
/usr/bin/install -c -m 644 'zm_html_view_cycle.php' '/srv/www/htdocs/zm/zm_html_view_cycle.php'
/usr/bin/install -c -m 644 'zm_html_view_donate.php' '/srv/www/htdocs/zm/zm_html_view_donate.php'
/usr/bin/install -c -m 644 'zm_html_view_error.php' '/srv/www/htdocs/zm/zm_html_view_error.php'
/usr/bin/install -c -m 644 'zm_html_view_event.php' '/srv/www/htdocs/zm/zm_html_view_event.php'
/usr/bin/install -c -m 644 'zm_html_view_eventdetail.php' '/srv/www/htdocs/zm/zm_html_view_eventdetail.php'
/usr/bin/install -c -m 644 'zm_html_view_events.php' '/srv/www/htdocs/zm/zm_html_view_events.php'
/usr/bin/install -c -m 644 'zm_html_view_export.php' '/srv/www/htdocs/zm/zm_html_view_export.php'
/usr/bin/install -c -m 644 'zm_html_view_filter.php' '/srv/www/htdocs/zm/zm_html_view_filter.php'
/usr/bin/install -c -m 644 'zm_html_view_filtersave.php' '/srv/www/htdocs/zm/zm_html_view_filtersave.php'
/usr/bin/install -c -m 644 'zm_html_view_frame.php' '/srv/www/htdocs/zm/zm_html_view_frame.php'
/usr/bin/install -c -m 644 'zm_html_view_frames.php' '/srv/www/htdocs/zm/zm_html_view_frames.php'
/usr/bin/install -c -m 644 'zm_html_view_function.php' '/srv/www/htdocs/zm/zm_html_view_function.php'
/usr/bin/install -c -m 644 'zm_html_view_login.php' '/srv/www/htdocs/zm/zm_html_view_login.php'
/usr/bin/install -c -m 644 'zm_html_view_groups.php' '/srv/www/htdocs/zm/zm_html_view_groups.php'
/usr/bin/install -c -m 644 'zm_html_view_logout.php' '/srv/www/htdocs/zm/zm_html_view_logout.php'
/usr/bin/install -c -m 644 'zm_html_view_monitor.php' '/srv/www/htdocs/zm/zm_html_view_monitor.php'
/usr/bin/install -c -m 644 'zm_html_view_montagefeed.php' '/srv/www/htdocs/zm/zm_html_view_montagefeed.php'
/usr/bin/install -c -m 644 'zm_html_view_montageframe.php' '/srv/www/htdocs/zm/zm_html_view_montageframe.php'
/usr/bin/install -c -m 644 'zm_html_view_montagemenu.php' '/srv/www/htdocs/zm/zm_html_view_montagemenu.php'
/usr/bin/install -c -m 644 'zm_html_view_montage.php' '/srv/www/htdocs/zm/zm_html_view_montage.php'
/usr/bin/install -c -m 644 'zm_html_view_montagestatus.php' '/srv/www/htdocs/zm/zm_html_view_montagestatus.php'
/usr/bin/install -c -m 644 'zm_html_view_none.php' '/srv/www/htdocs/zm/zm_html_view_none.php'
/usr/bin/install -c -m 644 'zm_html_view_optionhelp.php' '/srv/www/htdocs/zm/zm_html_view_optionhelp.php'
/usr/bin/install -c -m 644 'zm_html_view_options.php' '/srv/www/htdocs/zm/zm_html_view_options.php'
/usr/bin/install -c -m 644 'zm_html_view_postlogin.php' '/srv/www/htdocs/zm/zm_html_view_postlogin.php'
/usr/bin/install -c -m 644 'zm_html_view_settings.php' '/srv/www/htdocs/zm/zm_html_view_settings.php'
/usr/bin/install -c -m 644 'zm_html_view_state.php' '/srv/www/htdocs/zm/zm_html_view_state.php'
/usr/bin/install -c -m 644 'zm_html_view_stats.php' '/srv/www/htdocs/zm/zm_html_view_stats.php'
/usr/bin/install -c -m 644 'zm_html_view_timeline.php' '/srv/www/htdocs/zm/zm_html_view_timeline.php'
/usr/bin/install -c -m 644 'zm_html_view_user.php' '/srv/www/htdocs/zm/zm_html_view_user.php'
/usr/bin/install -c -m 644 'zm_html_view_version.php' '/srv/www/htdocs/zm/zm_html_view_version.php'
/usr/bin/install -c -m 644 'zm_html_view_video.php' '/srv/www/htdocs/zm/zm_html_view_video.php'
/usr/bin/install -c -m 644 'zm_html_view_watchevents.php' '/srv/www/htdocs/zm/zm_html_view_watchevents.php'
/usr/bin/install -c -m 644 'zm_html_view_watchfeed.php' '/srv/www/htdocs/zm/zm_html_view_watchfeed.php'
/usr/bin/install -c -m 644 'zm_html_view_watchmenu.php' '/srv/www/htdocs/zm/zm_html_view_watchmenu.php'
/usr/bin/install -c -m 644 'zm_html_view_watch.php' '/srv/www/htdocs/zm/zm_html_view_watch.php'
/usr/bin/install -c -m 644 'zm_html_view_watchstatus.php' '/srv/www/htdocs/zm/zm_html_view_watchstatus.php'
/usr/bin/install -c -m 644 'zm_html_view_zone.php' '/srv/www/htdocs/zm/zm_html_view_zone.php'
/usr/bin/install -c -m 644 'zm_html_view_zones.php' '/srv/www/htdocs/zm/zm_html_view_zones.php'
/usr/bin/install -c -m 644 'zm_xhtml.php' '/srv/www/htdocs/zm/zm_xhtml.php'
/usr/bin/install -c -m 644 'zm_xhtml_styles.css' '/srv/www/htdocs/zm/zm_xhtml_styles.css'
/usr/bin/install -c -m 644 'zm_xhtml_view_console.php' '/srv/www/htdocs/zm/zm_xhtml_view_console.php'
/usr/bin/install -c -m 644 'zm_xhtml_view_error.php' '/srv/www/htdocs/zm/zm_xhtml_view_error.php'
/usr/bin/install -c -m 644 'zm_xhtml_view_eventdetails.php' '/srv/www/htdocs/zm/zm_xhtml_view_eventdetails.php'
/usr/bin/install -c -m 644 'zm_xhtml_view_event.php' '/srv/www/htdocs/zm/zm_xhtml_view_event.php'
/usr/bin/install -c -m 644 'zm_xhtml_view_events.php' '/srv/www/htdocs/zm/zm_xhtml_view_events.php'
/usr/bin/install -c -m 644 'zm_xhtml_view_filter.php' '/srv/www/htdocs/zm/zm_xhtml_view_filter.php'
/usr/bin/install -c -m 644 'zm_xhtml_view_frame.php' '/srv/www/htdocs/zm/zm_xhtml_view_frame.php'
/usr/bin/install -c -m 644 'zm_xhtml_view_function.php' '/srv/www/htdocs/zm/zm_xhtml_view_function.php'
/usr/bin/install -c -m 644 'zm_xhtml_view_login.php' '/srv/www/htdocs/zm/zm_xhtml_view_login.php'
/usr/bin/install -c -m 644 'zm_xhtml_view_montage.php' '/srv/www/htdocs/zm/zm_xhtml_view_montage.php'
/usr/bin/install -c -m 644 'zm_xhtml_view_state.php' '/srv/www/htdocs/zm/zm_xhtml_view_state.php'
/usr/bin/install -c -m 644 'zm_xhtml_view_video.php' '/srv/www/htdocs/zm/zm_xhtml_view_video.php'
/usr/bin/install -c -m 644 'zm_xhtml_view_watch.php' '/srv/www/htdocs/zm/zm_xhtml_view_watch.php'
/usr/bin/install -c -m 644 'zm_wml.php' '/srv/www/htdocs/zm/zm_wml.php'
/usr/bin/install -c -m 644 'zm_wml_view_login.php' '/srv/www/htdocs/zm/zm_wml_view_login.php'
/usr/bin/install -c -m 644 'zm_wml_view_postlogin.php' '/srv/www/htdocs/zm/zm_wml_view_postlogin.php'
/usr/bin/install -c -m 644 'zm_wml_view_console.php' '/srv/www/htdocs/zm/zm_wml_view_console.php'
/usr/bin/install -c -m 644 'zm_wml_view_feed.php' '/srv/www/htdocs/zm/zm_wml_view_feed.php'
/usr/bin/install -c -m 644 'zm_wml_view_error.php' '/srv/www/htdocs/zm/zm_wml_view_error.php'
/usr/bin/install -c -m 644 'zm_lang.php' '/srv/www/htdocs/zm/zm_lang.php'
/usr/bin/install -c -m 644 'zm_lang_de_de.php' '/srv/www/htdocs/zm/zm_lang_de_de.php'
/usr/bin/install -c -m 644 'zm_lang_en_gb.php' '/srv/www/htdocs/zm/zm_lang_en_gb.php'
/usr/bin/install -c -m 644 'zm_lang_en_us.php' '/srv/www/htdocs/zm/zm_lang_en_us.php'
/usr/bin/install -c -m 644 'zm_lang_fr_fr.php' '/srv/www/htdocs/zm/zm_lang_fr_fr.php'
/usr/bin/install -c -m 644 'zm_lang_ja_jp.php' '/srv/www/htdocs/zm/zm_lang_ja_jp.php'
/usr/bin/install -c -m 644 'zm_lang_pl_pl.php' '/srv/www/htdocs/zm/zm_lang_pl_pl.php'
/usr/bin/install -c -m 644 'zm_lang_ru_ru.php' '/srv/www/htdocs/zm/zm_lang_ru_ru.php'
/usr/bin/install -c -m 644 'zm_lang_nl_nl.php' '/srv/www/htdocs/zm/zm_lang_nl_nl.php'
/usr/bin/install -c -m 644 'zm_lang_it_it.php' '/srv/www/htdocs/zm/zm_lang_it_it.php'
/usr/bin/install -c -m 644 'zm_lang_it_it2.php' '/srv/www/htdocs/zm/zm_lang_it_it2.php'
/usr/bin/install -c -m 644 'zm_lang_es_ar.php' '/srv/www/htdocs/zm/zm_lang_es_ar.php'
/usr/bin/install -c -m 644 'zm_lang_pt_br.php' '/srv/www/htdocs/zm/zm_lang_pt_br.php'
/usr/bin/install -c -m 644 'zm_lang_dk_dk.php' '/srv/www/htdocs/zm/zm_lang_dk_dk.php'
make install-data-hook
make[4]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/web'
( cd /srv/www/htdocs/zm; chown wwwrun:www favicon.ico zm.php zm_actions.php zm_config.php zm_control_funcs.php zm_db.php zm_export_funcs.php zm_funcs.php zm_html.php zm_html_styles.css zm_html_view_bandwidth.php zm_html_view_blank.php zm_html_view_console.php zm_html_view_control.php zm_html_view_controlcaps.php zm_html_view_controlmenu.php zm_html_view_controlpanel.php zm_html_view_controlpreset.php zm_html_view_controlcaps.php zm_html_view_controlcap.php zm_html_view_cycle.php zm_html_view_donate.php zm_html_view_error.php zm_html_view_event.php zm_html_view_eventdetail.php zm_html_view_events.php zm_html_view_export.php zm_html_view_filter.php zm_html_view_filtersave.php zm_html_view_frame.php zm_html_view_frames.php zm_html_view_function.php zm_html_view_login.php zm_html_view_groups.php zm_html_view_logout.php zm_html_view_monitor.php zm_html_view_montagefeed.php zm_html_view_montageframe.php zm_html_view_montagemenu.php zm_html_view_montage.php zm_html_view_montagestatus.php zm_html_view_none.php zm_html_view_optionhelp.php zm_html_view_options.php zm_html_view_postlogin.php zm_html_view_settings.php zm_html_view_state.php zm_html_view_stats.php zm_html_view_timeline.php zm_html_view_user.php zm_html_view_version.php zm_html_view_video.php zm_html_view_watchevents.php zm_html_view_watchfeed.php zm_html_view_watchmenu.php zm_html_view_watch.php zm_html_view_watchstatus.php zm_html_view_zone.php zm_html_view_zones.php zm_xhtml.php zm_xhtml_styles.css zm_xhtml_view_console.php zm_xhtml_view_error.php zm_xhtml_view_eventdetails.php zm_xhtml_view_event.php zm_xhtml_view_events.php zm_xhtml_view_filter.php zm_xhtml_view_frame.php zm_xhtml_view_function.php zm_xhtml_view_login.php zm_xhtml_view_montage.php zm_xhtml_view_state.php zm_xhtml_view_video.php zm_xhtml_view_watch.php zm_wml.php zm_wml_view_login.php zm_wml_view_postlogin.php zm_wml_view_console.php zm_wml_view_feed.php zm_wml_view_error.php zm_lang.php zm_lang_de_de.php zm_lang_en_gb.php zm_lang_en_us.php zm_lang_fr_fr.php zm_lang_ja_jp.php zm_lang_pl_pl.php zm_lang_ru_ru.php zm_lang_nl_nl.php zm_lang_it_it.php zm_lang_it_it2.php zm_lang_es_ar.php zm_lang_pt_br.php zm_lang_dk_dk.php )
( cd /srv/www/htdocs/zm; ln -s zm.php index.php )
ln: creating symbolic link `index.php' to `zm.php': File exists
make[4]: [install-data-hook] Error 1 (ignored)
make[4]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/web'
make[3]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/web'
make[2]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/web'
make[1]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/web'
Making install in scripts
make[1]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/scripts'
make[2]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/scripts'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
/usr/bin/install -c 'zmdc.pl' '/usr/local/bin/zmdc.pl'
/usr/bin/install -c 'zmaudit.pl' '/usr/local/bin/zmaudit.pl'
/usr/bin/install -c 'zmfilter.pl' '/usr/local/bin/zmfilter.pl'
/usr/bin/install -c 'zmtrigger.pl' '/usr/local/bin/zmtrigger.pl'
/usr/bin/install -c 'zmx10.pl' '/usr/local/bin/zmx10.pl'
/usr/bin/install -c 'zmwatch.pl' '/usr/local/bin/zmwatch.pl'
/usr/bin/install -c 'zmpkg.pl' '/usr/local/bin/zmpkg.pl'
/usr/bin/install -c 'zmupdate.pl' '/usr/local/bin/zmupdate.pl'
/usr/bin/install -c 'zmvideo.pl' '/usr/local/bin/zmvideo.pl'
/usr/bin/install -c 'zmcontrol-pelco-d.pl' '/usr/local/bin/zmcontrol-pelco-d.pl'
/usr/bin/install -c 'zmcontrol-pelco-p.pl' '/usr/local/bin/zmcontrol-pelco-p.pl'
/usr/bin/install -c 'zmcontrol-visca.pl' '/usr/local/bin/zmcontrol-visca.pl'
/usr/bin/install -c 'zmcontrol-kx-hcm10.pl' '/usr/local/bin/zmcontrol-kx-hcm10.pl'
/usr/bin/install -c 'zmcontrol-axis-v2.pl' '/usr/local/bin/zmcontrol-axis-v2.pl'
/usr/bin/install -c 'zmtrack.pl' '/usr/local/bin/zmtrack.pl'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/scripts'
make[1]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/scripts'
Making install in db
make[1]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/db'
make[2]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4/db'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/db'
make[1]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4/db'
make[1]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4'
make[2]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4'
test -z "/usr/local/etc" || mkdir -p -- "/usr/local/etc"
/usr/bin/install -c -m 644 'zm.conf' '/usr/local/etc/zm.conf'
make install-data-hook
make[3]: Entering directory `/usr/src/packages/BUILD/zm-1.21.4'
( cd /usr/local/etc; chown wwwrun:www zm.conf; chmod 600 zm.conf )
make[3]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4'
make[2]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4'
make[1]: Leaving directory `/usr/src/packages/BUILD/zm-1.21.4'
linux:/usr/src/packages/BUILD/zm-1.21.4 #

now estaria ready I must do
chkconfig --add zm

help please
Last edited by germandms on Wed Nov 16, 2005 8:16 pm, edited 1 time in total.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Run make install to install.
You have done one thing out of order though:
perl zmconfig.pl --noi needs to be ran after you create the database with mysql mysql < db/zmschema.sql and the user.

Regards,
Cordel
germandms
Posts: 40
Joined: Mon Oct 03, 2005 2:19 pm

???????????

Post by germandms »

chkconfig --add zm
zm: unknown service
zm: not a runlevel service

how create zoneminder how a service?????????
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

you have to manually copy the zm script to the init.d directory and give it the correct permisions. then you can do the chkconfig --add zm

See here:
http://www.zoneminder.com/fileadmin/dow ... c119471302

Regards,
Cordel
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

reading all this lately how i love corey and ross for their rpm's

Cheers again people and good luck on this one
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
germandms
Posts: 40
Joined: Mon Oct 03, 2005 2:19 pm

final....

Post by germandms »

copy scrip zm to /etc/init.d/

# /etc/init.d/zm start
/etc/init.d/zm: line 6: /etc/rc.d/init.d/functions: No such file or directory

my scrip zm in line 6 is
# Source function library.
. /etc/rc.d/init.d/functions

that I must change ...o I have q to copy functions a /etc/rc.d/init.d/functions

thank you....

Bay
Locked