cabal bootstrap

Harley Leyton voldermort at hotmail.com
Mon Jan 7 19:01:20 UTC 2019


Any more info would help?

________________________________________________________________________________
 
Output is the same as in https://github.com/haskell/cabal/issues/5391

[  1 of 215] Compiling Distribution.Compat.Binary ( Distribution/Compat/Binary.hs, Distribution/Compat/Binary.o )
[  2 of 215] Compiling Distribution.Compat.Directory ( Distribution/Compat/Directory.hs, Distribution/Compat/Directory.o )
[  3 of 215] Compiling Distribution.Compat.Exception ( Distribution/Compat/Exception.hs, Distribution/Compat/Exception.o )
[  4 of 215] Compiling Distribution.Compat.Internal.TempFile ( Distribution/Compat/Internal/TempFile.hs, Distribution/Compat/Internal/TempFile.o )
[  5 of 215] Compiling Distribution.Compat.MonadFail ( Distribution/Compat/MonadFail.hs, Distribution/Compat/MonadFail.o )
[  6 of 215] Compiling Distribution.Compat.Newtype ( Distribution/Compat/Newtype.hs, Distribution/Compat/Newtype.o )
[  7 of 215] Compiling Distribution.Compat.Semigroup ( Distribution/Compat/Semigroup.hs, Distribution/Compat/Semigroup.o )
[  8 of 215] Compiling Distribution.Compat.Stack ( Distribution/Compat/Stack.hs, Distribution/Compat/Stack.o )
[  9 of 215] Compiling Distribution.Compat.Prelude ( Distribution/Compat/Prelude.hs, Distribution/Compat/Prelude.o )
[ 10 of 215] Compiling Distribution.Compat.ReadP ( Distribution/Compat/ReadP.hs, Distribution/Compat/ReadP.o )
[ 11 of 215] Compiling Distribution.Compat.Parsing ( Distribution/Compat/Parsing.hs, Distribution/Compat/Parsing.o )

Distribution/Compat/Parsing.hs:61:1: error:
    Could not find module `Text.Parsec'
    Use -v to see a list of the files searched for.
   |
61 | import qualified Text.Parsec as Parsec
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 12 of 215] Compiling Distribution.Compat.Graph ( Distribution/Compat/Graph.hs, Distribution/Compat/Graph.o )
[ 13 of 215] Compiling Distribution.Compat.GetShortPathName ( Distribution/Compat/GetShortPathName.hs, Distribution/Compat/GetShortPathName.o )
[ 14 of 215] Compiling Distribution.Compat.DList ( Distribution/Compat/DList.hs, Distribution/Compat/DList.o )
[ 15 of 215] Compiling Distribution.Compat.Lens ( Distribution/Compat/Lens.hs, Distribution/Compat/Lens.o )

Distribution/Compat/Lens.hs:55:1: error:
    Could not find module `Control.Monad.State.Class'
    Perhaps you meant
      Control.Monad.Trans.Class (from transformers-0.5.2.0)
      Control.Monad.IO.Class (from base-4.10.0.0)
    Use -v to see a list of the files searched for.
   |
55 | import Control.Monad.State.Class (MonadState (..), gets, modify)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> Do you have the output or something? I recall that the bootstrap.sh
> script worked last time I tried it. Perhaps GHC used to ship with parsec
> and now it doesn't?
>
> If you provide some broader context I may be able to help - if you're
> porting cabal to a new platform you may consider cross-compiling cabal
>
> On 1/6/19 7:08 AM, Harley Leyton wrote:
>> Is there any way to install cabal-install on top of a fresh installation of ghc with bootsrap.sh? I keep getting stuck on https://github.com/haskell/cabal/issues/5391.


More information about the Libraries mailing list