Search Criteria
Package Details: zoneminder 1.36.35-1
Package Actions
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.39 |
First Submitted: | 2008-03-21 00:09 (UTC) |
Last Updated: | 2024-10-22 17:14 (UTC) |
Dependencies (45)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR, ffmpeg-amd-fullAUR)
- libjwtAUR
- perl-archive-zip
- perl-crypt-eksblowfishAUR
- perl-data-dump
- perl-data-entropyAUR
- perl-data-uuid
- perl-date-manip
- perl-datetime
- perl-dbd-mysql
- perl-device-serialport
- perl-file-slurp
- perl-image-info
- perl-io-interfaceAUR
- perl-io-socket-multicastAUR
- perl-json-maybexs
- perl-libwww
- perl-lwp-protocol-https
- perl-mime-lite
- perl-mime-tools
- perl-net-sftp-foreignAUR
- perl-number-bytes-human
- perl-php-serializationAUR
- perl-soap-wsdlAUR
- perl-sys-cpuAUR
- perl-sys-meminfo
- perl-sys-mmapAUR
- perl-uri-encodeAUR
- perl-xml-libxml
- perl-xml-parser
- php-apcu
- php-fpm
- php-gd
- polkit (polkit-gitAUR, polkit-consolekitAUR)
- cmake (cmake-gitAUR) (make)
- apache (apache-gitAUR) (optional)
- fcgiwrap (optional) – required if using nginx
- libvncserver (libvncserver-gitAUR) (optional) – allows for CCTV-like monitoring of remote desktop sessions
- mariadb (mysql55AUR, mysql56AUR, mytop-gitAUR, mysql81AUR, mysql57AUR, mysql80AUR, mysqlAUR, mariadb-lts, percona-server) (optional)
- multiwatchAUR (optional) – required if using nginx
- nginx (nginx-nchan-gitAUR, nginx-rtmp-sergey-gitAUR, nginx-mainline-boringsslAUR, nginx-quic-openssl-hgAUR, nginx-mainline-pushstreamAUR, tengineAUR, tengine-extraAUR, freenginx-mainline-hgAUR, freenginx-mainlineAUR, angieAUR, nginx-quic-libresslAUR, nginx-mainline) (optional)
- pod2manAUR (optional) – required for Docker support
- spawn-fcgi (optional) – required if using nginx
- vlc (vlc-luajitAUR, vlc-gitAUR) (optional) – may achieve better performance than FFmpeg with some camera models
- zmeventnotificationAUR (optional) – machine learning-powered recognition engine & event notification server
Required by (1)
Sources (8)
- fcgiwrap-multiwatch.service
- https://github.com/FriendsOfCake/crud/archive/refs/tags/v3.2.0.tar.gz
- https://github.com/ZoneMinder/CakePHP-Enum-Behavior/archive/refs/tags/1.0-zm.tar.gz
- https://github.com/ZoneMinder/RtspServer/archive/055d81fe1293429e496b19104a9ed3360755a440.zip
- https://github.com/ZoneMinder/zoneminder/archive/refs/tags/1.36.35.tar.gz
- zoneminder-httpd.conf
- zoneminder-nginx.conf
- zoneminder-php.ini
Latest Comments
« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 63 Next › Last »
eriol commented on 2021-05-25 10:46 (UTC) (edited on 2021-05-25 10:50 (UTC) by eriol)
Hi, I am having this error while building package
$HOME/zoneminder/src/zoneminder-git/src/zm_image.cpp: In static member function ‘static void Image::Initialise()’: $HOME/zoneminder/src/zoneminder-git/src/zm_image.cpp:575:48: error: ‘class Config’ has no member named ‘font_file_location’ 575 | FontLoadError res = font.LoadFontFile(config.font_file_location); | ^~~~~~~~~~~~~~~~~~ In file included from $HOME/zoneminder/src/zoneminder-git/src/zm_image.h:25, from $HOME/zoneminder/src/zoneminder-git/src/zm_image.cpp:20: $HOME/zoneminder/src/zoneminder-git/src/zm_image.cpp:577:47: error: ‘class Config’ has no member named ‘font_file_location’ 577 | Panic("Invalid font location: %s", config.font_file_location); | ^~~~~~~~~~~~~~~~~~ $HOME/zoneminder/src/zoneminder-git/src/zm_logger.h:200:72: note: in definition of macro ‘logPrintf’ 200 | er::fetch()->logPrint(false, FILE, LINE, logLevel, ##params); \ | ^~~~~~
What am I missing?$HOME/zoneminder/src/zoneminder-git/src/zm_image.cpp:577:5: note: in expansion of macro ‘Panic’
577 | Panic("Invalid font location: %s", config.font_file_location); | ^~~~~ make[2]: [src/CMakeFiles/zm.dir/build.make:370: src/CMakeFiles/zm.dir/zm_image.cpp.o] Errore 1 make[1]: [CMakeFiles/Makefile2:484: src/CMakeFiles/zm.dir/all] Errore 2 make: *** [Makefile:156: all] Errore 2 ==> ERRORE: Si è verificato un errore in build(). L'operazione sta per essere interrotta...Nocifer commented on 2021-05-20 10:18 (UTC)
@sanerb Hmm, that's the first I've heard about this. If it's true, it would mean that this missing dependency has gone unnoticed for more than 2 years, and in the meantime no one else has attempted to use ONVIF (or the error would have probably been already reported).
On the other hand, I can't find any mention of a libxml dependency in ZM's list of requirements. Also, there is already perl-xml-parser which is supposed to act as the XML parser for ONVIF (fun fact, I can't find any mention of perl-xml-parser as a requirement either, but I'm 100% sure I didn't put it in the PKGBUILD by accident).
I don't have an ONVIF camera at hand in order to test it myself, and it could be some time before I do, so could you please post the error you're getting? Also, is there anyone else out there with an ONVIF camera who'd be willing to test this for us?
sanerb commented on 2021-05-19 19:54 (UTC)
include perl-xml-libxml as a dependency, possibly optional - i don't know what else is broken if anything, but ONVIF will not work without it.
Nocifer commented on 2021-05-18 21:09 (UTC) (edited on 2021-05-18 22:00 (UTC) by Nocifer)
It seems Zoneminder is incompatible with GCC11 for the time being.
EDIT: Uploaded new release that includes a commit which fixes the issue.
billyburly commented on 2021-05-18 20:21 (UTC)
Doesn't compile
Nocifer commented on 2021-05-14 10:14 (UTC)
Lol, talk about the perfect timing... OK folks, crisis averted, nothing to see here, move along :P
Nocifer commented on 2021-05-13 08:55 (UTC) (edited on 2021-05-13 09:14 (UTC) by Nocifer)
@baslking thanks, your proposed fix does indeed work nicely. I was about to write a reply asking you to kindly provide some more info (if you have it) on what exactly it is that has introduced this issue, and whether it's something that should be reported to the libmp4v2 Arch package maintainers, or to mp4v2's upstream, or to Zoneminder's upstream...
But then on a hunch I tried to build Zoneminder from the latest master (instead of using the outdated 1.34.xx tagged releases) and what do you know, it actually built without a hitch.
As a result, because this is just the latest in a long list of issues that in these past few months have been traced back to the 1.34.xx codebase itself, I've found an IMHO better solution: for the time being I'm switching this package to using a git(-ish) versioning scheme instead of following the 1.34.xx tagged releases. This should help, as Zoneminder as a project seems to be in a state of flux lately, and Arch is not like Debian where changes in accompanying libraries are slow to come, so using "ancient" releases will just not cut it for us.
If anyone has a better solution to propose (I can understand why this could be an upsetting change for a server acting as an NVR for security purposes) please say so. Also, if anyone finds that this change makes Zoneminder noticeably more buggy (as git-master releases are prone to be) please report it here and if there's no easy fix, I'll switch back to 1.34.xx and use the hack provided by @baslking instead. EDIT: Just realized that after the update to 1.35.xx it will probably be impossible to downgrade your setup back to 1.34.xx due to the database scheme updates, so please MAKE SURE TO BACKUP YOUR DATABASE before updating.
@DaMadOne thanks ;-)
baslking commented on 2021-05-11 21:17 (UTC) (edited on 2021-05-11 21:22 (UTC) by baslking)
For the build problem of: @zazenhei, I had the same issue. It seems there's an error in the cmake file logic that doesn't handle the /usr/include/mp4v2/mp4v2.h nested include files in the place of /usr/include/mp4v2.h You see it comment that if does not find the header files but it carries on and the compile fails when the header file is needed. Since it never asks to include the header file its normal that the compile fails. A really simple hack to force cmake to chose the right option for the include in the PKGBUILD file in the build section for cmake if you add the define:
-DHAVE_MP4V2_MP4V2_H=1 \
The build continues to the end, or it did for me. I'm new to zoneminder and built on a RPI-400 with aarch64 and libpm4v2 4.1.6-1 your mileage may vary.DaMadOne commented on 2021-04-17 00:16 (UTC)
Thanks @Nocifier. Downgrading libmp4v2 to 4.1.3 and then clean building ZoneMinder fixed it. I am greatly appreciative of your work and I thank you for what you do.
I run Proxmox with various VM/containers and I could only imagine the frustration of those without an easy backup/restore solution. Many of my VMs are Arch based which I prefer because of the control over them. However ZM has been a PITA on Arch for a long time. Thank you for being very tentative of this package!
Nocifer commented on 2021-04-12 09:17 (UTC) (edited on 2021-04-12 11:01 (UTC) by Nocifer)
Updated package to 1.34.24, tried to test build, got the MP4 errors previously reported by @zazenhei, downgraded libmp4v2, got the same errors, decided to not bother and uploaded the new version anyway.
If anyone has found a solution for these errors (as I said, downgrading libmp4v2 didn't work for me) I'd be grateful if they'd post it here, otherwise I'll just bear with it until 1.35 hopefully resolves the issue(s). Well, at least this release should be compatible with PHP 8 according to the changelog.
EDIT: Actually scratch that, turns out that downgrading libmp4v2 to 4.1.3 does fix the issue, it's just that I had to clean my working environment after having already tried to build with 4.1.4. So yeah, downgrading works.
« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 63 Next › Last »