OK, I have been all over the forum trying to put together a step by step on installing the latest ZoneMinder on the latest CentOS, but I have hit a snag.
I start from within /root/
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
wget http://www2.zoneminder.com/downloads/ZoneMinder-1.23.3.tar.gz
wget http://www.zoneminder.com/fileadmin/downloads/cambozola.jar
yum install mysql mysql-bench mysql-server mysql-devel mysqlclient10 php php-gd php-mysql httpd gcc pcre-devel gd mod_ssl glib2-devel gcc-c++ ntp gnutls-devel libjpeg-devel perl-Archive-Tar perl-MIME-Lite perl-MIME-tools perl-Date-Manip perl-Time-HiRes perl-LWP-UserAgent-Determined perl-PHP-Serialization perl-Device-SerialPort perl-Archive-Zip perl-Module-Load
yum -y update
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd ffmpeg/
./configure --enable-gpl --enable-swscale --prefix=/usr
make
make install
make install-libs
chkconfig httpd on
chkconfig mysqld on
chkconfig ntpd on
service httpd start
service mysqld start
service ntpd start
cd /root/
tar -zxvf ZoneMinder-1.23.3.tar.gz
cd ZoneMinder-1.23.3/
The file you would need to change is zm_mpeg.h in src/ and change the following two lines in that file:
1. include <ffmpeg>
2. include <ffmpeg>
Would have to be canged to:
1. include <libavformat>
2. include <libswscale>
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache --with-ffmpeg=/usr ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass
make
After I do a "make" for ZoneMinder I get an error:
Simplest way is to download an earlier version of ffmpeg from svn. They are constantly changing things in ffmpeg so most of the time you'll find that it is constantly not able to be built against without some code changes. The only thing we can promise is that ZM will build with the version in SVN at the time of our version release which was SVN-r11879.
Also you will find a how-to already done in the wiki, might be better to put your effort in to maintaining that if there are any inconsistencies. Also mysql-bench, and mysqlclient10 are not needed to build or run ZM.
OK, just about there. It all seems to install just fine. Now, I do not understand how I am to add a USB camera. I have a few I am wanting to try. Let's start with the Logitech Quickcam 2000...I think that is what it is. How do I find the correct port for it, and will I need to install drivers for it? I can't seem to figure out how to make it show-up once I goto http://ip-address/zm/
GOT IT!!!! OK, I had to install the "cambozola.jar" then restart the ZM server, and now it is working great! I will post the Wiki version of this next week! Thanks for the pointers.
I would toss up the steps now, but I gota head out.