Changed autoconf/m4/lua.m4: lua_open was replaced by lua_newstate in lua5.1. All occurrances of lua_open changed to lua_newstate. I checked for use of changed functions in the rest of the OITG source, and found no cases outside of the configure script testing for Lua. Changed: LUA_CFLAGS=`$LUA_CONFIG --include` LUA_LIBS=`$LUA_CONFIG --static` to LUA_CFLAGS=`$LUA_CONFIG --cflags` LUA_LIBS=`$LUA_CONFIG --libs` to make these variables be set properly when LUA_CONFIG is "pkg-config lua5.1". Changed in src/Makefile.in: am__objects_22 = MovieTexture.$(OBJEXT) MovieTexture_Null.$(OBJEXT) \ MovieTexture_FFMpeg.$(OBJEXT) to am__objects_22 = MovieTexture.$(OBJEXT) MovieTexture_Null.$(OBJEXT) # MovieTexture_FFMpeg.$(OBJEXT) Lines 758-759: @HAVE_FFMPEG_FALSE@ $(srcdir)/ffmpeg/lib/libavformat.a \ @HAVE_FFMPEG_FALSE@ $(srcdir)/ffmpeg/lib/libavcodec.a to @HAVE_FFMPEG_FALSE@ /usr/lib/libavformat.so.52 \ @HAVE_FFMPEG_FALSE@ /usr/lib/libavcodec.so.52 because the staticly built versions of ffmpeg are 32 bit, and "src/ffmpeg/000 StepMania README.txt" says to install it yourself. Line 1527: @HAVE_FFMPEG_FALSE@ $(srcdir)/ffmpeg/lib/libavformat.a $(srcdir)/ffmpeg/lib/libavcodec.a to @HAVE_FFMPEG_FALSE@ /usr/lib/libavformat.so.52 /usr/lib/libavcodec.so.52 Same reason as the previous change.