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):
Everytime you try and start the zoneminder services
Steps to Reproduce:
2. Try to start
I was able to get it to start with this change in Mapped.pm
< 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]
This seems to fix it. Thanks Brent.
Your fix works.
zoneminder-1.24.4-3.fc15 has been submitted as an update for Fedora 15.
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.
* 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:
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.