ddssff / cabal-debian

Create a Debianization by examining a .cabal file.
Other
16 stars 10 forks source link

runInteractiveProcess: exec: does not exist #63

Open georgewsinger opened 6 years ago

georgewsinger commented 6 years ago

When I run cabal-debian from the root of my Haskell Stack project (via Ubuntu Bionic 18.04):

$ cabal-debian  --maintainer 'Maintainer Name <maintainer@email>'
cabal-debian: peformDebianization - getCompilerInfo - ghc: readCreateProcessWithExitCode: runInteractiveProcess: exec: does not exist (No such file or directory)
CallStack (from HasCallStack):
  error, called at src/Debian/Debianize/Output.hs:81:33 in cabal-debian-4.36.1-Kcjr4ZgfoSH7jkCco5cs2o:Debian.Debianize.Output
georgewsinger commented 6 years ago

The issue was not having having ghc on my system (and instead just stack); running sudo apt-get install ghc fixes this error but generates a new one which I'll open a new issue for.

ddssff commented 6 years ago

Another confusing message, the "ghc:" before readCreateProcessWithExitCode is the name of executable it is unable to run.