[CentOS] ffmpeg and zoneminder install problems

Fri Jul 3 20:41:25 UTC 2009
Gregory P. Ennis <PoMec at PoMec.Net>

On Fri, 2009-07-03 at 15:15 -0500, Gregory P. Ennis wrote:
> On Fri, 2009-07-03 at 20:44 +0100, Lucian at lastdot.org wrote:
> > On Fri, Jul 3, 2009 at 7:23 PM, Gregory P. Ennis<PoMec at pomec.net> wrote:
> > > CentOs zoneminder users,
> > >
> > > I have been trying to install zoneminder on Centos 5.3
> > > (2.6.18-128.1.16.el5xen) and have hit a brick wall with ffmpeg
> > > which zoneminder has as a dependancy.
> > >
> > > There were no rpm's in centos or rpmforge so I have followed the
> > > instructions on the zoneminder website for a CentOs install.
> > 
> > ffmpeg is in rpmforge, look more carefully.
> > rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
> > yum install ffmpeg
> > 
> > rpm -qi ffmpeg:
> > 
> > Name        : ffmpeg
> > Version     : 0.4.9
> > Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
> > 
> > >
> > > I have posted a note on the zoneminder list, but have not been able to
> > > get any takers to assist me.  I am not a C programer so I have a lack of
> > > understanding as to how to proceed.
> > >
> > > I have followed the steps outlined on zoneminder site as to how to
> > > install on Centos 5.3
> > >
> > > http://www.zoneminder.com/wiki/index.php/CentOS
> > >
> > > The sequence step I have not been able to pass beyond with these
> > > instructions is the following :
> > >
> > > svn checkout -r 11879 svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
> > > cd ffmpeg/
> > > ./configure
> > > make
> > >
> > > When I execute the make command I get the following that results in an Error message.
> > >
> > > I noticed that some of you have been able to use zoneminder on Centos
> > > 5.3, Can you help me get zoneminder installed.
> > >
> > > Thank you much,
> > >
> > > Greg Ennis
> > > P.S.  here is the output of make
> > >
> > >
> 
> Lucian,
> 
> Thanks for your help.  What I should have said was that zoneminder does
> not appear to be in the repositories.  Unfortunately, I obviously did
> not look for ffmpeg.  
> 
> In trying to bypass my problem, I went to the ffmpeg website and
> downloaded their source code and was able to get it installed.  However,
> I still can not get zoneminder to install.  I wonder if zoneminder is
> expecting something that would have been provided by the rpm install
> instead of what I did?
> 
> Greg
> _______________________________________________

Lucian,

I performed the rpm install of ffmpeg after moving the directories and
files related to the previous ffmpeg install and everything went fine.

When I tried to complie Zoneminder 1.23 or 1.24 I get the following
error:

zm_mpeg.cpp:325: error: ‘img_convert’ was not declared in this scope
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/root/software/zm/ZoneMinder-1.24.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/software/zm/ZoneMinder-1.24.2'
make: *** [all] Error 2

any ideas?

Greg