Advertisement
vitalijzad

stack error

Oct 27th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. reddit-bot-0.1.0.0: build
  2. Preprocessing library reddit-bot-0.1.0.0...
  3. [1 of 1] Compiling Lib ( src/Lib.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.0.0/build/Lib.o )
  4.  
  5. /home/vitalij/Documenti/spazi_lavoro/stack/reddit-bot/src/Lib.hs:5:1: error:
  6. Failed to load interface for ‘Database.MySQL.Simple’
  7. Use -v to see a list of the files searched for.
  8.  
  9. -- While building package reddit-bot-0.1.0.0 using:
  10. /home/vitalij/.stack/setup-exe-cache/x86_64-linux/setup-Simple-Cabal-1.24.0.0-ghc-8.0.1 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.24.0.0 build lib:reddit-bot exe:reddit-bot-exe --ghc-options " -ddump-hi -ddump-to-file"
  11. Process exited with code: ExitFailure 1
  12. vitalij@vitalij-Aspire-MC605:~/Documenti/spazi_lavoro/stack/reddit-bot$ stack build
  13. Warning: /home/vitalij/Documenti/spazi_lavoro/stack/reddit-bot/stack.yaml: Unrecognized field in ProjectAndConfigMonoid: location
  14. reddit-bot-0.1.0.0: build
  15. Preprocessing library reddit-bot-0.1.0.0...
  16. [1 of 1] Compiling Lib ( src/Lib.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.0.0/build/Lib.o )
  17.  
  18. /home/vitalij/Documenti/spazi_lavoro/stack/reddit-bot/src/Lib.hs:5:1: error:
  19. Failed to load interface for ‘Database.MySQL.Simple’
  20. Use -v to see a list of the files searched for.
  21.  
  22. -- While building package reddit-bot-0.1.0.0 using:
  23. /home/vitalij/.stack/setup-exe-cache/x86_64-linux/setup-Simple-Cabal-1.24.0.0-ghc-8.0.1 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.24.0.0 build lib:reddit-bot exe:reddit-bot-exe --ghc-options " -ddump-hi -ddump-to-file"
  24. Process exited with code: ExitFailure 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement