Compiling darktable with lua support

When you finished compiling lua, did you do a

make install INSTALL_TOP=/usr/local

to install the lua executable in /usr/local/bin.

More information about what OS and version you’re running would be helpful.