VLC cross-compile on RHL9

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
bentzy
Blank Cone
Blank Cone
Posts: 10
Joined: 16 Dec 2003 17:21

VLC cross-compile on RHL9

Postby bentzy » 02 Jun 2004 09:09

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.

AsMaX
Cone that earned his stripes
Cone that earned his stripes
Posts: 139
Joined: 05 Mar 2004 09:00
Location: Antibes, France

Postby AsMaX » 02 Jun 2004 09:36

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.

bentzy
Blank Cone
Blank Cone
Posts: 10
Joined: 16 Dec 2003 17:21

Missing headers?

Postby bentzy » 03 Jun 2004 15:55

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 23 guests