Page 1 of 1

Gentoo -- Ebuild Problem

Posted: Wed Dec 07, 2005 5:04 am
by alexis101
Hi there,
Im currently working on the security setup for my new compagny and i think that ZoneMinder would be great as my camera server. Im a gentoo user so i tried to do a emerge for ZoneMinder and i got this error :

Code: Select all

zm_mpeg.cpp: In member function `double VideoStream::EncodeFrame(uint8_t*, int,
   bool, unsigned int)':
zm_mpeg.cpp:263: error: cannot convert `AVCodecContext**' to `AVCodecContext*'
   in initialization
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/zoneminder-1.21.3/work/zm-1.21.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/zoneminder-1.21.3/work/zm-1.21.3'
make: *** [all] Error 2

!!! ERROR: www-misc/zoneminder-1.21.3 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! emake failed
If anyone have an idea it would be greatly appreciated.

Posted: Wed Dec 07, 2005 6:04 am
by alexis101
Well after reading this :
http://www.zoneminder.com/forums/viewtopic.php?t=5342
Here what i did :

Code: Select all

emerge --unmerge ffmpeg
After i found the 0.4.8 version of ffmpeg and i install it. After i did :

Code: Select all

emerge --nodeps zoneminder
And the installation worked.
So if anyone have the same problem you know what to do. (Don't forget the nodeps option when you emerge zoneminder because if you dont portage will tried to install ffmpeg-0.4.9)