sdiehl / kaleidoscope

Haskell LLVM JIT Compiler Tutorial
http://www.stephendiehl.com/llvm
Other
1.03k stars 131 forks source link

Compiling the preprocessor gives error about missing pandoc #28

Closed Munksgaard closed 6 years ago

Munksgaard commented 8 years ago

When running stack ghc preprocessor.hs -- -o preprocessor as described in the readme, I get the following error:


preprocessor.hs:6:8:
    Could not find module ‘Text.Pandoc’
    Perhaps you meant
      Text.Parsec (from parsec-3.1.9@parse_8fSmqig53hOL2SEu1k9Tv0)
    Use -v to see a list of the files searched for.

I have pandoc installed, as well as libghc-pandoc-dev (1.16.0.2~dfsg-1 on Ubuntu 16.04. Am I missing something else?

Addisonbean commented 7 years ago

Did you install pandoc using stack install pandoc? I had to install pandoc through stack in order for stack to find it.