Installing 1.26.3

Forum for questions and support relating to the 1.26.x releases only.
Locked
wongda1
Posts: 2
Joined: Wed Sep 11, 2013 5:55 pm

Installing 1.26.3

Post by wongda1 »

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!!
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Installing 1.26.3

Post by knight-of-ni »

Notice that $cgidir is empty. It shouldn't be. Two things come to mind:
Did you run bootstrap.sh before running configure?
How did you run confgure? We need to see all the options you passed to it because that is likely where the problem is.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked