old bug i forgot.

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

old bug i forgot.

Post 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.?
Fernando
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Post by fernando »

make installlib works better :) .. thanks for the help.
but i remember that make it work ones without this make installlib
Fernando
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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,
Locked