This is my first post, and I am not a ZoneMinder guru, So sorry for my noobness!
I installed the ZM to my Ubuntu desktop PC, and it works nicely, So I decided to make a try, to compile it to my ARMv5 NAS too. This isn't my first package, but that was really hard! The disclaimer, about the compiling at the git page, and at this Read before posting is true. But now, I Could compile the source successfully, and I Could package it.
But my NAS's root folder (the /) is read only and has outdated binaries. Everything is at /ffp prefix. I checked the pathes, before compiling at the ccmake, but when I try to start the ZM, it says this:
Code: Select all
ps: invalid option -- 'o'
BusyBox v1.17.2 (2016-01-15 10:55:21 CST) multi-call binary.
Usage: ps
Can't exec "sudo": No such file or directory at /ffp/lib/perl5/vendor_perl/5.14.2/ZoneMinder/General.pm line 110.
Use of uninitialized value $output in scalar chomp at /ffp/lib/perl5/vendor_perl/5.14.2/ZoneMinder/General.pm line 119.
Use of uninitialized value $output in concatenation (.) or string at /ffp/lib/perl5/vendor_perl/5.14.2/ZoneMinder/General.pm line 120.
su: unrecognized option '--shell=/bin/sh'
BusyBox v1.17.2 (2016-01-15 10:55:21 CST) multi-call binary.
Usage: su [OPTIONS] [-] [USERNAME]
su: can't chdir to home directory '/var/www'
su: can't execute '/sbin/nologin': No such file or directory
How Can I solve that?
Many thanks!
Ps: sorry for my bad English.