Talk:ZoneMinder/Archive1

Hi!

I don't think manually building an application in Gentoo is appropriate. This is all that ebuild was designed for.

I don't know why it's not in the portage, but in the "zugaina" portage overlay there IS an almost working ebuild.

I suggest to mention on this page: (I don't have the courage to edit it myself, and I'm not quiet sure)

You have to put

Then:

should work fine!

All the things on the page about the shm, and the web server config is fine (in fact I didn't check it, but at first glance, it's complete)

DBLaci

Hi

Great job

I was very sad when the ebuild was removed

Nice to see other gentoo users use zoneminder

Maybe the ebuild will come back

Cheers

Nigel

Hi

I followed the guide.

I had to change some things around uname -a Linux r210 3.2.1-gentoo-r2 #3 SMP Thu Mar 1 08:19:31 EST 2012 x86_64 Intel(R) Xeon(R) CPU X3440 @ 2.53GHz GenuineIntel GNU/Linux

emerge -av dev-perl/DateManip unmask LWP-UserAgent-Determined emerge -av dev-perl/LWP-UserAgent-Determined

./configure --with-webdir=/var/www/localhost/htdocs/zm --with-cgidir=/var/www/localhost/cgi-bin CPPFLAGS=-D__STDC_CONSTANT_MACROS --enable-mmap=no ZM_SSL_LIB=openssl |make |make install

looks like its working for me

Thanks for the wiki

Cheers

Nigel

Check out overlay zugaina for package www-misc/zoneminder

...Lyall

Hi Lyall

I checked out zugaina for zoneminder and it worked well.

I had to change a couple of things for my system (installed on a fresh/clean gentoo box)

I needed cambozola wget http://www.charliemouse.com:8080/code/cambozola/cambozola-latest.tar.gz tar -xzvf cambozola-latest.tar.gz cp cambozola-0.91/dist/cambozola.jar /var/www/zoneminder

The AXIS camera i have needed more memory sysctl kernel.shmall=16777216 sysctl kernel.shmmax=268435456 then i put them in vi /etc/sysctl.conf

sysctl -p ipcs -l

But the biggest problem was the location of cgi-bin

apache2 was throwing up. [Wed Apr 25 20:31:06 2012] [error] [client 192.168.1.115] client denied by server configuration: /var/www/localhost/cgi-bin, referer: http://192.168.1.252/zoneminder/index.php?view=watch&mid=2 It stopped any images in firefox. (zoneminder was recording fine)

I had to move it cp /var/www/zoneminder/cgi-bin/ /var/www/localhost/cgi-bin/

Now it works fine. (I have no idea about apache config's. Not sure i have done the right thing)

great job on the overlay

I also found that the image size returned from the camera was not the same size as requested. But i could not request the returned size

Cheers

Nigel

I wonder if it has something to do with vhosts