PDA

View Full Version : unable to install motion due to dependencies



rhassinger12
28th October 2006, 05:11 PM
I am trying to install motion-3.2.7-1.i386.rpm but I am stuck in prerequisite hell. Every rpm that I download requires yet another. Can someone point me to a yum resource where I can get it from? I've spent all morning trying to get this installed with no luck.
Thanks.

markkuk
28th October 2006, 05:30 PM
Try "yum localinstall motion-3.2.7-1.i386.rpm". Post the actual error messages if you get any.

rhassinger12
28th October 2006, 09:02 PM
That is one of the things I tried (I did install not localinstall), but I think there's some special configuration I need to give yum before it can find and resolve all of the dependencies (i.e. repos or repo mirrors). My understanding of yum (which isn't much) is that it will install the dependencies for me. So if I could tell it where to find the other libraries then it should work... my hypothesis anyway. I appreciate your help. Here's what I currently get:

Setting up Local Package Process
Examining motion-3.2.7-1.i386.rpm: motion - 3.2.7-1.i386
Marking motion-3.2.7-1.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package motion.i386 0:3.2.7-1 set to be updated
--> Running transaction check
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
http://mirrors.cat.pdx.edu/centos/4.4/extras/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
--> Processing Dependency: libavutil.so.49 for package: motion
--> Processing Dependency: libavformat.so.50 for package: motion
--> Processing Dependency: libpq.so.4 for package: motion
--> Processing Dependency: libmysqlclient.so.15 for package: motion
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: motion
--> Processing Dependency: libavcodec.so.51 for package: motion
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: motion
--> Finished Dependency Resolution
Error: Missing Dependency: libavutil.so.49 is needed by package motion
Error: Missing Dependency: libavformat.so.50 is needed by package motion
Error: Missing Dependency: libpq.so.4 is needed by package motion
Error: Missing Dependency: libmysqlclient.so.15 is needed by package motion
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package motion
Error: Missing Dependency: libavcodec.so.51 is needed by package motion
Error: Missing Dependency: libmysqlclient.so.15(libmysqlclient_15) is needed by package motion

MrKing
27th January 2009, 05:51 PM
The last post on this was some time ago. I am using Fedora 10 and tried to install motion from motion-3.2.9-1.i386.rpm.

After 'yum localinstall motion-3.2.9-1.i386.rpm' I got the following:-

Loaded plugins: refresh-packagekit
Setting up Local Package Process
Examining motion-3.2.9-1.i386.rpm: motion-3.2.9-1.i386
Marking motion-3.2.9-1.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package motion.i386 0:3.2.9-1 set to be updated
--> Processing Dependency: libavformat.so.51 for package: motion
--> Processing Dependency: liblavjpeg-1.8.so.0 for package: motion
--> Processing Dependency: libmjpegutils-1.8.so.0 for package: motion
--> Finished Dependency Resolution
motion-3.2.9-1.i386 from motion-3.2.9-1.i386.rpm has depsolving problems
--> Missing Dependency: libavformat.so.51 is needed by package motion-3.2.9-1.i386 (motion-3.2.9-1.i386.rpm)
motion-3.2.9-1.i386 from motion-3.2.9-1.i386.rpm has depsolving problems
--> Missing Dependency: liblavjpeg-1.8.so.0 is needed by package motion-3.2.9-1.i386 (motion-3.2.9-1.i386.rpm)
motion-3.2.9-1.i386 from motion-3.2.9-1.i386.rpm has depsolving problems
--> Missing Dependency: libmjpegutils-1.8.so.0 is needed by package motion-3.2.9-1.i386 (motion-3.2.9-1.i386.rpm)
Error: Missing Dependency: libavformat.so.51 is needed by package motion-3.2.9-1.i386 (motion-3.2.9-1.i386.rpm)
Error: Missing Dependency: libmjpegutils-1.8.so.0 is needed by package motion-3.2.9-1.i386 (motion-3.2.9-1.i386.rpm)
Error: Missing Dependency: liblavjpeg-1.8.so.0 is needed by package motion-3.2.9-1.i386 (motion-3.2.9-1.i386.rpm)

Any help with this would be gratefully received. Alternatively, does anyone know of a similar package compatible with Fedora 10? To quote from Sourceforge:-
"Motion is a software motion detector. It grabs images from video4linux
devices and/or from webcams (such as the axis network cameras). Motion
is the perfect tool for keeping an eye on your property keeping only
those images that are interesting. Motion is strictly command line
driven and can run as a daemon with a rather small footprint. It is
built with MySQL and PostgreSQL support and mpegs generated by ffmpeg
and http remote control."