This is what I've done:
1. Install ubuntu 8.04
2. download vlc-0.9.8a source. I'm trying to compile this completely unchanged.
3. Download http://people.videolan.org/~jb/Contribs ... ly.tar.bz2
4. sudo tar xf contrib-20081021-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2 -C /
5. sudo apt-get install mingw32 mingw32-binutils mingw32-runtime
6. sudo apt-get install autoconf
7. sudo apt-get install automake
8 sudo apt-get install libtool
9. sudo apt-get install libgcrypt11-dev
10. export CONTRIBS=/usr/win32
11. sudo sh configure-vlc.sh and it goes through
Code: Select all
./bootstrap && \
export PKG_CONFIG_PATH=$CONTRIBS/lib/pkgconfig \
CPPFLAGS="-I$CONTRIBS/include -I$CONTRIBS/include/ebml" CXXCPP=i586-mingw32msvc-cpp \
LDFLAGS=-L$CONTRIBS/lib \
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++
./configure --host=i586-mingw32msvc --build=i386-linux \
--disable-gtk \
--enable-nls --enable-sdl --with-sdl-config-path=$CONTRIBS/bin \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=$CONTRIBS/bin \
--with-freetype-config-path=$CONTRIBS/bin \
--with-fribidi-config-path=$CONTRIBS/bin \
--with-libgcrypt-prefix=$CONTRIBS \
--enable-live555 --with-live555-tree=$CONTRIBS/live.com \
--enable-caca --with-caca-config-path=$CONTRIBS/bin \
--with-xml2-config-path=$CONTRIBS/bin \
--with-dvdnav-config-path=$CONTRIBS/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--enable-debug
13. edit libtool by changing ECHO= to echo=
14. Then I got some error with live555, and then with libgcrypt and then with dvdnav
It's just too much. So I'm asking if you got vlc to compile what exactly did you do different.
I'm actually just trying to modify a few lines so I get access set_var and get_var from libvlc public api. Here is the code and if anyone is willing to compile it for me I would be very thankful. http://rapidshare.com/files/183182829/vlc.tar.gz.html
Files should be located here:
vlc-0.9.8a/include/vlc/libvlc.h
vlc-0.9.8a/src/control/video.c
vlc-0.9.8a/src/libvlc.sym