Zoneminder on Arch Linux ARM

Ask questions about Arch Linux ARM. Please search before making a new topic.

Re: Zoneminder on Arch Linux ARM

Postby pepedog » Thu Jul 21, 2011 2:38 pm

OK, I will have a go at building.
You could look at the package called screen. When run, you can disconnect and reconnect (even from another computer).
Also, your memory could be low, search forum for swapon
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Zoneminder on Arch Linux ARM

Postby WarheadsSE » Thu Jul 21, 2011 2:40 pm

Try
$this->bbcode_second_pass_code('', 'which patch')
If that doesn't show anything for it
$this->bbcode_second_pass_code('', 'pacman -Sy patch')
although I think it should be a part of the base-devel package which you ought to have installed if you are compiling.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Zoneminder on Arch Linux ARM

Postby Aarshad » Thu Jul 21, 2011 2:54 pm

Ok somehow got it working, its building, will keep you informed
Aarshad
 
Posts: 36
Joined: Wed Jun 08, 2011 8:42 am

Re: Zoneminder on Arch Linux ARM

Postby Aarshad » Thu Jul 21, 2011 3:06 pm

Ok now i am getting an videodev.h error, although the link exists !

I performed and i can see the link

# locate videodev.h
/usr/include/libv4l1-videodev.h
# ln -s /usr/include/libv4l1-videodev.h /usr/include/linux/videodev.h

The error still is :


$this->bbcode_second_pass_code('', '
checking for sys/socket.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking linux/videodev.h usability... no
checking linux/videodev.h presence... no
checking for linux/videodev.h... no
configure: error: zm requires Video4Linux to be installed
==> ERROR: A failure occurred in build().
Aborting...')

To my knowladge this is there !!
Aarshad
 
Posts: 36
Joined: Wed Jun 08, 2011 8:42 am

Re: Zoneminder on Arch Linux ARM

Postby pepedog » Thu Jul 21, 2011 3:27 pm

I think support was not compiled into current kernel
Looking for it, it's in my old stuff
$this->bbcode_second_pass_code('', '/usr/src/linux-2.6.34.1/include/linux/videodev.h
/usr/src/linux-2.6.35.1/include/linux/videodev.h
/usr/src/plugapps-plugapps-b204fb6/core/kernel26-dockstar/src/linux-2.6.35.6/include/linux/videodev.h
/usr/src/src/linux-2.6.35.4/include/linux/videodev.h')
I will dig a little more
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Zoneminder on Arch Linux ARM

Postby pepedog » Thu Jul 21, 2011 9:59 pm

V4L is gone, just V4L2 now, tried building latest zoneminder and hit other problems.
I am sure better men than I have spent time on this
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Zoneminder on Arch Linux ARM

Postby elk29n » Mon Jun 11, 2012 1:14 pm

$this->bbcode_second_pass_quote('pepedog', 'V')4L is gone, just V4L2 now, tried building latest zoneminder and hit other problems.
I am sure better men than I have spent time on this


Was the OP successful in installing and setting up Zoneminder? I've been thinking of doing this with my Dockstar using 2 Foscams but was torn between Zoneminder and Motion.

Suggestions Pepe? Anyone? I appreciate the help.
elk29n
 
Posts: 13
Joined: Sun Dec 26, 2010 1:13 am

Re: Zoneminder on Arch Linux ARM

Postby moonman » Sun Dec 02, 2012 12:11 pm

I've successfully built zoneminder and dependencies as I'm planning to use one of the plugs and an ip cam for video surveillance but I don't have an ip cam yet to test it out. Here are the packages if somebody wants to try:

http://music4dance.mine.nu/Downloads/Ar ... oneminder/
You can get the whole folder: http://music4dance.mine.nu/Downloads/Ar ... ?recursive

$this->bbcode_second_pass_quote('', 'N')ote for mysql:
==> To run Zoneminder, you must install the database running mysql service (as root):
==> "rc.d start mysqld" (in initscripts) or "systemctl start mysqld.service" (in systemd)
==> and add Zoneminder database typing (with passsword):
==> "mysqladmin --defaults-file=/etc/mysql/my.cnf -p -f reload"
==> "cat /usr/share/zoneminder/db/zm_create.sql | mysql --defaults-file=/etc/mysql/my.cnf -p"
==> "echo 'grant lock tables, alter,select,insert,update,delete on zm.* to 'zmuser'@localhost identified by "zmpass";' | mysql --defaults-file=/etc/mysql/my.cnf -p mysql"
==> (or without passsword):
==> "mysqladmin --defaults-file=/etc/mysql/my.cnf -f reload"
==> "cat /usr/share/zoneminder/db/zm_create.sql | mysql --defaults-file=/etc/mysql/my.cnf"
==> "echo 'grant lock tables, alter,select,insert,update,delete on zm.* to 'zmuser'@localhost identified by "zmpass";' | mysql --defaults-file=/etc/mysql/my.cnf mysql"

Note for php:
==> You must uncomment that line in /etc/php/php.ini:
==> "extension=mysql.so"
==> check and make sure these are uncommented:
==> "extension=gd.so"
==> "extension=gettext.so"
==> "extension=mcrypt.so"
==> "extension=mysqli.so"
==> "extension=session.so"
==> "extension=sockets.so"
==> "extension=openssl.so"
==> "extension=ftp.so"
==> "extension=zip.so"
==> check and add to open_basedir "/etc" and
==> "/srv/http/zoneminder" like so
==> "open_basedir = /home:/tmp:/usr/share/pear:/etc:/srv/http/zoneminder"
==> and set your timezone in php.ini:
==> "date.timezone = <your_country>/<your_city>"

Note for apache:
==> You must edit /etc/httpd/conf/httpd.conf and add the line:
==> "LoadModule php5_module modules/libphp5.so"
==> and:
==> "Include /etc/httpd/conf/extra/php5_module.conf"
==> "Include /etc/httpd/conf/extra/httpd-zoneminder.conf"


Install with:
$this->bbcode_second_pass_code('', 'cd ~
wget http://music4dance.mine.nu/Downloads/ArchLinuxArm/zoneminder/~folder.tar?recursive -O zoneminder.tar
tar xvf zoneminder.tar
cd zoneminder
pacman -U ./*.xz')
Last edited by moonman on Sun Dec 02, 2012 2:22 pm, edited 2 times in total.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Zoneminder on Arch Linux ARM

Postby pepedog » Sun Dec 02, 2012 12:23 pm

Should it be
"date.timezone = <your_continent>/<your_city>"
Instead of
"date.timezone = <your_country>/<your_city>"
I will delete this and tidy up other posts if edited, or not, to keep tidy
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Zoneminder on Arch Linux ARM

Postby moonman » Sun Dec 02, 2012 12:27 pm

Mine is set to Canada/Mountain. I hope everybody just knows their timezone :lol:
Thanks pepedog
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

PreviousNext

Return to User Questions

Who is online

Users browsing this forum: No registered users and 3 guests