Failed to install `ghc-vis`
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
**Describe the bug**
There is an issued while installing `ghc-vis`.
```zsh
In order, the following will be built (use -v for more details):
- cairo-0.13.10.0 (lib:cairo) (requires build)
- glib-0.13.10.0 (lib:glib) (requires build)
- svgcairo-0.13.2.1 (lib:svgcairo) (requires build)
- pango-0.13.10.0 (lib:pango) (requires build)
- gio-0.13.10.0 (lib:gio) (requires build)
- gtk3-0.15.8 (lib:gtk3) (requires build)
- xdot-0.3.0.4 (lib) (requires build)
- ghc-vis-0.9.3 (lib:ghc-vis) (requires build)
Starting glib-0.13.10.0 (all, legacy fallback)
Starting cairo-0.13.10.0 (all, legacy fallback)
Failed to build cairo-0.13.10.0. The failure occurred during the configure
step.
Build log (
/home/aritra/.cabal/logs/ghc-8.8.4/cairo-0.13.10.0-81b8c943a021bd4237b0e6e66141cec1a243c78847a3f4ee42b73e4f788c4b52.log
):
[1 of 1] Compiling Main ( /tmp/cabal-install.-18076/dist-newstyle/tmp/src-18076/cairo-0.13.10.0/dist/setup/setup.hs, /tmp/cabal-install.-18076/dist-newstyle/tmp/src-18076/cairo-0.13.10.0/dist/setup/Main.o )
Linking /tmp/cabal-install.-18076/dist-newstyle/tmp/src-18076/cairo-0.13.10.0/dist/setup/setup ...
Configuring cairo-0.13.10.0...
setup: The program 'pkg-config' version >=0.9.0 is required but it could not
be found.
Failed to build glib-0.13.10.0. The failure occurred during the configure
step.
Build log (
/home/aritra/.cabal/logs/ghc-8.8.4/glib-0.13.10.0-01abe28a789687fd3b06788a8baed6586a6bcaa979f42695260a3010ad2980ea.log
):
[1 of 1] Compiling Main ( /tmp/cabal-install.-18076/dist-newstyle/tmp/src-18077/glib-0.13.10.0/dist/setup/setup.hs, /tmp/cabal-install.-18076/dist-newstyle/tmp/src-18077/glib-0.13.10.0/dist/setup/Main.o )
Linking /tmp/cabal-install.-18076/dist-newstyle/tmp/src-18077/glib-0.13.10.0/dist/setup/setup ...
Configuring glib-0.13.10.0...
setup: The program 'pkg-config' version >=0.9.0 is required but it could not
be found.
cabal: Failed to build cairo-0.13.10.0 (which is required by ghc-vis-0.9.3).
See the build log above for details.
Failed to build glib-0.13.10.0 (which is required by ghc-vis-0.9.3). See the
build log above for details.
```
**To Reproduce**
- Install haskell.
- Attempt to install `ghc-vis` using `cabal install ghc-vis`
**Expected behavior**
ghc-vis seems important to me as a learner.
**System information**
```
cabal-install version 3.0.0.0
compiled using version 3.0.1.0 of the Cabal library
```
```
The Glorious Glasgow Haskell Compilation System, version 8.8.4
```
Contributor guide
Assessment
This issue has not been assessed yet.