Problem solved: Many thanks mastertheknife make went with no issues after your suggestion
Note to others: Referenced guide is missing make install process after make and the configure arguments for ffmpeg include "--enable-libfaac" which I believe is a typo, deleted option and all ran well.
Am now configuring ZM End Edit
I uninstalled a working ZM after having issues with modetec not recording. I have upgraded from Unbuntu 9.04 to 9.10 and have tried every installation guide I can locate. Each has failed at some point. The last attempt made was with Ubuntu 9.10 - ZM 1.24.2 Source Installation Guide in the Wiki. It fails at Make with the following:
root@obewan:/usr/src/zm# make
make all-recursive
make[1]: Entering directory `/usr/src/zm'
Making all in src
make[2]: Entering directory `/usr/src/zm/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -g -O2 -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c -o zmc.o zmc.cpp
In file included from zm_mpeg.h:23,
from zm_stream.h:27,
from zm_event.h:39,
from zm_zone.h:27,
from zm_monitor.h:26,
from zmc.cpp:28:
zm_ffmpeg.h:33:2: error: #error "No location for avutils.h found"
zm_ffmpeg.h:40:2: error: #error "No location for avcodec.h found"
zm_ffmpeg.h:47:2: error: #error "No location for avformat.h found"
zm_ffmpeg.h:55:2: error: #error "No location for swscale.h found"
In file included from zm_stream.h:27,
from zm_event.h:39,
from zm_zone.h:27,
from zm_monitor.h:26,
from zmc.cpp:28:
zm_mpeg.h:43: error: use of enum âPixelFormatâ without previous declaration
zm_mpeg.h:44: error: ISO C++ forbids declaration of âAVOutputFormatâ with no type
zm_mpeg.h:44: error: expected â;â before â*â token
zm_mpeg.h:45: error: ISO C++ forbids declaration of âAVFormatContextâ with no type
zm_mpeg.h:45: error: expected â;â before â*â token
zm_mpeg.h:46: error: ISO C++ forbids declaration of âAVStreamâ with no type
zm_mpeg.h:46: error: expected â;â before â*â token
zm_mpeg.h:47: error: ISO C++ forbids declaration of âAVFrameâ with no type
zm_mpeg.h:47: error: expected â;â before â*â token
zm_mpeg.h:48: error: ISO C++ forbids declaration of âAVFrameâ with no type
zm_mpeg.h:48: error: expected â;â before â*â token
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/usr/src/zm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/zm'
make: *** [all] Error 2
root@obewan:/usr/src/zm#
I am about to accept that I have to wipe this hard drive and start completely over. Can someone help me avoid doing that please?
Rob
Install failure after ZM uninstall
Install failure after ZM uninstall
Last edited by martrw on Sun Feb 20, 2011 4:57 am, edited 1 time in total.
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel
Hi,
To compile ZM 1.24.2 with modern ffmpeg you need to add CPPFLAGS="-D__STDC_CONSTANT_MACROS" to your ./configure line.
You might want to try 1.24.3 (from SVN or preview and use with ffmpeg 0.6 or newer) which according to some reports, doesn't require the line above but might not work\compile at this moment.
mastertheknife
To compile ZM 1.24.2 with modern ffmpeg you need to add CPPFLAGS="-D__STDC_CONSTANT_MACROS" to your ./configure line.
You might want to try 1.24.3 (from SVN or preview and use with ffmpeg 0.6 or newer) which according to some reports, doesn't require the line above but might not work\compile at this moment.
mastertheknife