Skip to content

Warning: unmatched variable LUA_LIBDIR #1155

@doronbehar

Description

@doronbehar

On NixOS, since 3.3.1 was released, we are having an issue with a certain cmake build. The package we are failing to install is https://github.com/luvit/luv. Here's the issue open on our end: NixOS/nixpkgs#79870 However, if from luarocks' repo, in master I run luarocks --tree=test-luv install luv the build doesn't fail, yet the warning message:

Warning: unmatched variable LUA_LIBDIR

And also Cmake reports this variable as empty:

-- Lua: using information from luarocks
-- LUA_LIBDIR:
-- LUA_INCDIR: /nix/store/9d6mlidaj99j673j583dgwlbj2b7yhnq-luajit-2.1.0-beta3/include
-- LUA: /nix/store/9d6mlidaj99j673j583dgwlbj2b7yhnq-luajit-2.1.0-beta3/bin/luajit
-- Lua library: LUA_LIBRARIES-NOTFOUND

It's likely that we'll need to update something in our build infrastructure, so I'm trying to figure out what it is and the meaning of this warning. Help will be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions