I'm just trying to compile Battle of Wesnoth (yes, for me gaming means compiling games... ;-) ).
To have more fun, I'm trying right now the autotools build for Wesnoth:
checking for LUA... checking for LUA... configure: error: Package requirements (lua5.1 >= 5.1) were not met: No package 'lua5.1' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
So it uses pkg-config to find Lua, and fails with that. Why ? Because Lua doesn't install a pkg-config file:
lua-5.1.4$ sudo make install cd src && mkdir -p /usr/local/bin /usr/local/include /usr/local/lib /usr/local/man/man1 /usr/local/share/lua/5.1 /usr/local/lib/lua/5.1 cd src && install -p -m 0755 lua luac /usr/local/bin cd src && install -p -m 0644 lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp /usr/local/include cd src && install -p -m 0644 liblua.a /usr/local/lib cd doc && install -p -m 0644 lua.1 luac.1 /usr/local/man/man1 hammer:~/src/packages/lua-5.1.4$
So, now I'm sitting here fiddling around with this stuff, even although Lua is in the number 2 location where you would expect it (i.e. /usr/local, not /usr)...
So, let's just not rely on an optional additional tool for our builds.