Installing 1.26.3
Posted: Wed Sep 11, 2013 6:03 pm
Just downloaded 1.26.3 today, it complied perfectly, but I keep running into error when I do a make install:
root@camserv02:/usr/src/ZoneMinder-1.26.3# make install
Making install in src
make[1]: Entering directory `/usr/src/ZoneMinder-1.26.3/src'
make[2]: Entering directory `/usr/src/ZoneMinder-1.26.3/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 `/usr/src/ZoneMinder-1.26.3/src'
( cd /usr/local/bin; mkdir -p /usr/local/bin; mv zms /usr/local/bin )
mv: `zms' and `/usr/local/bin/zms' are the same file
make[3]: *** [install-exec-hook] Error 1
make[3]: Leaving directory `/usr/src/ZoneMinder-1.26.3/src'
make[2]: *** [install-exec-am] Error 2
make[2]: Leaving directory `/usr/src/ZoneMinder-1.26.3/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/src/ZoneMinder-1.26.3/src'
make: *** [install-recursive] Error 1
root@camserv02:/usr/src/ZoneMinder-1.26.3#
When I look into the makefile, src/Makefile, I found:
# Yes, you are correct. This is a HACK!
install-exec-hook:
( cd $(DESTDIR)${exec_prefix}/bin; mkdir -p $(DESTDIR)$(cgidir); mv zms $(DESTDIR)$(cgidir) )
( cd $(DESTDIR)$(cgidir); chown $(webuser):$(webgroup) zms; ln -f zms nph-zms )
( cd $(DESTDIR)${exec_prefix}/bin; chmod u+s zmfix )
What am I suppose to do to pass this?
Many Thanks!!
root@camserv02:/usr/src/ZoneMinder-1.26.3# make install
Making install in src
make[1]: Entering directory `/usr/src/ZoneMinder-1.26.3/src'
make[2]: Entering directory `/usr/src/ZoneMinder-1.26.3/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 `/usr/src/ZoneMinder-1.26.3/src'
( cd /usr/local/bin; mkdir -p /usr/local/bin; mv zms /usr/local/bin )
mv: `zms' and `/usr/local/bin/zms' are the same file
make[3]: *** [install-exec-hook] Error 1
make[3]: Leaving directory `/usr/src/ZoneMinder-1.26.3/src'
make[2]: *** [install-exec-am] Error 2
make[2]: Leaving directory `/usr/src/ZoneMinder-1.26.3/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/src/ZoneMinder-1.26.3/src'
make: *** [install-recursive] Error 1
root@camserv02:/usr/src/ZoneMinder-1.26.3#
When I look into the makefile, src/Makefile, I found:
# Yes, you are correct. This is a HACK!
install-exec-hook:
( cd $(DESTDIR)${exec_prefix}/bin; mkdir -p $(DESTDIR)$(cgidir); mv zms $(DESTDIR)$(cgidir) )
( cd $(DESTDIR)$(cgidir); chown $(webuser):$(webgroup) zms; ln -f zms nph-zms )
( cd $(DESTDIR)${exec_prefix}/bin; chmod u+s zmfix )
What am I suppose to do to pass this?
Many Thanks!!