I'm sure there are some decent how to's on vlc, though I've not seen any to recommend.
Could anyone point me in the direction
There are several methods to build vlc and dozens of ways to configure, so I could offer a few tips and you'd have to take it from there or search out a how to that suits your needs
First a suggestion - as FO has posted, medibuntu will shortly offer a libfaac enabled libavcodec package that may solve your problem, all you'd need to do is wait, install it and see if vlc works with it (probably should.
I build vlc as a package set for various reasons, and use some different configs for ffmpeg and vlc that suit my purposes so to see what you may encounter did a quick build of tonights ffmpeg and a straightforward, reasonably enabled vlc build, to test using a configure and make to build.
A few things
You should make sure you can scroll back at least 1000 lines in your terminal so you can read back thru your configure. 'Passing' a configure in vlc is relativly meaningless, if you had read back thru yours, you would have seen many of your configure options were invalid.
Running a ./configure --help will prove to be very informative -
Everything that is enabled by default will require you meet the deps and will be built whether you want or need it.
Everything that is disabled by default will not be built unless enabled in the configure. ( though there may be some autodetection in play
( the final build I do for any particular vlc release will contain far more disables in the configure than enables.
As an example, the configure you posted could be condensed to this, the rest was either invalid or already enabled
./configure --enable-libmpeg2 --enable-faad \
--enable-vorbis --enable-theora \
--enable-speex --enable-flac --enable-release
this is what the package vlc I did today shows, I haven't pared it or the rules, install files down yet
The configure for the same build for a ./configure, make, make install would be this (minus flags
doug@doug-laptop:~$ vlc -vv
VLC media player 1.0.3 Goldeneye
[0x9bb2140] main libvlc debug: VLC media player - version 1.0.3 Goldeneye - (c) 1996-2009 the VideoLAN team
[0x9bb2140] main libvlc debug: libvlc was configured with ./configure ' '--with-tuning=native' '--prefix=/usr' '--config-cache' '--enable-loader' '--disable-schroedinger' '--enable-fast-install' '--with-binary-version=1ubuntu4' '--disable-update-check' '--enable-cddax' '--enable-ggi' '--enable-sdl' '--enable-mad' '--enable-jack' '--enable-lirc' '--enable-a52' '--enable-snapshot' '--enable-aa' '--enable-dvbpsi' '--disable-fluidsynth' '--enable-mozilla' '--with-mozilla-pkg=xulrunner-plugin' '--enable-dvb' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--enable-flac' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-theora' '--enable-dvdnav' '--enable-gnutls' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-faad' '--disable-zvbi' '--enable-telx' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-dca' '--enable-realrtsp' '--enable-real' '--disable-dv' '--enable-x264' '--enable-alsa' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--with-live555-tree=/usr/lib/live' '--enable-svgalib' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
The difference between the 2 are all the options that are enabled by default.
./configure --with-tuning=native --enable-loader --disable-schroedinger \
--enable-cddax --disable-fluidsynth --enable-vorbis --enable-shout \
--enable-flac --with-live555-tree=/usr/lib/live --enable-libmpeg2 \
--enable-theora --enable-twolame --enable-faad --disable-zvbi --enable-speex \
--enable-realrtsp --enable-real --enable-libass --enable-snapshop
There are basically 3 things that could cause your configure or build to error
Missing a build dependency - either provide it or disable in configure (some deps must be present
Having a too old or rarely too new a library - same as above
A compiler error - shouldn't be an issue though I have noticed gcc-4.4.1 will once and a while have a random internal error - run a make distclean and try again
A simple build would be to follow F O's guide for x264 and ffmpeg exactly except add this to ffmpeg configure
Use preferably the vlc 1.0.3 source though 1.0.2 should be ok.
Remove your current vlc and companion packages (search vlc in synaptic, remove everything from libvlc2 down
Configure as such ( the blue is for 32 bit only
If you don't wish shoutcast support or theora then remove, ect.
./configure --with-tuning=native --enable-loader --disable-schroedinger --enable-snapshot \
--disable-fluidsynth --enable-vorbis --enable-shout --enable-flac \
--enable-speex --enable-libmpeg2 --enable-theora --enable-twolame --enable-faad \
--disable-zvbi --enable-realrtsp --enable-real --enable-libass
As far as build deps
the attached list from my control file shows most of what is needed, a few aren't needed, there may be something or 2 missing, haven't bothered to ck. and adjust
Read thru your configure, many no's are expected, some will be a issue
Make sure there are no ffmpeg -dev packages installed, search ffmpeg in synaptic and scroll down and look, remove if found ( libavcodec-dev, libavformat-dev, ect. (7 possible
If build succeeds, after sudo make install but before running vlc..