when executing make on RH9, i get this:
make all-recursive
make[1]: Entering directory `/root/zm-1.19.0'
Making all in src
make[2]: Entering directory `/root/zm-1.19.0/src'
source='zm_event.cpp' object='zm_event.o' libtool=no \
depfile='.deps/zm_event.Po' tmpdepfile='.deps/zm_event.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/mysql//include -I/usr/include/ffmpeg/libavcodec -I/usr/include/ffmpeg/libavformat -g -O2 -c -o zm_event.o `test -f 'zm_event.cpp' || echo './'`zm_event.cpp
In file included from zm_event.cpp:29:
zm_mpeg.h:27:22: avformat.h: No such file or directory
In file included from zm_event.cpp:29:
zm_mpeg.h:36: use of enum `PixelFormat' without previous declaration
zm_mpeg.h:36: field `pf' has incomplete type
zm_mpeg.h:37: syntax error before `*' token
zm_mpeg.h:38: syntax error before `*' token
zm_mpeg.h:39: syntax error before `*' token
zm_mpeg.h:40: syntax error before `*' token
zm_mpeg.h:41: syntax error before `*' token
zm_mpeg.h:42: syntax error before `*' token
zm_mpeg.h:57: `uint8_t' was not declared in this scope
zm_mpeg.h:57: `buffer' was not declared in this scope
zm_mpeg.h:57: parse error before `,' token
make[2]: *** [zm_event.o] Error 1
make[2]: Leaving directory `/root/zm-1.19.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/zm-1.19.0'
make: *** [all] Error 2
Pretty sure libavcodec is installed, as it's in: /usr/lib/libavcodec
does anyone know what's wrong?
Regards,
Phil
error on make, Red Hat 9
-
- Posts: 7
- Joined: Mon Mar 08, 2004 4:10 pm
Re: error on make, Red Hat 9
Ditto here... any ideas?
Re: error on make, Red Hat 9
you need to go download ffmpeg src rpm, install it, then do a "build prep".
curl -O http://ftp.freshrpms.net/pub/freshrpms/ ... fr.src.rpm (src rpm for redhat 9, if you're running something else, go to freshrpms.net and find the proper rpm for your distro/version)
rpm -ivh ffmpeg-0.4.7-0.20030701.1.fr.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -bp --nodeps ffmpeg.spec
then go back in to your zoneminder build directory, and add to your configure statement:
--with-ffmpeg=usr/src/redhat/BUILD/ffmpeg-cvs-xxxx-xxxx-xxxx (change the dir to whatever your ffmpeg build directory is)
then try your make again.
curl -O http://ftp.freshrpms.net/pub/freshrpms/ ... fr.src.rpm (src rpm for redhat 9, if you're running something else, go to freshrpms.net and find the proper rpm for your distro/version)
rpm -ivh ffmpeg-0.4.7-0.20030701.1.fr.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -bp --nodeps ffmpeg.spec
then go back in to your zoneminder build directory, and add to your configure statement:
--with-ffmpeg=usr/src/redhat/BUILD/ffmpeg-cvs-xxxx-xxxx-xxxx (change the dir to whatever your ffmpeg build directory is)
then try your make again.
Re: error on make, Red Hat 9
acutally, forget all that.
go download zm-1.19.1 and try again. looks like you may have to download ffmpeg 0.4.8 to get this to work. looks like there are rpms for fedora (which could possibly be back ported easily?) or just go download the tar.gz and install that way.
go download zm-1.19.1 and try again. looks like you may have to download ffmpeg 0.4.8 to get this to work. looks like there are rpms for fedora (which could possibly be back ported easily?) or just go download the tar.gz and install that way.
Re: error on make, Red Hat 9
thanks Karl, 1.19.1 works fine :) i managed to get ffmpeg installed thru synaptic, and zm is installed and working....now if only my capture card worked, haha
Phil
Phil