Debian 10 - 1.33.16 ZM Repro Master - Incorrect package dipendencies

Forum for questions and support relating to 1.33.x development only.
Locked
fontiano
Posts: 68
Joined: Wed Dec 25, 2019 10:29 am

Debian 10 - 1.33.16 ZM Repro Master - Incorrect package dipendencies

Post by fontiano »

Hi,

I noticed that installing zoneminder on a Debian 10 (buster) following the guide on wiki.zoneminder.com (https://wiki.zoneminder.com/Debian_10_B ... pro_Master) the "php-gd" package is not installed and without that package the replay function on "montage review" does not work ("No data" even if you drag the cursor on the events).

After the package installation (apt install php-gd) and the apache2 restart (systemctl restart apache2) it works.
Production: zm 1.34.26 - Debian 11 | Test: zm 1.36.33 - Debian 12
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Debian 10 - 1.33.16 ZM Repro Master - Incorrect package dipendencies

Post by iconnor »

I'm not sure how this could be... php-gd is clearly listed in the dependencies.... more investigating will need to be done.
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Debian 10 - 1.33.16 ZM Repro Master - Incorrect package dipendencies

Post by bbunge »

Recommend you use the procedure in the WIKI: https://wiki.zoneminder.com/Debian_10_B ... pro_Master

Have run this a couple of times in the past few days with no errors.

Ah, the same one you mentioned. It was updated yesterday. You should not have problems.

Just checked my Pi 3b+ with Buster and ZM 1.33.16. PHP-GD is installed.

Edit: just ran an install of ZM 1.33.16 on Buster. php-gd and php7.3-gd were installed.
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Debian 10 - 1.33.16 ZM Repro Master - Incorrect package dipendencies

Post by iconnor »

So I think this can happen if you also have php5 installed and have php5-gd. apache will be configured to use php7.3 or whatever, but the presence of php5 and php5-gd will prevent php-gd from being installed.

I suppose the thing to do would be to decide to use different .deb control scripts going forward. We should really deprecate php5 support.
fontiano
Posts: 68
Joined: Wed Dec 25, 2019 10:29 am

Re: Debian 10 - 1.33.16 ZM Repro Master - Incorrect package dipendencies

Post by fontiano »

Damn! I forgot to say that I installed zoneminder in a "dirty" system upgraded some days ago (from 9 to 10). Thank you and sorry!
Production: zm 1.34.26 - Debian 11 | Test: zm 1.36.33 - Debian 12
Locked