1. 编译ffmpeg
2. gcc 需要3.4.1
3. 编译安装
faad2-20050513/
lame-3.96/
libdvb-0.2.2/
libdvbpsi3-0.1.4/
libdvdcss-1.2.8/
libdvdread-0.9.4/
libmad-0.15.1b/
live/
mpeg2dec-0.4.0/
nasm/
vlc-0.8.5/
vls-0.5.6/
wxWidgets-2.6.3/
x264-20050624/
4. 编译安装wxWidgets
> mkdir buildgtk
> cd buildgtk
> ../configure –with-gtk
> make
> su <type root password>
> make install
> ldconfig
5. 配置命令
./configure –enable-x11 –enable-xvideo –disable-gtk –enable-sdl –enable-ffmpeg –with-ffmpeg-mp3lame –enable-mad –enable-libdvbpsi –enable-a52 –enable-dts –enable-libmpeg2 –enable-dvdnav –enable-faad –enable-vorbis –enable-ogg –enable-theora –enable-faac –enable-mkv –enable-freetype –enable-fribidi –enable-speex –enable-flac –enable-livedotcom –with-livedotcom-tree=/usr/lib/live –enable-caca –disable-skins –disable-skins2 –disable-kde –disable-qt –enable-wxwidgets –disable-ncurses –enable-debug –enable-trace –with-ffmpeg-tree=/home/teddy_linux/streamedia/ffmpeg
5.出错:
00000258] main dialogs provider error: no dialogs provider module matched “any”
[00000255] skins2 interface error: No suitable dialogs provider found (hint: compile the wxWidgets plugin, and make sure it is loaded properly)
重新安装wxWidgets
can run ‘vlc -v –reset-config –reset-plugins-cache -l | grep wx’, which will probably tell you about unresolved symbols.
As for the fix, adding the line ‘/us/local/lib’ in /etc/ld.so.conf is generally enough (do not forget to run ‘ldconfig’ as root, after adding this line).