Used the manual and all was going OK, but then I reached the step "make install" something went wrong, I'm new to linux and Zoneminder, maybe someone could tell how to solve my problem, here is the "make instal" log:
SUSE:/home/valery/bin/ZoneMinder-1.22.1 # make install
Making install in src
make[1]: Entering directory `/home/valery/bin/ZoneMinder-1.22.1/src'
make[2]: Entering directory `/home/valery/bin/ZoneMinder-1.22.1/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 `/home/valery/bin/ZoneMinder-1.22.1/src'
( cd /usr/local/bin; mkdir -p /var/www/cgi-bin; mv zms /var/www/cgi-bin )
( cd /var/www/cgi-bin; chown apache:apache zms; ln -f zms nph-zms )
chown: `apache:apache': invalid user
( cd /usr/local/bin; chmod u+s zmfix )
make[3]: Leaving directory `/home/valery/bin/ZoneMinder-1.22.1/src'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/valery/bin/ZoneMinder-1.22.1/src'
make[1]: Leaving directory `/home/valery/bin/ZoneMinder-1.22.1/src'
Making install in web
make[1]: Entering directory `/home/valery/bin/ZoneMinder-1.22.1/web'
Making install in graphics
make[2]: Entering directory `/home/valery/bin/ZoneMinder-1.22.1/web/graphics'
make[3]: Entering directory `/home/valery/bin/ZoneMinder-1.22.1/web/graphics'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/var/www/html/zm/graphics" || mkdir -p -- "/var/www/html/zm/graphics"
/usr/bin/install -c -m 644 'arrow-d.gif' '/var/www/html/zm/graphics/arrow-d.gif'
/usr/bin/install -c -m 644 'arrow-dl.gif' '/var/www/html/zm/graphics/arrow-dl.gif'
/usr/bin/install -c -m 644 'arrow-dr.gif' '/var/www/html/zm/graphics/arrow-dr.gif'
/usr/bin/install -c -m 644 'arrow-l.gif' '/var/www/html/zm/graphics/arrow-l.gif'
/usr/bin/install -c -m 644 'arrow-r.gif' '/var/www/html/zm/graphics/arrow-r.gif'
/usr/bin/install -c -m 644 'arrow-u.gif' '/var/www/html/zm/graphics/arrow-u.gif'
/usr/bin/install -c -m 644 'arrow-ul.gif' '/var/www/html/zm/graphics/arrow-ul.gif'
/usr/bin/install -c -m 644 'arrow-ur.gif' '/var/www/html/zm/graphics/arrow-ur.gif'
/usr/bin/install -c -m 644 'arrow-l-u.gif' '/var/www/html/zm/graphics/arrow-l-u.gif'
/usr/bin/install -c -m 644 'arrow-l-d.gif' '/var/www/html/zm/graphics/arrow-l-d.gif'
/usr/bin/install -c -m 644 'center.gif' '/var/www/html/zm/graphics/center.gif'
/usr/bin/install -c -m 644 'seq-u.gif' '/var/www/html/zm/graphics/seq-u.gif'
/usr/bin/install -c -m 644 'seq-d.gif' '/var/www/html/zm/graphics/seq-d.gif'
/usr/bin/install -c -m 644 'point-g.gif' '/var/www/html/zm/graphics/point-g.gif'
/usr/bin/install -c -m 644 'point-o.gif' '/var/www/html/zm/graphics/point-o.gif'
/usr/bin/install -c -m 644 'point-r.gif' '/var/www/html/zm/graphics/point-r.gif'
/usr/bin/install -c -m 644 'spacer.gif' '/var/www/html/zm/graphics/spacer.gif'
make install-data-hook
make[4]: Entering directory `/home/valery/bin/ZoneMinder-1.22.1/web/graphics'
( cd /var/www/html/zm/graphics; chown apache:apache 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 point-g.gif point-o.gif point-r.gif spacer.gif )
chown: `apache:apache': invalid user
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory `/home/valery/bin/ZoneMinder-1.22.1/web/graphics'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/home/valery/bin/ZoneMinder-1.22.1/web/graphics'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/valery/bin/ZoneMinder-1.22.1/web/graphics'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/valery/bin/ZoneMinder-1.22.1/web'
make: *** [install-recursive] Error 1
As I understand problem is in: chown: `apache:apache': invalid user
But I don't know how to figure it out... I started apache2 service, I tryed to install as SU, and as usual user - did't worked out...
Problem with installing zm on SUSE
I followed this guide and got it going, my camera is not fully working, but I got ZM working:
http://www.zoneminder.com/forums/viewto ... ce01d45cc5
http://www.zoneminder.com/forums/viewto ... ce01d45cc5
-
- Posts: 1
- Joined: Tue May 09, 2006 10:52 am
On my SuSE system, apache and apache are not the user and group for my www settings. I can't remember if I configured these manually or if they are the default settings for SuSE systems, but the command I used to succesfully build the system is as follows:
That includes the correct webuser and webgroup settings for my system, and the correct locations for the various things required.
Hopefully these will be the same for you since you are also on SuSE.
Code: Select all
./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin CPPFLAGS="-I/usr/local/ssl/include" --with-webuser=wwwrun --with-webgroup=www
Hopefully these will be the same for you since you are also on SuSE.