From: David P. <da...@de...> - 2012-07-28 00:34:06
|
I just finished building Motion 3.2.12 on my ArchLinux PogoPlug, and it took some head-scratching to get it to compile. For the record, here's what I had to do to get it to install: 1. *./configure* (shows no ffmpeg support) 2. *pacman -S ffmpeg* (duh!) 3. *./configure* (everything copacetic now) 4. *make* (right off the bat, got "motion.h:43:28: fatal error: linux/videodev.h: No such file or directory") 5. *ln -s /usr/include/libv4l1-videodev.h /usr/include/linux/videodev.h* 6. *make* (got further this time, but then got "track.c:589:24: error: ‘V4L2_CID_PRIVATE_BASE’ undeclared (first use in this function)") 7. inserted "*#include <linux/videodev2.h>*" into track.h on line 13, just after the alg.h include 8. *make* (got even further, but then got "ffmpeg.c:76:29: error: unknown type name ‘URLContext’"*)* 9. *pacman -R ffmpeg* (grrr...) 10. downloaded*http://downloads.sourceforge.net/project/motion/Related%20Projects/ffmpeg-for-motion-3.2.5/ffmpeg-cvs-20060306-certified-with-motion-3.2.5.tar.gz* 11. *tar -xzvf ffmpeg-cvs-20060306-certified-with-motion-3.2.5.tar.gz* 12. *cd ffmpeg* 13. *./configure --disable-ffplay* 14. *make *(this takes a looooooong time to complete) 15. *make install* 16. *cd ../motion-3.2.12 * 17. *./configure * 18. *make* 19. *make install* David -- |