Page 1 of 1

VLC cross-compile on RHL9

Posted: 02 Jun 2004 09:09
by bentzy
I follow the instructions at http://developers.videolan.org/vlc/vlc/INSTALL.win32,download
http://www.videolan.org/pub/testing/win ... er.tar.bz2and
http://download.videolan.org/pub/testin ... ly.tar.bz2
but stucks at the configuration issue.

where the "./configure script" is ?

please any help.

Posted: 02 Jun 2004 09:36
by AsMaX
The links you are talking about are only the _tools_ to build vlc, not the source code ! See the paragraph "Get VLC" at http://developers.videolan.org/vlc/. If you get the source from a tarball you can run ./configure, but if you get the SVN version you have to run ./bootstrap first.

Missing headers?

Posted: 03 Jun 2004 15:55
by bentzy
OK, thanks.

Now I download the sources,"vlc-0.7.2.tar.gz",
then
./bootstrap && \
PATH=/usr/local/mingw/bin:$PATH \
CPPFLAGS=-I/usr/win32/include \
LDFLAGS=-L/usr/win32/lib \
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
(Here I receive a NOTE about gettext old version)

then
./configure --host=i586-mingw32msvc --build=i386-linux \
--disable-sdl --disable-gtk \
--enable-nls \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-livedotcom --with-livedotcom-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-debug
BUT I receive errors saying to disable dvd,mad but even disabling them I receive:
checking for ffmpeg/avcodec.h... no
configure:error: Missing header file ffmmpeg/avcodec.h.
avcodec.h is present in my computer at /usr/win32/include/ffmpeg/

SO what is going on???

please help.