I have been update my zoneminder to the last version and my zmxap doesn't work any more
I've got a message who talk me : "Bareword "main::ZM_PATH_BIN" not allowed while "strict subs" in use at /usr/local/zmxap/zmxap.pl line 259.
BEGIN not safe after errors--compilation aborted at /usr/local/zmxap/zmxap.pl line 368"
Could some one help me ?
Thank
Best regards
ZMXAP
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: ZMXAP
You should contact the author of zmxap and have him update the source code to reflect the latest changes to zoneminder.
From the zmxap README, it looks like his e-mail is: gregg@limings.net
I have not taken one look at the zmxap code myself, but we recently stopped using Perl barewords in the latest version of zoneminder. A guess would be to change all barewords in zmxap from:
to:
You might also have to add this to the top of the zmxap PErl script:
From the zmxap README, it looks like his e-mail is: gregg@limings.net
I have not taken one look at the zmxap code myself, but we recently stopped using Perl barewords in the latest version of zoneminder. A guess would be to change all barewords in zmxap from:
Code: Select all
ZM_XXX_XXX
Code: Select all
$Config{ZM_XXX_XXX}
Code: Select all
use vars qw( %Config );
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/