You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haste-compiler
Hi,
Just installed haste on a Win 8.1 and am trying to compile the haste-app example. Installed Haskell Platform 7.10.2-a and then haste using the MSI.
Compile of haste-app.hs fails with:
ghc --make haste-app.hs
haste-app.hs:8:8: Could not find module ‘Haste.App’ Use -v to see a list of the files searched for.
haste-app.hs:9:18: Could not find module ‘Haste.App.Concurrent’ Use -v to see a list of the files searched for.
haste-app.hs:10:8: Could not find module ‘Haste.DOM’ Use -v to see a list of the files searched for.
haste-app.hs:11:8: Could not find module ‘Haste.Events’ Use -v to see a list of the files searched for. make: *** [haste-app] Error 1
Is this a pkg mgmt problem?
Thanks
Sumit
Anton Ekblad
unread,
Sep 26, 2015, 6:48:07 PM9/26/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haste-compiler
Haste.App requires that vanilla GHC has access to the Haste libraries as well. The installer doesn't do anything to ensure this, as it'd be quite hairy to muck around with GHC's package database from there. You can fix this manually by installing the libraries yourself. Running `cabal install -fonly-library haste-compiler` will get you the Haste libraries for vanilla GHC, but no binaries (since you already got those with the installer).