Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get started? #1

Open
jonoabroad opened this issue Mar 3, 2015 · 1 comment
Open

How to get started? #1

jonoabroad opened this issue Mar 3, 2015 · 1 comment

Comments

@jonoabroad
Copy link

I have GHCJS installed as per the instructions.

I've tried compiling the source:

 ghcjs src/Main.hs

I assume, I'm meant to compile Setup.hs with ghc Setup.hs then $ ./Setup configure

I have no idea how to satisfy the missing dependencies.

@luite
Copy link
Member

luite commented Mar 3, 2015

I don't have experience with this particular example, but normally Setup.hs will be built by cabal. Just use cabal configure --ghcjs and then cabal build. For dependencies, use cabal install --ghcjs, or cabal install --ghcjs --only-dependencies. If any of the dependencies is not on hackage yet, clone them from github first and install using the directory names: cabal install --ghcjs ./jsaddle-hello ./somedep ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants