Now the story continue ...
1. Get the VLC latest source (as for now the version is vlc-0.8.6f)
wget http://download.videolan.org/pub/videolan/vlc/0.8.6f/vlc-0.8.6f.tar.gz
2. Extract the source code and change to the extracted directory
root@watthafxk-pc:~# tar zxvf vlc-0.8.6f.tar.gz
------yada-yada------*cut*------yada-yada------
root@watthafxk-pc:~# cd vlc-0.8.6f
root@watthafxk-pc:~/vlc-0.8.6f#
3. Get the all the library that needed for build VLC
root@watthafxk-pc:~/vlc-0.8.6f# apt-get build-dep vlc
This is the trickiest part, when I run ./configure I got this following error message
root@watthafxk-pc:~/vlc-0.8.6f# ./configurenoted: for vlc version 0.8.6f --enable-pp was replaced by --enable-postproc. It's a must when you configure ffmpeg with --enable-gpl.
--------------cut----- snip-------cut--------------
checking for libavcodec.a in /root/ffmpeg... no
configure: error: cannot find libpostproc.a in /root/ffmpeg/libavcodec/libpostproc/.
Make sure you configured ffmpeg with --enable-pp
root@watthafxk-pc:~/vlc-0.8.6f#
what the fxck ? need to compile ffmpeg again ? hmm ... I check the the missing library file 1st
root@watthafxk-pc:~/vlc-0.8.6f# find / -name 'libpostproc.a' -type f -print 2> /dev/null
/usr/lib/libpostproc.a
root@watthafxk-pc:~/vlc-0.8.6f#
The library file is in /usr/lib/. I need to tell configurator the location of the library (set the flag for the library). Then I try to run ./configure again
root@watthafxk-pc:~/vlc-0.8.6f# export LDFLAGS_ffmpeg="-lfaad -la52 -lmp3lame -lamrnb -lamrwb"
root@watthafxk-pc:~/vlc-0.8.6f# ./configure
---------yada--------no error------------yada----------
Then 2nd last stage is "make"
root@watthafxk-pc:~/vlc-0.8.6f# make
---------yada----------pray for no error----------yada----------
make[2]: Leaving directory `/root/vlc-0.8.6f/doc'
make[1]: Leaving directory `/root/vlc-0.8.6f'
root@watthafxk-pc:~/vlc-0.8.6f#
YEAH BEBEH !! SUKSES!! SUKSES!! and we can install it !!
root@watthafxk-pc:~/vlc-0.8.6f# make install
-------yada--------------yada----------yada-----
make[2]: Leaving directory `/root/vlc-0.8.6f/doc'
make[1]: Leaving directory `/root/vlc-0.8.6f'
root@watthafxk-pc:~/vlc-0.8.6f#
We can try playing 3GP file
achikjep@watthafxk-pc:~$ vlc test.3gp
VLC media player 0.8.6f Janus
[00000281] main playlist: stopping playback
achikjep@watthafxk-pc:~$
It can play with sound now !! I've tried with various types of media file such as mp3, wmv, mkv and such with no problemo.
Hope you all will be lucky as me ... chow !!