Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-stand

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
 
Alternatively, you may set the environment variables LUA_CFLAGS
and LUA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details
 
看来是不找不到默认路径下lua, 应该是源代码安装的lua路径并不是lighttpd默认的
如果你用rpm装应该不会出问题
于是按照出错信息
export  LUA_CFLAGS=  "  /usr/local/bin/lua  "
export      LUA_LIBS="/usr/local/lib/lua"

你可能感兴趣的:(linux)