Package Details: zoneminder 1.36.35-1

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://zoneminder.com/
Keywords: camera cctv monitor record security surveillance video zoneminder
Licenses: GPL-2.0-only
Submitter: None
Maintainer: Nocifer
Last Packager: Nocifer
Votes: 72
Popularity: 0.24
First Submitted: 2008-03-21 00:09 (UTC)
Last Updated: 2024-10-22 17:14 (UTC)

Latest Comments

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

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.

zombielinux commented on 2019-06-12 19:35 (UTC)

This package has issues with perl 5.30. Some dependent modules either don't work or aren't loaded properly.

zombielinux commented on 2019-06-12 19:33 (UTC)

This package has issues with perl 5.30. Some dependent modules either don't work or aren't loaded properly.

chapatt commented on 2019-06-09 04:25 (UTC)

Just chiming in to let you know I upgraded from one one of the earliest packages when you took over maintenance last year. Like others have said, it stopped capturing after updates (along with every other aur package that uses libx26{4,5} et. al.). Installation failed (gracefully) first time around when trying to upgrade the database and I had to do a mysql_upgrade (which it actually advised me of, though I figure that script's probably upstream). So thanks again, Nocifer!

Archanfel80HUN commented on 2019-06-03 07:09 (UTC)

Build will fail if libvlc and libvlccore is installed, you need to replace libvlc with vlc first.

Nocifer commented on 2019-05-16 20:56 (UTC)

@felixita this sounds like PHP not being able to find its database module. If you open a terminal and run 'php -m' on the server hosting ZM, does pdo_mysql show up in the list of modules? Also, are there any errors printed in php-fpm's or Apache's logs?