Last night I needed to scratch and itch and upgrade my Fedora 14 box to Fedora 15. For the most part the upgrade went well but I have a few things that need worked out, Zoneminder being one of them.
On Fedora 14 I had installed the ZoneMinder RPM from RPMFusion and this worked great. When the box upgraded it did upgrade ZoneMinder as well to version 1.24.3 (it was running 1.24.2) but the install seems broken. I am unable to start the zoneminder service from /etc/init.d/zoneminder and can find almost zero logs. I get this in the /var/log/messages:
Code: Select all
Jun 3 18:56:22 fedoraserver systemd[1]: zoneminder.service: control process exited, code=exited status=255
Jun 3 18:56:22 fedoraserver systemd[1]: Unit zoneminder.service entered failed state.
Code: Select all
[root@fedoraserver ~]# /etc/init.d/zoneminder status
zoneminder.service - SYSV: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip Coombes, Corey DeLasaux 2003-2008
Loaded: loaded (/etc/rc.d/init.d/zoneminder)
Active: failed since Fri, 03 Jun 2011 16:44:23 -0400; 1h 42min ago
Process: 25719 ExecStart=/etc/rc.d/init.d/zoneminder start (code=exited, status=255)
CGroup: name=systemd:/system/zoneminder.service
zoneminder.service - SYSV: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip Coombes, Corey DeLasaux 2003-2008
Loaded: loaded (/etc/rc.d/init.d/zoneminder)
Active: failed since Fri, 03 Jun 2011 16:44:23 -0400; 1h 42min ago
Process: 25719 ExecStart=/etc/rc.d/init.d/zoneminder start (code=exited, status=255)
CGroup: name=systemd:/system/zoneminder.service
Bareword "PROT_READ" not allowed while "strict subs" in use at /usr/share/perl5/vendor_perl/ZoneMinder/Memory/Mapped.pm line 91.
Bareword "PROT_WRITE" not allowed while "strict subs" in use at /usr/share/perl5/vendor_perl/ZoneMinder/Memory/Mapped.pm line 91.
Bareword "MAP_SHARED" not allowed while "strict subs" in use at /usr/share/perl5/vendor_perl/ZoneMinder/Memory/Mapped.pm line 91.
Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder/Memory.pm line 120.
Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
Compilation failed in require at /usr/bin/zmpkg.pl line 46.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 46.
ZoneMinder is stopped
Code: Select all
In file included from zm_mpeg.h:23:0,
from zm_stream.h:27,
from zm_event.h:39,
from zm_zone.h:27,
from zm_monitor.h:26,
from zmc.cpp:28:
zm_ffmpeg.h:33:2: error: #error "No location for avutils.h found"
zm_ffmpeg.h:40:2: error: #error "No location for avcodec.h found"
zm_ffmpeg.h:47:2: error: #error "No location for avformat.h found"
zm_ffmpeg.h:55:2: error: #error "No location for swscale.h found"
In file included from zm_stream.h:27:0,
from zm_event.h:39,
from zm_zone.h:27,
from zm_monitor.h:26,
from zmc.cpp:28:
zm_mpeg.h:43:7: error: use of enum ‘PixelFormat’ without previous declaration
zm_mpeg.h:44:2: error: ‘AVOutputFormat’ does not name a type
zm_mpeg.h:45:2: error: ‘AVFormatContext’ does not name a type
zm_mpeg.h:46:2: error: ‘AVStream’ does not name a type
zm_mpeg.h:47:2: error: ‘AVFrame’ does not name a type
zm_mpeg.h:48:2: error: ‘AVFrame’ does not name a type
make[1]: *** [zmc.o] Error 1