after upgrading to Suse 12.1 I didn't manage to get zm work again.
Since the .rpm installation doesn't work (the rpm insists on perl=5.12.3 but I can only find perl 5.14.2) I tried the "compile from source way".
Running
Code: Select all
./configure --with-libarch=lib64 --with-mysql=/usr --with-ffmpeg=/usr/lib64 --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin
But calling make afterwards gives compile errors:
Code: Select all
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/lib64/include -Wall -Wno-sign-compare -fno-inline -I/usr/lib64/include -g -O2 -MT zm_local_camera.o -MD -MP -MF .deps/zm_local_camera.Tpo -c -o zm_local_camera.o zm_local_camera.cpp
zm_local_camera.cpp: In static member function ‘static bool LocalCamera::GetCurrentSettings(const char*, char*, int, bool)’:
zm_local_camera.cpp:774:22: error: ‘PATH_MAX’ was not declared in this scope
zm_local_camera.cpp:779:21: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:781:22: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:782:29: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:799:67: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:801:54: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:811:92: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:936:91: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:961:82: error: ‘queryDevice’ was not declared in this scope
make[2]: *** [zm_local_camera.o] Error 1
make[2]: Leaving directory `/download/Linux/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/download/Linux/ZoneMinder-1.25.0'
make: *** [all] Error 2