Fedora 4 installation problem

Support and queries relating to all previous versions of ZoneMinder
Locked
rtk
Posts: 2
Joined: Thu Dec 01, 2005 10:24 am

Fedora 4 installation problem

Post by rtk »

I've a problem to install zm-1.21.4 on Fedora Core 4 :

[root@fedora zm-1.21.4]# ./configure --with-webdir=/var/www/html --with-cgidir=/var/www/cgi-bin

[root@fedora zm-1.21.4]# perl zmconfig.pl

[root@fedora zm-1.21.4]# make

Code: Select all

...
then mv -f ".deps/zm_mpeg.Tpo" ".deps/zm_mpeg.Po"; else rm -f ".deps/zm_mpeg.Tpo"; exit 1; fi
zm_mpeg.cpp: In member function âdouble VideoStream::EncodeFrame(uint8_t*, int, bool, unsigned int)â:
zm_mpeg.cpp:331: error: âstruct AVCodecContextâ has no member named âtime_baseâ
zm_mpeg.cpp:331: error: âav_rescale_qâ was not declared in this scope
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/root/zm-1.21.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/zm-1.21.4'
make: *** [all] Error 2
Help me please ! :)
rtk
Posts: 2
Joined: Thu Dec 01, 2005 10:24 am

Post by rtk »

I've see in this forum a problem is a version of ffmpeg .

I've ffmpeg version 0.4.9-pre1, build 4753

If i try to install cvs version , "make" give me many more error .

Now ... I search on web a possible solution and fortunely I've found a rpm for fedora FC4 :

http://www.lopster.it/zm-1.21.0-306.FC4.i386.rpm
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i dont know as im not a user of fc4 but cordel is working on a fc4 version. That version you have is 1.21.0 we are now on 1.21.4
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
SyRenity
Posts: 301
Joined: Mon Jan 24, 2005 2:43 pm

Post by SyRenity »

Hi.

Just note, that according to my personal experience (from 1.20), anything below the current ZM (1.21.4) doesn't work with Windows Media Player 9 - so it's the best for you to try and get the 1.21.4 running. What errors the make of FFMPEG gives you?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Check and make sure you have removed all files related to the earlier version you had installed. In particular the old library files may need to be removed if they are still present otherwise they will give you grief.

Regards,
Cordel
Image
Image
3939663646337

It's better to keep your mouth shut and appear stupid than open it and remove all doubt.
-Mark Twain
Locked