You'll be amazed what Linux can do!

Welcome to Discover Linux
Monday, September 06 2010 @ 05:17 PM GMT

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ZoneMinder 1.24.2 release with Fedora 11/12

 
Post new topic   Reply to topic    discoverlinux.co.uk Forum Index -> Zoneminder CCTV
View previous topic :: View next topic  
Author Message
Admin
Site Admin


Joined: 01 Jan 2004
Posts: 67

PostPosted: Fri Dec 11, 2009 2:03 pm    Post subject: ZoneMinder 1.24.2 release with Fedora 11/12 Reply with quote

You should be able to just do "yum install zoneminder", create the zm database, find the zm_create.sql file (rpm -ql zoneminder) and import it to mysql, then start zoneminder. This didn't work for me due to 2 problems. First was php.ini section short_open_tag = Off, set to on

short_open_tag = On

Restart/reload apache

sudo service httpd restart

The other problem was zm_create.sql had duplicate indexes reported using phpMyAdmin. Removed all "INSERT INTO MonitorPresets" and "INSERT INTO MonitorPresets" in zm_create.sql and that imported cleanly.

http://www.zoneminder.com/forums/viewtopic.php?p=50242

Manual Install Version 1.24.2

Version 1.23.3 has always compiled ok on Fedora 9/10/11 but I had problems with version 1.24.2.

Problems with compiling fixed by adding #include <cstdio> to all .cpp files in src directory and removing ccache package (yum remove ccache)

http://www.zoneminder.com/forums/viewtopic.php?p=55152

http://www.zoneminder.com/forums/viewtopic.php?t=12515&sid=0da85eb2fc78917d7a78cf788603a320

If using ffmpeg and ffmpeg-devel packages you may see problem compiling with libavutil.a . I could not get ffmpeg to compile so downloaded the Fedora source package and compiled it manually.

yumdownloader --source ffmpeg

sudo rpm -Uvh ffmpeg-0.5-5.20091026svn.fc12.src.rpm

Needed the following packages

sudo yum install dirac-devel faad2-devel gsm-devel imlib2-devel lame-devel libdc1394-devel libtheora-devel libvdpau-devel openjpeg-devel schroedinger-devel speex-devel texi2html x264-devel xvidcore-devel yasm

See http://fozzolog.fozzilinymoo.org/tech/2009/11/recompiling-ffmpeg-for-fedora-12-to-add-faac-support.html (don't need to add faac support, just follow procedure)

My rpmbuild failed so from the BUILD/ffmpeg-20091026

make
sudo make install
sudo make install-libs

and configured ZoneMinder to use /usr/local for FFMPEG

./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass --with-extralibs="-L/usr -L/usr/lib/mysql" ZM_SSL_LIB=openssl --with-ffmpeg=/usr/local
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    discoverlinux.co.uk Forum Index -> Zoneminder CCTV All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group