title: Compiling VLC on Linux: Error couldnt find Lua
body: <p>I am trying to compile VLC for Linux. When I run the configure script, I am getting the error message   </p>
  
  <blockquote>
    <p>configure: error: Could not find lua. Lua is needed for some
    interfaces (rc, telnet, http) as well as many other custom scripts.
    Use --disable-lua to ignore this error.</p>
  </blockquote>
  
  <p>I have lua on my system. I ran  lua -v and got</p>
  
  <blockquote>
    <p>Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio  </p>
  </blockquote>
  
  <p>whereis lua gives  </p>
  
  <blockquote>
    <p>/usr/bin/lua /usr/lib/lua /usr/share/lua /usr/share/man/man1/lua.1.gz   </p>
  </blockquote>
  
  <p>Which looks to be a standard location. Any ideas on why configure isn't picking up lua?</p>