-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
The instructions doesn't quite work on a fresh installation. And the error messages you get are very cryptic.
./Setup.sh: line 66: --batch: command not found
The problem is that
mygf=`stack exec which gf`
silently failed because the dependencies (including gf
) wasn't installed yet.
We need to both check that the step worked and make sure that the dependencies are built first.
Also, the error you get if you don't follow the instructions and just try stack build
is very cryptic as well:
...
Done running
GF_LIB_PATH=Nothing
["-make","-v=0","-f","haskell","--haskell=gadt","--haskell=lexical","--lexical=Atom","--output-dir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/build/l4-generated","grammars/Questions.gf"]
File Noun.gf does not exist.
searched in: grammars/
...
so we should try to make Setup.hs
give more helpful errors.
Metadata
Metadata
Assignees
Labels
No labels