Hi,
I tried to build a VLC command line player from vlc-0.8.6h and its related libraries in CentOS 5.2, but I've got various errors. I was running following configurations for ffmpeg and vlc, the ffmpeg was the latest version from svn:
ffmpeg$ ./configure --prefix=/home/project/work/Tools/Media/Ffmpeg/Install --enable-gpl --enable-postproc --disable-swscale --disable-ffplay --disable-ffserver --enable-pthreads
vlc$ ./configure --enable-ffmpeg --with-ffmpeg-tree=/home/project/work/Tools/Media/Ffmpeg/Install/ --enable-faad --with-faad-tree=/home/project/work/Tools/Media/Faad2/Install/ --with-ffmpeg-zlib --disable-gui --disable-wxwidgets --disable-skins2 --disable-mad --disable-libmpeg2 --with-ffmpeg-mp3lame
After hacking the configure script, I resolved configure errors. Then I've got following errors from make:
vlc-0.8.6h$ make
:
/home/project/work/Tools/Media/Ffmpeg/ffmpeg/libavformat/libavformat.a(matroskadec.o): In function `matroska_decode_buffer':
/home/project/work/Tools/Media/Ffmpeg/ffmpeg/libavformat/matroskadec.c:1023: undefined reference to `BZ2_bzDecompressInit'
/home/project/work/Tools/Media/Ffmpeg/ffmpeg/libavformat/matroskadec.c:1032: undefined reference to `BZ2_bzDecompress'
/home/project/work/Tools/Media/Ffmpeg/ffmpeg/libavformat/matroskadec.c:1035: undefined reference to `BZ2_bzDecompressEnd'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/home/project/work/Tools/Media/VLC/vlc-0.8.6h'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/project/work/Tools/Media/VLC/vlc-0.8.6h'
What was missing?
Thank you.
Jim