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