Page 1 of 1

old bug i forgot.

Posted: Thu May 06, 2004 10:57 pm
by fernando
i have this bug .. maybe is something i forgot.
i use:

Code: Select all

./configure --with-mysql=/usr --with-webdir=/var/www/html --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/root/ffmpeg-0.4.8 --with-lame=/use/local/lib
error i have :

Code: Select all

checking for pcre_compile in -lpcre... yes
checking for avcodec_init in -lavcodec... no
configure: WARNING: libavcodec.a is required for MPEG streaming
checking for av_new_stream in -lavformat... no
configure: WARNING: libavformat.a is required for MPEG streaming
checking for lame_init in -lmp3lame... yes
configure: creating ./config.status
config.status: creating Makefile
is the only error i get on install.
the ffmpeg directory /root/ffmpeg-0.4.8
any ideas.?

Posted: Fri May 07, 2004 6:09 am
by cordel
Fernando,
Try going into your ffmpeg buid directory /root/ffmpeg-0.4.8
Then do a:
make installib
this should install your shared librarys I think. You might want to check but I also think that ffmpeg install by defaul into /usr/local/bin and /usr/local/lib.

Posted: Sat May 08, 2004 3:06 am
by fernando
make installlib works better :) .. thanks for the help.
but i remember that make it work ones without this make installlib

Posted: Sat May 08, 2004 9:10 am
by zoneminder
Hi fernando,

If you look in the change log for version 1.19.1 you will see this

Ffmpeg Configure Changes. The configure script has been modified to look for the ffmpeg libraries in their installed location rather than in a build directory. This is to avoid having to build the library when it might already be installed.

so before that version you had to point it to a buil directory but from 1.19.1 on you need to install the library instead.

Phil,