Using Ubuntu 11.04, with lua 5.2.0 installed by hands with headers, the configure process is correct but when I do make:
Using vlc-2.0.2.tar.xzMaking all in share
make[2]: Entering directory `/home/andromeda/Desktop/vlc-2.0.2/share'
LUAC lua/playlist/appletrailers.luac
/usr/local/bin/luac: lua/playlist/appletrailers.lua:70: invalid escape sequence near '\.'
make[2]: *** [lua/playlist/appletrailers.luac] Error 1
make[2]: Leaving directory `/home/andromeda/Desktop/vlc-2.0.2/share'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andromeda/Desktop/vlc-2.0.2'
make: *** [all] Error 2
Just to let you know.
I don't need Lua then after that I did with --diable-lua and the make process was fine.
Cya!