libgit2 / libgit2/libgit2sharp.nativebinaries
Building v2.0.322 for Ubuntu 22.04 (Jammy) results in error: "The source directory does not appear to contain CMakeLists.txt"
還沒有人認領這個 Issue。
- 主要語言
- PowerShell
- 星號
- 35
- 分支
- 74
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hello LibGit2Sharp.NativeBinaries Team,
v2.0.322 native binaries for Ubuntu Jammy is not available on Ubuntu Lunchpad although present for newer Ubuntu versions so I am trying to build one from the source. My use case for the library is a Visual Studio Extension whose tests are run within a docker container. The .so and other libraries are needed within the container for the tests to run.
Now I downloaded the v2.0.322 archive, unpacked it and ran build.libgit2.sh. Note that instructions in the READ.ME advice to use dockerbuild.sh but I need use the former because I shall be building the library also in the docker during container creation.
After running build.libgit2.sh, I get the error. Please help.
CMake Warning:
Ignoring extra path from command line:
".."
The source directory "some/known/path" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.**
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 v2.0.322 封存中的 build.libgit2.sh 開始,將其 CMake 呼叫與 README 中的說明和 dockerbuild.sh 進行比較。在 Ubuntu 22.04 環境中重現該失敗;完成的標準是指令碼能正確定位原始碼目錄,並在沒有 CMakeLists.txt 錯誤的情況下建置所需的原生函式庫。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cmake, shell
- 領域
- build-system
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100