zoneminder fails on make!! look at 2 errors

Forum for questions and support relating to the 1.24.x releases only.
Locked
alltech
Posts: 34
Joined: Sat Jun 25, 2011 6:07 am

zoneminder fails on make!! look at 2 errors

Post by alltech »

Anyone seen anything like this? Google hardly comes up with anything for a answer.

Thanks


[root@localhost ZoneMinder-1.24.2]# make
make all-recursive
make[1]: Entering directory `/usr/src/zoneminder/ZoneMinder-1.24.2'
Making all in src
make[2]: Entering directory `/usr/src/zoneminder/ZoneMinder-1.24.2/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/local/bin/include -Wall -Wno-sign-compare -fno-inline -I/usr/local/bin/include -frepo -g -O2 -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; \
then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
/usr/local/include/libavutil/common.h: In function âint32_t av_clipl_int32_c(int64_t)â:
/usr/local/include/libavutil/common.h:170: error: âUINT64_Câ was not declared in this scope
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/usr/src/zoneminder/ZoneMinder-1.24.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/zoneminder/ZoneMinder-1.24.2'
make: *** [all] Error 2


I am running centos 5.x

Thanks!!
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: zoneminder fails on make!! look at 2 errors

Post by mastertheknife »

You need to add this to the end of your ./configure:

Code: Select all

CPPFLAGS="-D__STDC_CONSTANT_MACROS"
If you are installing from source, keep in mind that ZM 1.24.2 is from 2009 and might aswell install ZM 1.24.4 instead.

mastertheknife
Kfir Itzhak.
alltech
Posts: 34
Joined: Sat Jun 25, 2011 6:07 am

Re: zoneminder fails on make!! look at 2 errors

Post by alltech »

Okay. Since I do use Centos, I want to make the install the easiest possible. I do not want to bump into error message saying I need this file or that file.

Thanks
Locked