gt@TB:/usr/bin$ sudo zmtrack.pl -m 1
Array found where operator expected at /usr/bin/zmtrack.pl line 60, at end of line (Missing operator before ?)
Bareword found where operator expected at /usr/bin/zmtrack.pl line 61, near "@use ZoneMinder" (Missing operator before ZoneMinder?)
Global symbol "@EXTRA_PERL_LIB" requires explicit package name (did you forget to declare "my @EXTRA_PERL_LIB"?) at /usr/bin/zmtrack.pl line 60.
syntax error at /usr/bin/zmtrack.pl line 61, near "@EXTRA_PERL_LIB@ use "Global symbol "@use" requires explicit package name (did you forget to declare "my @use"?) at /usr/bin/zmtrack.pl line 61.
BEGIN not safe after errors--compilation aborted at /usr/bin/zmtrack.pl line 62.
Appears to be some sort of syntax error at line 61-
@EXTRA_PERL_LIB@
I am guessing a library is missing here....
As for the frame server; could you specify the setting (or rather its location) in the UI? I am actually not familiar with this function or its purpose (still learning my way around things).
Unfortunately, the file zmtrack.pl, and quite possibly your whole zoneminder system, is not installed correctly. @EXTRA_PERL_LIB@ is a make macro. There are many of these macros embedded into the source code, and they get replaced with real values during build time.
You could try and just delete that particular line, but the fact that it is there in the first place implies you may have a bigger problem going on.
Ok, removal resolved the syntax problem and the script is running. Will test it and see how things go.
End goal is to have some PTZ tracking using a IP Netcat camera with ZM running on an old Pentium 4 system w/ 1 GB RAM (+ 1GB SWAP on an old IDE hard drive). Motion detection works quite well up to this point. Read a few forum posts regarding things to improve performance. I would greatly appreciate your advice!