Package Details: zoneminder 1.36.33-2

Git Clone URL: https://aur.archlinux.org/zoneminder.git (read-only, click to copy)
Package Base: zoneminder
Description: A full-featured, open source, state-of-the-art video surveillance software system
Upstream URL: https://www.zoneminder.com/
Keywords: camera cctv monitor record security surveillance video zoneminder
Licenses: GPL-2.0-only
Conflicts: zoneminder-git
Submitter: None
Maintainer: Nocifer
Last Packager: Nocifer
Votes: 72
Popularity: 1.48
First Submitted: 2008-03-21 00:09 (UTC)
Last Updated: 2024-02-12 12:50 (UTC)

Dependencies (46)

Sources (8)

Latest Comments

« First ‹ Previous 1 .. 15 16 17 18 19 20 21 22 23 24 25 .. 62 Next › Last »

ultimategrandson commented on 2019-08-25 02:03 (UTC)

Using Yay (and ignoring the arch warnings), I actually installed this package on Archlinux ARM (Raspberry Pi 2) and it works perfectly, this actually worked better than the Rapbian package, at least in my experience, as the zmNinja app worked out of the box.

I'm a bit of a noob but; the dependencies that are installed; are they all really required to run Zoneminder or are they just required to build it? I understand ffmpeg, etc are necessary but could MariaDB be made optional? Or is there a way to exclude certain packages when I install?

ImNtReal commented on 2019-08-07 17:19 (UTC)

Ok. I can handle it that way. It's a bit confusing to me why they didn't just include all defaults in /etc/zoneminder/zm.conf, and only use the conf.d directory for user overrides.

Nocifer commented on 2019-08-06 05:51 (UTC)

@ImNtReal well, I could, but perhaps it would be simpler if you just made a new conf file inside /etc/zoneminder/conf.d and named it e.g. 03-custom.conf and used that one to override the stuff in 01-system-paths.conf? The reason for that is that 01-system-paths.conf is not supposed to contain any user adjustments, it even says so on the tin:

# *** DO NOT EDIT THIS FILE ***
#
# To make custom changes to the variables below, create a new configuration
# file, with an extention of .conf, containing your desired modifications.

Not that it matters much, if you ask me, but perhaps there is some valid reason for this warning, related to how ZM works internally. Anyway, if you really find it that much of a bother, I guess it won't hurt to add 01-system-paths.conf to the backup array when I next update the package and leave it up to the user. But I must warn you, judging by the ZM upstream's very slow progress as of late, this next update could be tomorrow or it could be next year :)

ImNtReal commented on 2019-08-05 18:14 (UTC)

Could you add etc/zoneminder/conf.d/01-system-paths.conf to the backup array, so my changes don't get wiped when I update?

zombielinux commented on 2019-06-13 11:49 (UTC)

That's what did it. Seems to be online now.

Nocifer commented on 2019-06-13 10:53 (UTC)

@zombielinux Well the issue is clear then: for some reason, 8 out of the 12 AUR modules in your build script's array are still installed against perl 5.28 instead of 5.30, and this can also be attested by 'pacman -Qqo /usr/lib/perl5/5.28' displaying them in its output (there shouldn't even be a 5.28 folder in there anymore). If I were you I'd try to install the already compiled packages one by one by hand, i.e. 'pacman -U /var/cache/pacman/pkg/AUR/packages/package_name.pkg.tar.xz'. That's more or less what I did (in my case I used an AUR helper to reinstall them in one go but it's the same thing) and everything went smoothly.

zombielinux commented on 2019-06-13 10:15 (UTC)

No worries.

Here is my zoneminder build script.

#!/bin/bash
PREFIX=/var/cache/pacman/pkg/AUR/packages
AurArray=("perl-sys-meminfo" "perl-sys-mmap" "perl-io-socket-multicast" "perl-class-std" "perl-class-std-fast" "perl-soap-wsdl" "perl-cpanel-json-xs" "perl-json-maybexs" "perl-net-sftp-foreign" "perl-php-serialization" "perl-sys-cpu" "perl-uri-encode" "zoneminder")
sudo pacman -Syu perl-inc-latest perl-module-build perl-types-serialiser perl-common-sense perl-json perl-json-xs libglvnd

for i in "${AurArray[@]}";
    do
#   echo $i
    rm -rf $PREFIX/$i
    git clone http://aur.archlinux.org/$i.git $PREFIX/$i
    cd $PREFIX/$i
    makepkg -si
    done

journalctl errors

Jun 13 06:13:23 zoneminder zmpkg.pl[46821]: Can't locate Sys/Mmap.pm in @INC (you may need to install the Sys::Mmap module) (@INC contains: /usr/lib/perl5/5.30/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.30/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.30/core_perl /usr/share/perl5/core_perl) at /usr/share/perl5/vendor_perl/ZoneMinder/Memory/Mapped.pm line 69.
Jun 13 06:13:23 zoneminder zmpkg.pl[46821]: BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder/Memory/Mapped.pm line 69.
Jun 13 06:13:23 zoneminder zmpkg.pl[46821]: Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder/Memory.pm line 121.
Jun 13 06:13:23 zoneminder zmpkg.pl[46821]: Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
Jun 13 06:13:23 zoneminder zmpkg.pl[46821]: BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
Jun 13 06:13:23 zoneminder zmpkg.pl[46821]: Compilation failed in require at /usr/bin/zmpkg.pl line 34.
Jun 13 06:13:23 zoneminder zmpkg.pl[46821]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34.

pacman -Qqo '/usr/lib/perl5/5.28' output

[root@zoneminder ~]# pacman -Qqo '/usr/lib/perl5/5.28'
perl-cpanel-json-xs
perl-io-socket-multicast
perl-json-maybexs
perl-php-serialization
perl-sys-cpu
perl-sys-meminfo
perl-sys-mmap
perl-uri-encode

Nocifer commented on 2019-06-13 08:46 (UTC)

@zombielinux Alright, I may have misjudged then. Myself I didn't get any errors when I tried running ZoneMinder with 5.30, so could you elaborate on what kind of errors you're getting and how to reproduce them? If there are indeed errors with 5.30 they should be reported to upstream.

zombielinux commented on 2019-06-13 01:08 (UTC) (edited on 2019-06-13 01:10 (UTC) by zombielinux)

@nocifer, I've already done that. I've deleted all the perl modules on that pacman -Qqo list, and redone the git clone and makepkg -si for them

Nocifer commented on 2019-06-12 21:28 (UTC)

@zombielinux Any perl packages that you've installed from the AUR, and whose maintainer hasn't triggered a reinstall for via a package version bump, will need to be manually reinstalled in order for perl 5.30 to pick them up and load them properly. Pacman should have already been warning you about it (something like "there are old modules in /usr/lib/perl5/5.28, use pacman -Qqo to see which packages own them" or some such). Other than that, Zoneminder itself works just fine with perl 5.30.