Description of problem: Zoneminder fails to start with errors about BARE Words not being allowed when strict_subs is enabled. Version-Release number of selected component (if applicable): zoneminder-1.24.3-4.20110324svn3310.fc15.i686 How reproducible: Everytime you try and start the zoneminder services Steps to Reproduce: 1. Install 2. Try to start Actual results: Expected results: Additional info: I was able to get it to start with this change in Mapped.pm 91c91 < my $mmap_addr = mmap( $mmap, $size, *PROT_READ|*PROT_WRITE, *MAP_SHARED, \*MMAP ); --- > my $mmap_addr = mmap( $mmap, $size, PROT_READ|PROT_WRITE, MAP_SHARED, \*MMAP );
Me too. But note that the above diff is given backwards. ( when generating patches, always use: diff -u oldfile newfile ) I don't know enough perl to know if it is the right fix, but it seems to work for me..
Created attachment 510958 [details] Mapped.pm patch This seems to fix it. Thanks Brent.
Hi, Thnx Brent. Your fix works. kind regards, Egon
zoneminder-1.24.4-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/zoneminder-1.24.4-3.fc15
For the record, the problem here was a patch to remove the import of Sys::Mmap. Back when the code wasn't called and perl-Sys-Mmap wasn't in the distribution, this made sense but obviously doesn't work out well now. The fix was simply to stop applying that patch. Sorry it took so long for someone to figure that out. The version in testing is actually running on a server here with no problems.
Package zoneminder-1.24.4-3.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing zoneminder-1.24.4-3.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/zoneminder-1.24.4-3.fc15 then log in and leave karma (feedback).
zoneminder-1.24.4-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.