FreeBSD Fix Compile
When you try to compile FreeBSD version of motion without bktr support ( V4L
in linux ) passing --without-v4l to configure , make don't work raising an error about some not defined vales METEOR_* that's because the headers files containing METEOR_*_* values are not included due are not needed without bktr.
If you have ffmpeg installed but don't have lame library motion fails to compile :
/usr/bin/ld: cannot find -lmp3lame
So i've updated the patch to solve that in configure.in.freebsd excluding -lmp3lame, configure.in ( linux version ) had that issue fixed already, so i guess now both configure.in are synchronised.
Apply this patch , How ? ( see below ):
- -. Get & descompress the patch
- -. Apply the patch
tar xfvz motion-3.1.16.tar.gz ; cd motion-3.1.16 ; patch -p1 < ../freeBSD-patch--without-v4l.diff
- -. Configure & Build motion for FreeBSD
cp configure.in.freebsd configure.in ; autoconf ; ./configure --without-v4l ; make ; make install
- 27 Sep 2004
A great patch by Angel, this works fantastic, very good.
- 30 Sep 2004
Patch has been implented on my source tree and will for sure be part of 3.1.17.
- 01 Oct 2004