1.24 Installation on Ubuntu Server 8.04.1
Posted: Sat Jan 24, 2009 3:28 pm
Hey guys,
I just tried to install zoneminder 1.24 on a clean Ubuntu Server 8.04.1
./configure --with-libarch=lib --with-mysql=/usr/local --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data ZM_SSL_LIB=openssl --with-ffmpeg=/usr/include
works fine ... but
make install
stops with the following error:
....
mv -f .deps/zm_local_camera.Tpo .deps/zm_local_camera.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/include/include -Wall -Wno-sign-compare -fno-inline -I/usr/include/include -frepo -g -O2 -MT zm_monitor.o -MD -MP -MF .deps/zm_monitor.Tpo -c -o zm_monitor.o zm_monitor.cpp
zm_monitor.cpp: In static member function ‘static int Monitor::LoadFfmpegMonitors(const char*, Monitor**&, Monitor::Purpose)’:
zm_monitor.cpp:2185: error: expected type-specifier before ‘FfmpegCamera’
zm_monitor.cpp:2185: error: cannot convert ‘int*’ to ‘Camera*’ in initialization
zm_monitor.cpp:2185: error: expected ‘,’ or ‘;’ before ‘FfmpegCamera’
zm_monitor.cpp:2151: warning: unused variable ‘path’
zm_monitor.cpp:2155: warning: unused variable ‘palette’
zm_monitor.cpp:2157: warning: unused variable ‘brightness’
zm_monitor.cpp:2158: warning: unused variable ‘contrast’
zm_monitor.cpp:2159: warning: unused variable ‘hue’
zm_monitor.cpp:2160: warning: unused variable ‘colour’
zm_monitor.cpp:2182: warning: unused variable ‘cam_width’
zm_monitor.cpp:2183: warning: unused variable ‘cam_height’
zm_monitor.cpp: In static member function ‘static Monitor* Monitor::Load(int, bool, Monitor::Purpose)’:
zm_monitor.cpp:2401: error: expected type-specifier before ‘FfmpegCamera’
zm_monitor.cpp:2401: error: cannot convert ‘int*’ to ‘Camera*’ in assignment
zm_monitor.cpp:2401: error: expected `;' before ‘FfmpegCamera’
zm_monitor.cpp: In member function ‘bool Monitor::DumpSettings(char*, bool)’:
zm_monitor.cpp:2803: error: ‘FfmpegCamera’ was not declared in this scope
zm_monitor.cpp:2803: error: expected primary-expression before ‘)’ token
zm_monitor.cpp:2803: error: expected `)' before ‘camera’
make[1]: *** [zm_monitor.o] Error 1
make[1]: Leaving directory `/usr/local/src/ZoneMinder-1.24.0/src'
make: *** [install-recursive] Error 1
I tried to ./configure without the ffmpeg option but that does not seem to help. I keep getting the same error.
Any ideas??
I just tried to install zoneminder 1.24 on a clean Ubuntu Server 8.04.1
./configure --with-libarch=lib --with-mysql=/usr/local --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data ZM_SSL_LIB=openssl --with-ffmpeg=/usr/include
works fine ... but
make install
stops with the following error:
....
mv -f .deps/zm_local_camera.Tpo .deps/zm_local_camera.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/include/include -Wall -Wno-sign-compare -fno-inline -I/usr/include/include -frepo -g -O2 -MT zm_monitor.o -MD -MP -MF .deps/zm_monitor.Tpo -c -o zm_monitor.o zm_monitor.cpp
zm_monitor.cpp: In static member function ‘static int Monitor::LoadFfmpegMonitors(const char*, Monitor**&, Monitor::Purpose)’:
zm_monitor.cpp:2185: error: expected type-specifier before ‘FfmpegCamera’
zm_monitor.cpp:2185: error: cannot convert ‘int*’ to ‘Camera*’ in initialization
zm_monitor.cpp:2185: error: expected ‘,’ or ‘;’ before ‘FfmpegCamera’
zm_monitor.cpp:2151: warning: unused variable ‘path’
zm_monitor.cpp:2155: warning: unused variable ‘palette’
zm_monitor.cpp:2157: warning: unused variable ‘brightness’
zm_monitor.cpp:2158: warning: unused variable ‘contrast’
zm_monitor.cpp:2159: warning: unused variable ‘hue’
zm_monitor.cpp:2160: warning: unused variable ‘colour’
zm_monitor.cpp:2182: warning: unused variable ‘cam_width’
zm_monitor.cpp:2183: warning: unused variable ‘cam_height’
zm_monitor.cpp: In static member function ‘static Monitor* Monitor::Load(int, bool, Monitor::Purpose)’:
zm_monitor.cpp:2401: error: expected type-specifier before ‘FfmpegCamera’
zm_monitor.cpp:2401: error: cannot convert ‘int*’ to ‘Camera*’ in assignment
zm_monitor.cpp:2401: error: expected `;' before ‘FfmpegCamera’
zm_monitor.cpp: In member function ‘bool Monitor::DumpSettings(char*, bool)’:
zm_monitor.cpp:2803: error: ‘FfmpegCamera’ was not declared in this scope
zm_monitor.cpp:2803: error: expected primary-expression before ‘)’ token
zm_monitor.cpp:2803: error: expected `)' before ‘camera’
make[1]: *** [zm_monitor.o] Error 1
make[1]: Leaving directory `/usr/local/src/ZoneMinder-1.24.0/src'
make: *** [install-recursive] Error 1
I tried to ./configure without the ffmpeg option but that does not seem to help. I keep getting the same error.
Any ideas??