I am trying to build a package using make
, however it calls cmake
which then calls FindLua
I end up with this error
-- lua -> /home/kirkm/.nix-profile/bin/lua
-- git -> /home/kirkm/.nix-profile/bin/git
-- asciidoctor -> /home/kirkm/.nix-profile/bin/asciidoctor
-- gzip -> /run/current-system/sw/bin/gzip
-- ldoc -> /home/kirkm/.nix-profile/bin/ldoc
-- convert -> /home/kirkm/.nix-profile/bin/convert
-- Could NOT find Lua (missing: LUA_LIBRARIES LUA_INCLUDE_DIR)
CMake Error at awesomeConfig.cmake:69 (message):
Could not find Lua. See the error above.
You might want to hint it using the LUA_DIR environment variable, or set
the LUA_INCLUDE_DIR / LUA_LIBRARY CMake variables.
Call Stack (most recent call first):
CMakeLists.txt:33 (include)
Which confuses me as it finds lua initially but then fails on the FindLua
command where it cannot initialise the other directories
I tried looking at this post and ran
cmake -DLUA_INCLUDE_DIR=/home/kirkm/.nix-profile/bin -DLUA_LIBRARY=/nix/store/x7hwkanrnpldwawl1whvlyhg6762kzid-lua-5.2.4/lib/liblua.so.5.2 ..
but no luck, I also exported the LUA_DIR
variable.
Any help would be appreciated