Page 1 of 1

Fedora Core 5 - make failed

Posted: Wed Jul 12, 2006 6:15 am
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

Posted: Wed Jul 12, 2006 11:48 am
by cordel
Install via MCPAN (as detailed in the README) or see if you can find a package through livena or rf.

Regards,
Corey

Posted: Wed Jul 12, 2006 4:26 pm
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:

Posted: Wed Jul 12, 2006 5:06 pm
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

Posted: Wed Jul 12, 2006 5:08 pm
by zoneminder

Thanks

Posted: Thu Jul 13, 2006 5:28 am
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

Posted: Thu Jul 20, 2006 9:05 am
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!

Posted: Thu Jul 20, 2006 9:14 am
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

Posted: Thu Jul 20, 2006 12:33 pm
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!

Posted: Thu Jul 20, 2006 12:40 pm
by cordel
Thank you Alex, This will be very usefull.

Regards,
Corey

Posted: Thu Jul 20, 2006 12:48 pm
by alexcami
cordel wrote:Thank you Alex, This will be very usefull.
attention!!! Google translate also the php part of the message :oops:

Posted: Fri Sep 01, 2006 6:27 am
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