Can't get motion to install with SUSE 10.1 - suspect ffmpeg
Question
Looks ffmpeg is causing the problem, but I think I uninstalled (with YAST). I am using the ffmpeg ffmpeg-cvs-20060306-certified-with-motion-3.2.5.tar.gz. I have never used CVS and do not have a CVS client. Do I need that in order to install this ffmpeg version? I configured and did make, make install and ffmpeg seems to install. For some reason the motion install mentions /tmp/ffmpeg which no longer exists, I deleted that, it was from a newer version of ffmpeg that I deleted.
I have tried and tried. I am using motion-3.2.6 and ffmpeg-cvs-20060306-certified-with-motion-3.2.5.tar.gz. I uninstalled the old (newer) ffmpeg and when I install motion I get these lines:
/tmp/ffmpeg/libavcodec/snow.c:1747: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(snow.o): In function `av_log2':
/tmp/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/tmp/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/tmp/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/tmp/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(snow.o):/tmp/ffmpeg/libavcodec/snow.c:3077: more undefined references to `ff_log2_tab' follow
collect2: ld returned 1 exit status
make: *** [motion] Error 1
Why is it looking in /tmp/ffmpeg ?? I deleted the /tmp/ffmpeg, did ./configure, make clean, make and still I get those errors?
then when I make install, just hoping it will work
HANOI:/usr/local/motion-3.2.6 # make install
Installing files...
--------------------------------------------------------------------------------
mkdir -p /usr/local/bin
mkdir -p /usr/local/man/man1
mkdir -p /usr/local/etc
mkdir -p /usr/local/share/doc/motion-3.2.6
mkdir -p /usr/local/share/doc/motion-3.2.6/examples
install motion.1 /usr/local/man/man1
install CHANGELOG COPYING CREDITS INSTALL README motion_guide.html /usr/local/share/doc/motion-3.2.6
install *.conf motion.init-Debian motion.init-RH motion.init-FreeBSD.sh /usr/local/share/doc/motion-3.2.6/examples
install motion-dist.conf /usr/local/etc
for prog in motion; \
do \
(install $prog /usr/local/bin ); \
done
install: cannot stat `motion': No such file or directory
make: *** [install] Error 1
Why is it looking in /tmp/ffmpeg ?? I deleted the /tmp/ffmpeg, did ./configure, make clean, make and still I get those errors?
Any ideas?
Thanks,
John
Environment
Motion version: |
3.2.6 |
ffmpeg version: |
ffmpeg-cvs-20060306-certified-with-motion-3.2.5.tar.gz |
Libraries: |
ffmpeg, mysql |
Server OS: |
Suse 10.1, kernel 2.6.16.21-0.13-default |
--
JohnSutherland - 29 Jul 2006
Answer
It sounds to me like you have more than one ffmpeg installed. Or have had more than one installed.
Can you run configure again and paste the result into this topic? Just edit the topic and add it below
Just place it between verbatim tags like I did with this line of text
--
KennethLavrsen - 29 Jul 2006
This FAQ should fix that issue:
http://www.lavrsen.dk/twiki/bin/view/Motion/FrequentlyAskedQuestions#I_got_this_message_when_I_tried
--
AngelCarpintero - 19 Feb 2007