samtay / tetris

A terminal interface for Tetris
Other
871 stars 40 forks source link

Cant install from source on openSUSE Tumbleweed #36

Open Scarlord40 opened 2 months ago

Scarlord40 commented 2 months ago

When I run 'slack install tetris' I get this error:

/usr/bin/ld.bfd: cannot find -lgmp: No such file or directory
collect2: error: ld returned 1 exit status
ghc-9.6.4: gcc failed in phase Linker. (Exit code: 1)

Error: [S-6374]
       While building simple Setup.hs (scroll up to its section to see the error)
       using:
       /home/sparky/.stack/programs/x86_64-linux/ghc-tinfo6-9.6.4/bin/ghc-9.6.4 -rtsopts -threaded -clear-package-db -global-package-db -hide-all-packages -package base -main-is StackSetupShim.mainOverride -package Cabal-3.10.1.0 /home/sparky/.stack/setup-exe-src/setup-HwdwpEmb.hs /home/sparky/.stack/setup-exe-src/setup-shim-HwdwpEmb.hs -o /home/sparky/.stack/setup-exe-cache/x86_64-linux-tinfo6/tmp-Cabal-simple_HwdwpEmb_3.10.1.0_ghc-9.6.4

How do I fix this?