I read a tutorial some where on how to get mplayer so I followed the instructions and all worked fine. Then I thought I want to make a video of the screen, I learned ffmpeg could do this so I did
yum install ffmpeg
One of the dependencies is xvidcore 1.1.3. In the tutorial I installed xvidcore 1.1.3. Not part of the tutorial was to put sources in /usr/local/src. But I did that just incase I will come back and do "make uninstall" or recompile with already set things from ./configure.
I have installed xvidcore 1.1.3 in /usr/local, but yum say's its going to install xvidcore before ffmpeg.
What should I do?
Maby some info on what I'm doing may help as I'm learning how to do the following:
My friend has shown me some video's he made that teach how to install a webserver, configure MySQL for web related purposes. One of the things I want to learn this is to make a video to teach C/C++ and how to use tools as a video. So I looked for recording the screen and found tools to use like ImageMagick package and related.
According to what I have learned is to use bash; but I like Perl script more so I have a perl scripting capturing a window. It also would be nice to capture the mouse cursor to so I can "Point" things out.
So the problem is that you compiled a library from source, but your package manager wants to install a different version because it's a dependency of ffmpeg. This is common problem with mixed source/package systems.
Well, first of all, why not just remove your source compile and let yum use its pre-packaged version? Unless you have some special reason for using your own compilation, there should be nothing wrong with using yum's version.
But if you do need it, then there must be a way around it. Unfortunately I don't know how to do it on rpm-based systems. With apt you can create and install dummy packages for solving dependencies. There's probably a similar system with rpm/yum. Check your documentation.
Finally, there's an easier way to handle source compiles. Instead of running 'make install' at the end, get and use 'checkinstall' instead. Checkinstall will wrap your compile up in a package (rpm in your case), and let you install, manage, and uninstall it in the same way as any other package. I don't know if it will satisfy your dependency problems here, but at the very least it helps synchronize source and package management.
|All times are GMT -5. The time now is 02:49 PM.|