haskell / haskell/ThreadScope

ThreadScope doesn't build on Windows

未关闭
#97 6 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
info needed
主要语言
Haskell
星标
173
派生
37
PR 合并指标
30 天内没有已合并 PR

描述

1. No Windows binaries available as indicated on the HaskelWiki ThreadScope page (and link):
[ThreadScope](https://wiki.haskell.org/ThreadScope) https://wiki.haskell.org/ThreadScope
...which points here: [v0.2.11.1](https://github.com/haskell/ThreadScope/releases) https://github.com/haskell/ThreadScope/releases

2. Building from source fails to build Cairo, GTK, glib and sometimes more. (see below).

Trying to follow various links/pages to install a MSys2 for this, normal HaskellPlatform, Stack, choco ghc & cabal continues to result in same or very similar errors. (Also recommendations about adding gtk to Msys2 didn't work as documented there.)

[I really appreciated the consideration and work put into making this repo work.]
***Thank you.***

Also, even though I am a beginner, I had significant help over 3 days (2-4 hours each) from kind people on Discord Functional Programming -> Haskell -> Tools.

***Windows 10:***
The following is the typical result whether building in PowerShell, cmd.exe, or Msys2 console with cabal or stack (from Stack or HaskelPlatform fresh installs) and various versions of ghc & cabal but this one is ghc 8.8.1 & cabal 3.0.0.0 from Chocolatey.

cabal.exe: Failed to build
cairo-0.13.6.1-987105696650394a34eb74af34617e03a3933041. The failure occurred
during the configure step.
Failed to build gio-0.13.6.1 because it depends on gio-0.13.6.1 which itself
failed to build.
Failed to build glib-0.13.7.1-3582c70d9057abba298033561529f13cb9f4d125. The
failure occurred during the configure step.
Failed to build gtk-0.15.3 because it depends on gtk-0.15.3 which itself
failed to build.
Failed to build pango-0.13.6.1 because it depends on pango-0.13.6.1 which
itself failed to build.
Failed to build threadscope-0.2.11.1 because it depends on
threadscope-0.2.11.1 which itself failed to build.

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 HaskellWiki ThreadScope 页面、v0.2.11.1 发布版本以及使用 GHC 8.8.1 和 Cabal 3.0.0.0 的已报告 Windows 10 构建开始。复现 cairo、glib、gtk 和 pango 的 configure 失败,然后确定是否能够生成并记录一个可用的 Windows 构建或二进制文件。

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

评估

技术栈
haskell
领域
build-system, desktop
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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