Fix for 32bit ZM install on Ubuntu 12.04

Forum for questions and support relating to the 1.25.x releases only.
Locked
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Fix for 32bit ZM install on Ubuntu 12.04

Post by linuxsense »

I upgraded my ZM box to Ubuntu 12.04 and saw that 1.25 was available in the Ubuntu repo so I installed it, a few usual issues aside it went well. Only major issue I had was that I needed to modify /usr/share/perl5/ZoneMinder/Memory.pm or I was unable to stream video. You need to edit Memory.pm and at line 130 replace:

Code: Select all

our $arch = int(3.2*length(~0));
with

Code: Select all

our $arch = 32;
I am not sure if this is a fatal error in all setups however if you are seeing errors similar to this in syslog the change will make them go away:

Code: Select all

Jul  9 16:56:44 ZM zmwatch[477]: ERR [Shared data size conflict in shared_data for monitor Frontdoor, expected 328, got 316]

Hope this helps someone.
Locked