lettier / movie-monad

:tv: A free and simple to use video player made with Haskell.
https://lettier.github.io/movie-monad
BSD 3-Clause "New" or "Revised" License
420 stars 24 forks source link

Can't compile ghc in Ubuntu 20 LTS #20

Open LodeVanB opened 3 years ago

LodeVanB commented 3 years ago

Linking /tmp/stack-8e5b199576f853c6/network-2.6.3.2/.stack-work/dist/x86_64-linux-tinfo6/Cabal-1.24.2.0/setup/setup ... /usr/bin/ld: cannot find -ltinfo collect2: error: ld returned 1 exit status gcc' failed in phaseLinker'. (Exit code: 1)

.stack-work/install/x86_64-linux-tinfo6/lts-9.1/8.0.2/doc/haskell-gi-base-0.21.0 --haddockdir=/home/loderunner/movie-monad/.stack-work/install/x86_64-linux-tinfo6/lts-9.1/8.0.2/doc/haskell-gi-base-0.21.0 --dependency=base=base-4.9.1.0 --dependency=bytestring=bytestring-0.10.8.1 --dependency=containers=containers-0.5.7.1 --dependency=text=text-1.2.2.2-9UQZjEJZQFSGMffj1Z5g00 Process exited with code: ExitFailure 1 Logs have been written to: /home/loderunner/movie-monad/.stack-work/logs/haskell-gi-base-0.21.0.log

Configuring haskell-gi-base-0.21.0...
Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2: The pkg-config package 'gobject-2.0'
version >=2.32 is required but it could not be found.

stack exec -- movie-monad Executable named movie-monad not found on path: ["/home/lxxxx/movie-monad/.stack-work/install/x86_64-linux-tinfo6/lts-9.1/8.0.2/bin","/home/lxxxx/.stack/snapshots/x86_64-linux-tinfo6/lts-9.1/8.0.2/bin","/home/lxxxx/.stack/compiler-tools/x86_64-linux-tinfo6/ghc-8.0.2/bin","/home/xxxx/.stack/programs/x86_64-linux/ghc-tinfo6-8.0.2/bin","/home/lxxxx/.local/bin","/usr/local/sbin","/usr/local/bin","/usr/sbin","/usr/bin","/sbin","/bin","/usr/games","/usr/local/games","/snap/bin"]