[Haskell-cafe] [cabal-install bootstrap failed] ghc-pkg: missing --global-package-db option, location of global package database unknown

CRUMEYROLLE Pierre pierre.crumeyrolle at c-s.fr
Mon Nov 21 14:04:38 UTC 2016


hello
i try to reinstall cabal in a customized directory but bootstrap  
launch fail because ghc-pkg list is failed
thanks for help

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.10.3


$ ./bootstrap.sh --no-doc
Using gcc for C compiler. If this is not what you want, set CC.
Using /usr/libexec/gcc/x86_64-redhat-linux/4.8.5/collect2 instead.
Checking installed packages for ghc-7.10.3...
ghc-pkg: missing --global-package-db option, location of global  
package database unknown


Error during cabal-install bootstrap:
running 'ghc-pkg list' failed


$ ghc-pkg list
ghc-pkg: missing --global-package-db option, location of global  
package database unknown




More information about the Haskell-Cafe mailing list