Page 1 of 1

./configure

Posted: 05 Feb 2007 17:46
by arnon357
i'm building vlc from source on rh9.0 and getting the following message

checking for FFMPEG... Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavcodec.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavcodec' found
no
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
configure: error: Missing header file ffmpeg/avcodec.h.

what are the neccesary steps?

Posted: 05 Feb 2007 20:27
by Jean-Baptiste Kempf
Have you build ffmpeg ?

Posted: 06 Feb 2007 16:58
by arnon357
please be more specific about the necessary steps.

i was doing the normal procedure after downloading the vlc source.

./configure
...
etc

if i should do it differantly please point to what other steps i should do first

thanx

Posted: 06 Feb 2007 17:28
by pjwhite
you need to get ffmpeg as well:

svn co svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg_source

then configure and compile (but do not install) ffmpeg. and link to the source folder ffmpeg_source and compile vlc then.

svn

Posted: 07 Feb 2007 19:33
by arnon357
i followed the instructions about the svn and got an empty folder
whats the problem?

svn

Posted: 08 Feb 2007 08:55
by arnon357
you need to get ffmpeg as well:

svn co svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg_source

then configure and compile (but do not install) ffmpeg. and link to the source folder ffmpeg_source and compile vlc then.
i was following the procedure and got an empty folder

whats the problem?

Posted: 08 Feb 2007 14:58
by pjwhite
i don't know. ifyou typed that whole line into a command line then it should have downloaded the latest release into a folder called: ffmpeg_source

Posted: 08 Feb 2007 16:24
by arnon357
Thanx
it worked out