Use BinaryBuilder.jl to package dependencies

未关闭
#447 80 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
28/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
julia
领域
build-system

调研方向

从 GMT.jl 的依赖加载路径和 GMT 测试入手,然后检查 BinaryBuilder.jl 如何打包 GMT 及其原生依赖。完成的标准是:用户可以安装通过 Julia 包生态系统提供的、包含 GMT 及其依赖的包,而无需依赖不兼容的系统库,并且 GMT 测试通过。

由索引模型根据 Issue 内容生成。

描述

I have tried three times to install the GMT dependency for GMT.jl and so far have not been successful. On my first try, the version of GMT in the package repos of my OS (MX Linux/Debian) was too old (v5.4). Then I attempted to build GMT from source and ran into other issues regarding (I think) GDAL, which was also an older version (v2.3). Finally, on my new OS (Ubuntu 20.04) I have GMT version 6.0.0 and GDAL version 3.0.4, but trying to run the GMT tests gives me the following error message:

ERROR: LoadError: LoadError: could not load library "/usr/lib/x86_64-linux-gnu/libgmt.so"
/home/michael/.local/julia-1.5.2/bin/../lib/julia/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /lib/libgdal.so.26)

Note, each time I did end up with a working version of GMT, and the only problem appears be with GMT.jl reading the dependencies.

It would be hugely beneficial for users if GMT.jl to use BinaryBuilder.jl to ship GMT and its other dependencies with the code. This would greatly simplify the process for interested users.

主要语言
Julia
星标
222
派生
35
平均合并
8 小时 1 分钟
30 天内合并 PR
9

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

GenericMappingTools/GMT.jl 的其他 Issue

查看 GenericMappingTools/GMT.jl 的全部 Issue

相似的 Issue

更多 Julia Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。