Could NOT find Lua (missing: LUA_LIBRARIES)
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- cmake, docker, lua
- 領域
- build-system
調査の方向性
Alpine Dockerfile と示されている LuaRocks インストールコマンドを使って失敗を再現します。まず、このビルドで CMake が Lua ライブラリをどのように検出しているかを調べます。コンテナ内で yuescript の LuaRocks インストールが正常に完了すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I've tried a dozen different things to get yuescript installed in an alpine docker container (devcontainer), and I've managed to get past every hurdle except the title. What precisely am I doing wrong?
current dockerfile for the container below:
FROM alpine:3.22
RUN apk add lua5.4-dev lua5.4-libs luarocks gcompat gcc g++ libc-dev git cmake make
ENV CXX=gcc
RUN luarocks-5.4 install yuescript
cmake output below
1.131 Installing https://luarocks.org/yuescript-0.30.3-1.src.rock
3.204 -- The CXX compiler identification is GNU 14.2.0
3.215 -- Detecting CXX compiler ABI info
3.301 -- Detecting CXX compiler ABI info - done
3.319 -- Check for working CXX compiler: /usr/bin/gcc - skipped
3.319 -- Detecting CXX compile features
3.320 -- Detecting CXX compile features - done
3.341 -- Could NOT find Lua (missing: LUA_LIBRARIES) (found version "5.4.7")
3.341 -- Lua: /usr/bin/lua5.4
3.341 -- Lua include: /usr/include/lua5.4
3.341 -- Lua library: LUA_LIBRARIES-NOTFOUND
3.392 -- The C compiler identification is GNU 14.2.0
3.400 -- Detecting C compiler ABI info
3.478 -- Detecting C compiler ABI info - done
3.493 -- Check for working C compiler: /usr/bin/cc - skipped
3.493 -- Detecting C compile features
3.494 -- Detecting C compile features - done
3.503 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
3.584 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
3.588 -- Found Threads: TRUE
3.588 -- Configuring done (0.4s)
3.589 CMake Error: The following variables are used in this project, but they ar
e set to NOTFOUND.
3.589 Please set them or make sure they are set and tested correctly in the CMak
e files:
3.589 LUA_LIBRARIES
3.589 linked by target "yue" in directory /tmp/luarocks_yuescript-0.30.3-1-7
156543/yuescript
3.589 linked by target "libyue" in directory /tmp/luarocks_yuescript-0.30.3-
1-7156543/yuescript
3.589
3.603 -- Generating done (0.0s)
3.603 CMake Generate step failed. Build files cannot be regenerated correctly.
3.611
3.611 Error: Build error: Failed cmake.
3.639
3.639 yuescript 0.30.3-1 depends on lua >= 5.1 (5.4-1 provided by VM: success)
lua libraries are present in the container at /usr/lib/lua5.4/liblua-5.4.so.0, /usr/lib/lua5.4/liblua-5.4.so.0.0.0, /usr/lib/lua5.4/liblua.a, and /usr/lib/lua5.4/liblua.so, but even manually setting the LUA_LIBRARIES environment variable to either that directory, or any of the .so files inside, does nothing.
- 主要言語
- Lua
- スター
- 620
- フォーク
- 45
- 平均マージ
- 9時間 5分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
IppClub/YueScript のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
IppClub/YueScript の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
follow-up
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ksysoev/duet.nvim#265 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug: accuracy
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
PathOfBuildingCommunity/PathOfBuilding#10649 ·
メンテナーはふだん 1 日以内に返信
-
reMarkable
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
koreader/koreader#16485 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
nvim-orgmode/orgmode#1213 ·