jayrambhia / Install-OpenCV

shell scripts to install different version of OpenCV in different distributions of Linux
1.04k stars 946 forks source link

Is it redundant ffmpeg and libavcodec-dev?? #7

Open escorciav opened 11 years ago

escorciav commented 11 years ago

Hi I have Fedora 17 and the CMake does not detect my ffmpeg compilation. I check your script and note that you propose:

  1. Install the ffmpeg libraries (libavcodec and so on) with apt-get
  2. Install ffmpeg without specify prefix so it is located in /usr/local/

I think that 1 and 2 are redundant and it is possible that cmake catched the packages installed using apt-get instead of the ffmpeg library compilation. Could you check that?

jayrambhia commented 11 years ago

Hey, I want to the latest stable release of ffmpeg to be installed, hence I'm doing it that way. Installing ffmpeg from apt-get works just fine. Regarding, libavcodec, you mean to say that ffmpeg includes it so it is redundant to install it from apt-get, right?

If you can edit it, and write a script for Fedora, please send me a pull request.

Thanks for pointing that out.

escorciav commented 11 years ago

Hi Jay, Thank you for your consideration of this matter. I'm working with the source code of ffmpeg from github. I solve my problem adjusting the prefix=/usr (instead of /usr/local) when I compiled ffmpeg. I consider that this solution is not elegant but I have no experience with cmake syntax.

I'm going to send my script later :D