From: Scott H. <vk...@ya...> - 2008-03-07 04:34:14
|
Hi, I have Motion v3.2.9_1 and when I try to "make configure", the make fails because it can't find autoconf261: autoconf261: unknown tool *** Error code 1 Autoconf 2.61_2 is installed though. If I edit the Makefile and change "USE_AUTOTOOLS= autoconf:261" to "...autoconf:259", the "make configure" runs sucessfully. I can then go on to compile the "normal" bktr version of motion if I wish. The next problem is that when I attempt to apply the patch for pwc, I get the following error: ---------------------------------------------------------------------------------------------------------------------------------------- -------------------------- |--- motion-3.2.9-2/work/motion-3.2.9/Makefile Thu Jan 24 13:35:34 2008 |+++ motion-3.2.9-2.pwc/work/motion-3.2.9/Makefile Thu Jan 24 13:34:12 2008 -------------------------- Patching file work/motion-3.2.9/Makefile using Plan A... Hunk #1 succeeded at 12. Hunk #2 failed at 35. Hunk #3 succeeded at 50. Hunk #4 succeeded at 64. 1 out of 4 hunks failed--saving rejects to work/motion-3.2.9/Makefile.rej ---------------------------------------------------------------------------------------------------------------------------------------- The contents of Makefile.rej are: ---------------------------------------------------------------------------------------------------------------------------------------- *************** *** 35,41 **** -Dsysconfdir=\"$(sysconfdir)\" LDFLAGS = -L/usr/local/lib -L/usr/local/lib LIBS = -lm -L/usr/local/lib -lpthread -ljpeg -L/usr/local/lib -lavform at -lavcodec -lm -lz - VIDEO_OBJ = video_freebsd.o OBJ = motion.o conf.o draw.o $(VIDEO_OBJ) netcam.o \ netcam_ftp.o netcam_jpeg.o netcam_wget.o track.o \ alg.o event.o picture.o rotate.o webhttpd.o \ --- 35,41 ---- -Dsysconfdir=\"$(sysconfdir)\" LDFLAGS = -L/usr/local/lib -L/usr/local/lib LIBS = -lm -L/usr/local/lib -lpthread -ljpeg -L/usr/local/lib -lavform at -lavcodec -lm -lz + VIDEO_OBJ = video.o video2.o video_common.o OBJ = motion.o conf.o draw.o $(VIDEO_OBJ) netcam.o \ netcam_ftp.o netcam_jpeg.o netcam_wget.o track.o \ alg.o event.o picture.o rotate.o webhttpd.o \ ---------------------------------------------------------------------------------------------------------------------------------------- If I manually make the changes that I think the patch is attempting to apply (I'm not very knowledgeable when it comes to things like this, so I'm probably doing it all wrong!) and then attempt to "make", Motion seems to "think" that it is being compiled under Linux and generates errors when it tries to include linux/video.h and can't find it. I gather that once the PWC patch is applied, Motion will no longer work with the bktr driver, so I'll have to get two instances of Motion running: one with the patch and one without if I want to use both pwc and bktr devices at the same time. Many thanks to those who maintain the FreeBSD port of Motion (Angel?) - I find it really useful. Regards, Scott. ------------------------------------------- Scott Holmes, vk...@ya... ------------------------------------------- Get the name you always wanted with the new y7mail email address. www.yahoo7.com.au/y7mail |