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
Failed to install ghc-vis
#9170
Comments
Note that you will also need the development libraries for Glib and Gtk3. Again, and even more so, these vary too much for cabal to try to install them itself. |
Hi @geekosaur, thanks! Now it's showing
|
Yes, that's one of the OS packages you'll need to install; pkg-config reports on OS devel packages in a more portable way than OS packages themselves, but then you have to map them to OS package names somehow. On my Ubuntu system Expect to run into more of these. |
Here is the list of all the packages with name containing cairo. I have installed many of them which I thought might be related. Still, no luck! Also, for gtk, which package should I install? It's pretty frustating 😔 |
Hi @Aritra8438 , Unfortunately I don't think you will find answers on the Cabal issue tracker, since Cabal itself is mostly focused on managing Haskell software—not the system dependencies. You might have more luck on ghc-vis' own issue tracker? I wish it were easier, but installing system packages is harder than it seems because there are so many different ways of doing it. |
I have the same problem to install ghc-vis.
|
This is not a bug. Custom (update, that was a dumb typo, whoops) |
I needed one more hack which appears to be Debian/Ubuntu specific: |
I have encountered all above problems when using cabal to install it, at the end I followed the instructions in project readme in github: https://github.com/def-/ghc-vis, changed the versions in https://github.com/def-/ghc-vis/blob/master/stack.yaml( from 0.13.8.0 to 0.13.10.0 because I had issued when installing with 0.13.8). Finally I can use it now! |
Describe the bug
There is an issued while installing
ghc-vis
.To Reproduce
ghc-vis
usingcabal install ghc-vis
Expected behavior
ghc-vis seems important to me as a learner.
System information
The text was updated successfully, but these errors were encountered: