SOLVED: Upgraded to Fedora 12 and finally sorted out installing ZM with and without ffmpeg. Updated wiki
http://www.zoneminder.com/wiki/index.ph ... _11_and_12
Has anyone got Fedora 11 with ffmpeg-0.5-2.fc11.i586 to compile? I get this error :-
./configure --with-mysql=/usr --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/usr/bin --with-lame=/usr/lib --with-webuser=apache --with-webgroup=apache
make
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/bin/include -Wall -Wno-sign-compare -fno-inline -I/usr/bin/include -frepo -g -O2 -MT zm_utils.o -MD -MP -MF ".deps/zm_utils.Tpo" -c -o zm_utils.o zm_utils.cpp; \
then mv -f ".deps/zm_utils.Tpo" ".deps/zm_utils.Po"; else rm -f ".deps/zm_utils.Tpo"; exit 1; fi
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 `/data/ZoneMinder-1.24.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/ZoneMinder-1.24.2'
make: *** [all] Error 2
Compiling 1.23.3 is ok.
Fedora 11 problems 1.24.2 [SOLVED]
Fedora 11 problems 1.24.2 [SOLVED]
Last edited by johnc10 on Fri Dec 11, 2009 6:02 pm, edited 1 time in total.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 24
- Joined: Fri Aug 14, 2009 6:30 am
- Location: Puerto Rico (Various Locations)
Tried adding "#include <cstdio>" and just got another compile error.
Tried yum install zoneminder and got this error :-
sudo service zoneminder start
Bareword "ZM_PATH_DATA" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 406.
BEGIN not safe after errors--compilation aborted at /usr/bin/zmupdate.pl line 612.
I'm still stuck with v 1.22.3 !
Tried yum install zoneminder and got this error :-
sudo service zoneminder start
Bareword "ZM_PATH_DATA" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 406.
BEGIN not safe after errors--compilation aborted at /usr/bin/zmupdate.pl line 612.
I'm still stuck with v 1.22.3 !
I had similar problems with getting 1.24.2 up on Fedora 11 x86_64 and fix that particular error by:
vi /usr/local/ZoneMinder-1.24.2/src/zm_utils.cpp
add following:
#include <cstdio>
Similar to message above but I guess in a different place.
If you want to go wtih x86_64 I have all the steps that I had to do.
Dave
vi /usr/local/ZoneMinder-1.24.2/src/zm_utils.cpp
add following:
#include <cstdio>
Similar to message above but I guess in a different place.
If you want to go wtih x86_64 I have all the steps that I had to do.
Dave