$ cabal -v install ghci-haskeline /usr/bin/ghc --numeric-version looking for package tool: ghc-pkg near compiler in /usr/bin found package tool in /usr/bin/ghc-pkg /usr/bin/ghc-pkg --version /usr/bin/ghc --supported-languages Reading installed packages... /usr/bin/ghc-pkg dump --global /usr/bin/ghc-pkg dump --user Reading available packages... Resolving dependencies... selecting ghci-haskeline-0.2 (hackage) and discarding directory-1.1.0.0, filepath-1.2.0.0, ghci-haskeline-0.1, 0.1.1, haskeline-0.2, 0.2.1, 0.3, 0.3.1, 0.3.2, 0.4, 0.5, 0.5.0.1, mtl-1.0, 2.0.0.0 and 2.0.1.0 selecting ghc-6.12.1 (installed) and discarding Cabal-1.1.6, 1.2.1, 1.2.2.0, 1.2.3.0, 1.2.4.0, 1.4.0.0, 1.4.0.1, 1.4.0.2, 1.6.0.1, 1.6.0.2, 1.6.0.3, 1.8.0.2, 1.8.0.4, 1.8.0.6, 1.10.0.0, 1.10.1.0, array-0.1.0.0, 0.2.0.0, 0.3.0.0, 0.3.0.1, 0.3.0.2, bytestring-0.9, 0.9.0.1, 0.9.0.2, 0.9.0.3, 0.9.0.4, 0.9.1.0, 0.9.1.1, 0.9.1.2, 0.9.1.3, 0.9.1.4, 0.9.1.5, 0.9.1.6, 0.9.1.7, 0.9.1.8, 0.9.1.9, 0.9.1.10, containers-0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.0.1, 0.3.0.0, 0.4.0.0, directory-1.0.0.0, 1.0.0.3, 1.0.1.0, 1.0.1.1, 1.0.1.2, filepath-1.0, 1.1.0.0, 1.1.0.1, 1.1.0.2, 1.1.0.3, 1.1.0.4, hpc-0.5.0.0, 0.5.0.1, 0.5.0.2, 0.5.0.3, 0.5.0.4, 0.5.0.5, 0.5.0.6, old-locale-1.0.0.0, 1.0.0.1, 1.0.0.2, old-time-1.0.0.0, 1.0.0.2, 1.0.0.3, 1.0.0.4, 1.0.0.5, 1.0.0.6, pretty-1.0.0.0, 1.0.1.0, 1.0.1.1, 1.0.1.2, process-1.0.0.0, 1.0.1.1, 1.0.1.2, 1.0.1.3, 1.0.1.4, 1.0.1.5, unix-2.0, 2.2.0.0, 2.3.0.0, 2.3.1.0, 2.3.2.0, 2.4.0.0, 2.4.0.1, 2.4.0.2, 2.4.1.0 and 2.4.2.0 selecting Cabal-1.8.0.2 (installed) selecting array-0.3.0.0 (installed) selecting bin-package-db-0.0.0.0 (installed) selecting bytestring-0.9.1.5 (installed) selecting containers-0.3.0.0 (installed) selecting directory-1.0.1.0 (installed) selecting filepath-1.1.0.3 (installed) selecting ghc-binary-0.5.0.2 (installed) selecting ghc-prim-0.2.0.0 (installed) selecting hpc-0.5.0.4 (installed) selecting integer-gmp-0.2.0.0 (installed) selecting old-locale-1.0.0.2 (installed) selecting old-time-1.0.0.3 (installed) selecting pretty-1.0.1.1 (installed) selecting process-1.0.1.2 (installed) selecting rts-1.0 (installed) selecting unix-2.4.0.0 (installed) selecting haskeline-0.6.4.0 (installed or hackage) and discarding extensible-exceptions-0.1.0.1, haskeline-0.6, 0.6.0.1, 0.6.1, 0.6.1.1, 0.6.1.2, 0.6.1.3, 0.6.1.5, 0.6.1.6, 0.6.2, 0.6.2.1, 0.6.2.2, 0.6.2.3, 0.6.2.4, 0.6.3, 0.6.3.1, 0.6.3.2, terminfo-0.1, 0.2, 0.2.1, 0.2.2, 0.2.2.1, 0.3, 0.3.0.1, 0.3.0.2, 0.3.1, 0.3.1.1, 0.3.1.2, utf8-string-0.1, 0.2, 0.3, 0.3.1, 0.3.1.1, 0.3.2, 0.3.3, 0.3.4 and 0.3.5 selecting terminfo-0.3.1.3 (installed or hackage) selecting utf8-string-0.3.6 (installed or hackage) selecting mtl-1.1.0.2 (installed or hackage) and discarding mtl-1.1.0.0, 1.1.0.1, 1.1.1.0 and 1.1.1.1 selecting ghc-paths-0.1.0.8 (installed or hackage) and discarding ghc-paths-0.1, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5, 0.1.0.6 and 0.1.0.7 selecting extensible-exceptions-0.1.1.1 (installed or hackage) and discarding extensible-exceptions-0.1.1.0 and 0.1.1.2 selecting base-3.0.3.2 (installed) and 4.2.0.0 (installed) and discarding syb-0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.2, 0.2.1, 0.2.2 and 0.3 selecting syb-0.1.0.2 (installed) In order, the following would be installed: ghci-haskeline-0.2 (new package) ghci-haskeline-0.2 has already been downloaded. Extracting /home/sudoman/.cabal/packages/hackage.haskell.org/ghci-haskeline/0.2/ghci-haskeline-0.2.tar.gz to /tmp/ghci-haskeline-0.24304... Configuring ghci-haskeline-0.2... Flags chosen: ghc-612=True, newer-ghc=True Dependency array ==0.3.0.0: using array-0.3.0.0 Dependency base ==4.2.0.0: using base-4.2.0.0 Dependency bytestring ==0.9.1.5: using bytestring-0.9.1.5 Dependency directory ==1.0.1.0: using directory-1.0.1.0 Dependency filepath ==1.1.0.3: using filepath-1.1.0.3 Dependency ghc ==6.12.1: using ghc-6.12.1 Dependency ghc-paths ==0.1.0.8: using ghc-paths-0.1.0.8 Dependency haskeline ==0.6.4.0: using haskeline-0.6.4.0 Dependency mtl ==1.1.0.2: using mtl-1.1.0.2 Dependency process ==1.0.1.2: using process-1.0.1.2 Dependency unix ==2.4.0.0: using unix-2.4.0.0 Using Cabal-1.8.0.2 compiled by ghc-6.12 Using compiler: ghc-6.12.1 Using install prefix: /home/sudoman/.cabal Binaries installed in: /home/sudoman/.cabal/bin Libraries installed in: /home/sudoman/.cabal/lib/ghci-haskeline-0.2/ghc-6.12.1 Private binaries installed in: /home/sudoman/.cabal/libexec Data files installed in: /home/sudoman/.cabal/share/ghci-haskeline-0.2 Documentation installed in: /home/sudoman/.cabal/share/doc/ghci-haskeline-0.2 Using alex version 2.3.3 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar No c2hs found No cpphs found No ffihugs found Using gcc version 4.4.5 found on system at: /usr/bin/gcc Using ghc version 6.12.1 found on system at: /usr/bin/ghc Using ghc-pkg version 6.12.1 found on system at: /usr/bin/ghc-pkg No greencard found Using haddock version 2.6.0 found on system at: /usr/bin/haddock Using happy version 1.18.4 found on system at: /usr/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs No hscolour found No hugs found No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.25 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for ghci-haskeline-0.2... Building ghci-haskeline-0.2... Building executable ghci-haskeline... Creating dist/build/ghci-haskeline (and its parents) Creating dist/build/ghci-haskeline/ghci-haskeline-tmp (and its parents) /usr/bin/ghc --make -o dist/build/ghci-haskeline/ghci-haskeline -hide-all-packages -fbuilding-cabal-package -package-conf dist/package.conf.inplace -i -idist/build/ghci-haskeline/ghci-haskeline-tmp -i. -idist/build/autogen -Idist/build/autogen -Idist/build/ghci-haskeline/ghci-haskeline-tmp -optP-DGHCI -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/ghci-haskeline/ghci-haskeline-tmp -hidir dist/build/ghci-haskeline/ghci-haskeline-tmp -stubdir dist/build/ghci-haskeline/ghci-haskeline-tmp -package-id array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98 -package-id base-4.2.0.0-593244698ce329f70e344ad4043c8f81 -package-id bytestring-0.9.1.5-d471a82ca100058cd1bd1d978096e3f5 -package-id directory-1.0.1.0-78675174ffd07c6f9fe53699580aa262 -package-id filepath-1.1.0.3-73da564642fbe7097adbe2e354b17071 -package-id ghc-6.12.1-66fbc2b362e8d5638e425c376bdcf4b2 -package-id ghc-paths-0.1.0.8-b7e218c736ed2432b1291fe8d00f9637 -package-id haskeline-0.6.4.0-4f8a4e6fb3796e85c80ee0d6948836bb -package-id mtl-1.1.0.2-23ca4de7c573fd4df309067199a40634 -package-id process-1.0.1.2-347278fc413da672e43a1ba9fea95da7 -package-id unix-2.4.0.0-e6a636c4e6dd1fc9e9e73a45113161f3 -O -XForeignFunctionInterface -XUnboxedTuples -XFlexibleInstances -XMagicHash -XCPP -XPatternGuards ./Main.hs GhciHaskeline612/InteractiveUI.hs:47:7: Could not find module `Linker': Use -v to see a list of the files searched for. cabal: Error: some packages failed to install: ghci-haskeline-0.2 failed during the building phase. The exception was: ExitFailure 1