Skip to content

Instantly share code, notes, and snippets.

@MatthewRalston
Created September 21, 2017 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MatthewRalston/702d27ff338600e9a939977656405a04 to your computer and use it in GitHub Desktop.
Save MatthewRalston/702d27ff338600e9a939977656405a04 to your computer and use it in GitHub Desktop.
cabal-install error
Using gcc for C compiler. If this is not what you want, set CC.
Using /usr/libexec/gcc/xxxx/4.4.7/collect2 instead.
src/Hackage/Security/TUF/Layout/Repo.hs:8:1: error:
Could not find module ‘Distribution.Package’
Perhaps you haven't installed the profiling libraries for package ‘Cabal-2.0.0.2’?
Use -v to see a list of the files searched for.
|
8 | import Distribution.Package
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Hackage/Security/TUF/Layout/Repo.hs:9:1: error:
Could not find module ‘Distribution.Text’
Perhaps you haven't installed the profiling libraries for package ‘Cabal-2.0.0.2’?
Use -v to see a list of the files searched for.
|
9 | import Distribution.Text
| ^^^^^^^^^^^^^^^^^^^^^^^^
Error during cabal-install bootstrap:
Building the hackage-security package failed.
Setup: Encountered missing dependencies:
hackage-security >=0.5.2.2 && <0.6
Error during cabal-install bootstrap:
Configuring the cabal-install package failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment