-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ThreadScope doesn't build on Windows #97
Comments
Do you have more detailed log messages? Also does the Windows binary for v0.2.11 work? |
I'll get the entire log for you. Do I need to add switches for more verbose output? Also, I didn't know about the v0.2.11 binaries so will try those next. Thx. |
Probably Thanks. |
Glasgow Haskell Compiler, Version 8.8.1, stage 2 booted by GHC version 8.6.2 cabal v2-clean Thanks again for any consideration, suggestions, or fixes you can offer.... |
Apparently the cairo C library isn't available for some reason.
|
Latest Windows binary is available at https://github.com/haskell/ThreadScope/releases/tag/v0.2.13. I edited the title accordingly. |
No Windows binaries available as indicated on the HaskelWiki ThreadScope page (and link):
ThreadScope https://wiki.haskell.org/ThreadScope
...which points here: v0.2.11.1 https://github.com/haskell/ThreadScope/releases
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.
The text was updated successfully, but these errors were encountered: