Hello,
I try to build the vlc from scratch, but unfortunately I can't find any solution to this configuration error:
...
checking for AVCODEC... no
configure: error: Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.
...
Of course I have built before the ffmpeg library with the following options:
./configure --arch=i686 --prefix=/home/piotr/install/vlc --enable-static
After build process the libavcodec.a, libavformat.a and libavdevice.a libraries are into my desired directory (/home/piotr/install/vlc/lib).
I configure the vlc with options (PREFIX=/home/piotr/install/vlc):
./configure \
--target=i686-linux \
--host=i686-linux \
--prefix=$PREFIX \
--enable-static \
--enable-ogg \
--disable-nls \
--disable-dbus \
--disable-v4l2 \
--disable-libv412 \
--disable-libcddb \
--disable-dvb \
--disable-screen \
--disable-gme \
--enable-avcodec \
--enable-avformat \
--disable-swscale \
--disable-postproc \
--disable-libsysfs \
--disable-libtar \
--disable-png \
--disable-x11 \
--disable-xvideo \
--disable-glx \
--disable-opengl \
--disable-freetype \
--disable-fontconfig \
--disable-skins2 \
--disable-qt4 \
--disable-ncurses \
--disable-visual \
--disable-libgcrypt \
--disable-remoteosd \
--with-mad=$PREFIX \
--with-a52=$PREFIX
How can I provide the proper path of libavcodec library to the vlc building process?
I will be very thankful for any hints and engagement.
--
Piotr
http://www.embedded-engineering.pl/