It's been a while since I had free time to play with ZM, but I finally secured a few hours this week.
I ran into a couple problems when upgrading from ZM 1.23.3 to 1.24.2 when compiling from ZM source on my CentOS 4.8 box and figured I should share my findings in case anyone else runs into these issues. I found most of the solutions on the ZM forums, but some some of the proposed solutions were distro/release-specific, so I chose to implement them to be portable to other releases/distros or incorporation into the mainline code thanks to extensive use of ifdefs.
If you just want to grab the patches without getting into the gory details, they are here: ZM-1.24.2-diffs.tar.gz Copy all the .patch files to your top-level ZM 1.24.2 source directory, then run the following command for each of the .patch files: patch -p1 -N < filename.patch
When running configure, in addition to the --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin options as documented in the wiki, you also need to force ZM_SSL_LIB=openssl, or you will get `MD5_DIGEST_LENGTH' was not declared in this scope errors. e.g.
Code: Select all
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin ZM_SSL_LIB=openssl
Be sure to use the Video For Linux version 1 settings for BTTV cameras, as the V4L2 stuff doesn't appear to work properly with the stock CentOS 4 kernel (Centosplus) implementation (zmc segfaults result)
Patch details are over in the User Contributions section.
Have fun!