I've been following the guide at http://www.zoneminder.com/forums/viewtopic.php?t=14281 for my Ubuntu 9.10 server and I'm having problems compiling. I didn't use the svn but instead the 1.24.2 download from the website. All goes well until the make and I get the error:
Code: Select all
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -g -O2 -MT zm_utils.o -MD -MP -MF .deps/zm_utils.Tpo -c -o zm_utils.o z m_utils.cpp
zm_utils.cpp: In function âconst std::string stringtf(const char*, ...)â:
zm_utils.cpp:32: error: âvsnprintfâ was not declared in this scope
zm_utils.cpp: In function âconst std::string stringtf(const std::string&, ...)â:
zm_utils.cpp:47: error: âvsnprintfâ was not declared in this scope
make[2]: *** [zm_utils.o] Error 1
make[2]: Leaving directory `/usr/src/ZoneMinder-1.24.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/ZoneMinder-1.24.2'
make: *** [all] Error 2
Code: Select all
sudo ./configure --with-webdir=/data/storage/SHARE/web/zoneminder --with-cgidir=/usr/lib/cgi-bin ZM_DB_HOST=localhost ZM_DB_NAME=zoneminder ZM_DB_USER=zoneminder ZM_DB_PASS=[MY PASSWORD] --enable-debug=yes --with-webgroup=www-data --with-webuser=www-data
Thanks, Matt.