Fedora Core 5 - make failed

Support and queries relating to all previous versions of ZoneMinder
Locked
Jay5766
Posts: 5
Joined: Wed Jul 12, 2006 6:10 am

Fedora Core 5 - make failed

Post by Jay5766 »

Found this one in the Troubleshooting section of the docs.
Now I just need to know where to get X10::Activehome from??
Thanks
Jay

OK, so I figured out the issue below. I installed ffmpeg but not ffmpeg-devel.
Now I noticed that make cannot find pcre.h though it is in the filesystem under /usr/include so I'm wondering if there is an option in ./configure or the Makefile to manually tell it where pcre.h is???

----------------resolved
I'm trying to install Zoneminder on FC5 but after a successful configure, make failed with the following errors Does anyone have an idea how to resolve this?
thanks
Jay

zm_mpeg.cpp: In member function ‘void VideoStream::SetupCodec(int, int, int, int, int)’:
zm_mpeg.cpp:88: error: cannot convert ‘AVCodecContext**’ to ‘AVCodecContext*’ in initialization
zm_mpeg.cpp:109: error: ‘struct AVCodecContext’ has no member named ‘frame_rate’zm_mpeg.cpp:110: error: ‘struct AVCodecContext’ has no member named ‘frame_rate_base’
zm_mpeg.cpp: In member function ‘void VideoStream::OpenStream()’:
zm_mpeg.cpp:161: error: cannot convert ‘AVCodecContext**’ to ‘AVCodecContext*’ in initialization
zm_mpeg.cpp: In destructor ‘VideoStream::~VideoStream()’:
zm_mpeg.cpp:256: error: cannot convert ‘AVCodecContext**’ to ‘AVCodecContext*’ for argument ‘1’ to ‘int avcodec_close(AVCodecContext*)’
zm_mpeg.cpp: In member function ‘double VideoStream::EncodeFrame(uint8_t*, int, bool, unsigned int)’:
zm_mpeg.cpp:303: error: cannot convert ‘AVCodecContext**’ to ‘AVCodecContext*’ in initialization
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/home/software/zoneminder/ZoneMinder-1.22.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/software/zoneminder/ZoneMinder-1.22.2'
make: *** [all] Error 2
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Install via MCPAN (as detailed in the README) or see if you can find a package through livena or rf.

Regards,
Corey
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

If this is the latest ffmpeg then you will need the patch from the ZM Wiki as they changed the interface (again) :roll:
Phil
Jay5766
Posts: 5
Joined: Wed Jul 12, 2006 6:10 am

Post by Jay5766 »

I'm back to the first issue, looks like ffmpeg. I did get the latest, from source on the mplayer svn. I found the patch on the wiki, how do I apply it. Sorry I don't write much compiled code these days.
Thanks
Jay
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Phil
Jay5766
Posts: 5
Joined: Wed Jul 12, 2006 6:10 am

Thanks

Post by Jay5766 »

Thanks
The patch solved that, I'm still getting an indication that configure can't find pcre.h when it is in /usr/include/pcre.h but I don't know that that is any big deal. Now to see if it works.
Jay
alexcami
Posts: 9
Joined: Thu Mar 09, 2006 1:07 pm
Contact:

Post by alexcami »

we maked a little guide in our forum ... :oops: sorry but the language of the guide is italian ...
if you don't understand italian we can try to translate for you ...

this is the link: FEDORA CORE 4/5 installation notes (it)

hope this will help you!
bye!
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Thanks alex maybe someone could translate this and add it to the wiki, sorry bt my italian is a s good as my c
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
alexcami
Posts: 9
Joined: Thu Mar 09, 2006 1:07 pm
Contact:

Post by alexcami »

jameswilson wrote:Thanks alex maybe someone could translate this and add it to the wiki, sorry bt my italian ...
i know is not a good translation but you can try with GOOGLE translation
TRANSLATION by GOOGLE of
http://alexcami.altervista.org/phpbb2/viewtopic.php?t=7


hope this can help you ... after summer's holidays we can try to translate it in a not too robotic translation ... bye!
Last edited by alexcami on Thu Jul 20, 2006 12:41 pm, edited 1 time in total.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Thank you Alex, This will be very usefull.

Regards,
Corey
alexcami
Posts: 9
Joined: Thu Mar 09, 2006 1:07 pm
Contact:

Post by alexcami »

cordel wrote:Thank you Alex, This will be very usefull.
attention!!! Google translate also the php part of the message :oops:
alexcami
Posts: 9
Joined: Thu Mar 09, 2006 1:07 pm
Contact:

Post by alexcami »

alexcami wrote:
jameswilson wrote:Thanks alex maybe someone could translate this and add it to the wiki, sorry bt my italian ...
http://alexcami.altervista.org/phpbb2/viewtopic.php?t=7
hope this can help you ... after summer's holidays we can try to translate it in a not too robotic translation ... bye!
This is a link to a translation of our text in English (Italian-English :lol:):
Image English
http://alexcami.altervista.org/phpbb2/v ... .php?t=183
Locked