【问题标题】:Luarocks can't install a libraryLuarocks 无法安装库
【发布时间】:2015-08-20 19:52:39
【问题描述】:

我想安装这个库:

https://luarocks.org/modules/dodo/lua-dbus

我愿意

luarocks search lua-dbus

有 0 个结果。

sudo luarocks install lua-dbus

也不安装任何东西。

只有这个库有问题,因为我可以在 luarocks 上搜索其他库,例如

luarocks search socket

提供大量匹配项。

我做错了什么?

【问题讨论】:

    标签: lua luarocks


    【解决方案1】:

    该库(以及它所依赖的库)还没有版本化版本,因此它们被标记为 DEV(您可以在 "Versions" section 中看到)。

    这些库不会显示在搜索中或默认情况下无法安装。您需要在搜索中添加“开发”存储库:

    luarocks search lua-dbus --server=https://luarocks.org/dev

    对于安装命令: luarocks install lua-dbus --server=https://luarocks.org/dev

    所以你没有做错什么,只是网站不够清晰。

    【讨论】:

      猜你喜欢
      • 2018-08-03
      • 2017-05-10
      • 2021-08-11
      • 1970-01-01
      • 2021-08-14
      • 2016-03-22
      • 2021-02-09
      • 2015-10-18
      • 2018-11-08
      相关资源
      最近更新 更多