Page 1 of 1

struggeling to get zoneminder to work with ffmpeg

Posted: Tue Jul 12, 2011 10:21 pm
by Kleine
After 5 day's and many hours off messing up installations, reading half this forum, searching the internet etc... I finaly came to the point where I have to bother you guy's for some help!

I got zoneminder 1.24.4 working on a fedora 15 32 bit without ffmpeg.
Now I'm trying to get it to work on a fedora 15 64 bit with ffmpeg. (I should get it working before the end of the week :shock: :(, but that's my problem :oops: )

First things first.
After reading many posts on this forum I came across this topic.
http://www.zoneminder.com/forums/viewto ... ate#p70386
I used graphicw's post to install libjpeg-turbo and ffmpeg
And followed his steps to download, compile and make zoneminder. I noticed in the config.log there was no message that I was missing any header files for ffmpeg. So I was happy. But when I tried further. The result was still a zoneminder that won't start.
So I returned to my normal way off installing Zoneminder.
I used to download Zoneminder like this:

Code: Select all

wget http : // www2 .zoneminder. com / downloads / ZoneMinder-1.24.4.tar.gz
(I had to place some spaces to post the above command. But you get all the info I guess :lol: )

unpacked it with

Code: Select all

tar -xvzf ZoneMinder-1.24.4.tar.gz
and ran the ./configure the same way i dit before:

Code: Select all

./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql" --with-libarch=lib64 ZM_SSL_LIB=openssl --enable-debug=no --enable-mmap CPPFLAGS="-D__STDC_CONSTANT_MACROS"
To my supprise I get some errors in my config.log file regarding to the headerfiles: avutils.h, avcodec.h, avformat.h, swscale.h


for example:
configure:7631: checking for libavutil/avutil.h
configure:7631: result: yes
configure:7643: checking ffmpeg/avutil.h usability
configure:7643: g++ -c -g -02 -I/usr/local/include -D__STDC_CONSTANT_MACROS conftest.cpp >&5
conftest.cpp:135:27: fatal error: ffmpeg/avutil.h: No such file or directory
compilation terminated.
configure:7643: $? = 1
configure: failed program was:
| /* confdefs.h */
And errors like this. Always refering to ffmpeg/... .h

(because some minor disagreement between me and my computer, I had to retype the above message. So maybe there's a typo or 2)

So today I messed around with some ln -s. Because I noticed there was no ffmpeg directory located where Zoneminder was trying to locate it.
But I had no success.

I was wondering why graphicw's download of zm find's all the files it needs at the standard locations. And my wget version doesn't.

My Linux knowledge is rather small. But I'm willing to learn and read. Espetially to learn from my mistakes.

So is there someone who could help me to get Zoneminder installed from source on a fedora 15 64 bit. with a litle bit of explanation?

With kind regards,

Kleine