Windows 8.1 install of haste

38 views
Skip to first unread message

Sumit Raja

unread,
Sep 26, 2015, 2:01:59 AM9/26/15
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
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).

/Anton
Reply all
Reply to author
Forward
Message has been deleted
0 new messages