Hi,<br><br>It&#39;s not possible to build the Happy glr examples using GHC 6.10.3 and Happy 1.18.4:<br><br style="font-family: courier new,monospace;"><div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">cetin@unique:~/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr$">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr$</a> make</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make loop CMD=run</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[1]: Entering directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">for d in expr-eval expr-tree expr-monad hidden-leftrec highly-ambiguous packing nlp bio-eg; do (cd $d &amp;&amp; make run); done</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Entering directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/expr-eval">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/expr-eval</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;"># might want to run happy with --ghc</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data -O -cpp -fglasgow-exts -package lang -o expr --make Main.lhs</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: *** [expr] Error 1</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Leaving directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/expr-eval">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/expr-eval</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Entering directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/expr-tree">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/expr-tree</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;"># might want to run happy with --ghc</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data -O2 -cpp -fglasgow-exts -package lang -o expr --make Main.lhs</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: *** [expr] Error 1</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Leaving directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/expr-tree">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/expr-tree</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Entering directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/expr-monad">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/expr-monad</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data  -cpp -fglasgow-exts -package lang -o expr --make Main.lhs</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: *** [expr] Error 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: Leaving directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/expr-monad">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/expr-monad</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Entering directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/hidden-leftrec">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/hidden-leftrec</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data  -cpp -fglasgow-exts -package lang -o expr --make Main.lhs</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: *** [expr] Error 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: Leaving directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/hidden-leftrec">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/hidden-leftrec</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Entering directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/highly-ambiguous">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/highly-ambiguous</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data  -cpp -fglasgow-exts -package lang -o expr --make Main.lhs</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: *** [expr] Error 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: Leaving directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/highly-ambiguous">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/highly-ambiguous</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Entering directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/packing">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/packing</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">Makefile:8: warning: overriding commands for target `.y.hs&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">../Makefile.defs:15: warning: ignoring old commands for target `.y.hs&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data  -cpp -fglasgow-exts -package lang -o expr --make Main.lhs</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: *** [expr] Error 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: Leaving directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/packing">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/packing</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Entering directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/nlp">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/nlp</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data  -cpp -fglasgow-exts -package lang -o english --make Main.lhs</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: *** [english] Error 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: Leaving directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/nlp">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/nlp</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Entering directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/bio-eg">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/bio-eg</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">Making BioData.hs WITHOUT optimisation (for speed)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data  -cpp -fglasgow-exts -package lang -funfolding-use-threshold0 -fno-strictness  -c BioData.hs</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: *** [BioData.hi] Error 1</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Leaving directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/bio-eg">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr/bio-eg</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[1]: *** [loop] Error 2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[1]: Leaving directory `/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make: *** [all] Error 2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cetin@unique:~/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr$">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr$</a> cabal update</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">Downloading the latest package list from <a href="http://hackage.haskell.org">hackage.haskell.org</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cetin@unique:~/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr$">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr$</a> cabal install data</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">cabal: There is no package named data</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cetin@unique:~/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr$">hackage.haskell.org/happy/1.18.4/happy-1.18.4/examples/glr$</a> happy --version; ghc --version</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">Happy Version 1.18.4 Copyright (c) 1993-1996 Andy Gill, Simon Marlow (c) 1997-2005 Simon Marlow</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">Happy is a Yacc for Haskell, and comes with ABSOLUTELY NO WARRANTY.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">This program is free software; you can redistribute it and/or modify</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">it under the terms given in the file &#39;LICENSE&#39; distributed with</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">the Happy sources.</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">The Glorious Glasgow Haskell Compilation System, version 6.10.3</span><br style="font-family: courier new,monospace;"></div><br><br>or GHC 6.10.1 and Happy 1.18.2:<br><br>

<div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">cetin@sweethome:~/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr$">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr$</a> makemake loop CMD=run</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[1]: Betrete Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">for d in expr-eval expr-tree expr-monad hidden-leftrec highly-ambiguous packing nlp bio-eg; do (cd $d &amp;&amp; make run); done</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Betrete Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/expr-eval">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/expr-eval</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;"># might want to run happy with --ghc</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data -O -cpp -fglasgow-exts -package lang -o expr --make Main.lhs</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: *** [expr] Fehler 1</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Verlasse Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/expr-eval">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/expr-eval</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Betrete Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/expr-tree">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/expr-tree</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;"># might want to run happy with --ghc</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data -O2 -cpp -fglasgow-exts -package lang -o expr --make Main.lhs</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: *** [expr] Fehler 1</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Verlasse Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/expr-tree">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/expr-tree</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Betrete Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/expr-monad">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/expr-monad</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data  -cpp -fglasgow-exts -package lang -o expr --make Main.lhs</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: *** [expr] Fehler 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: Verlasse Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/expr-monad">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/expr-monad</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Betrete Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/hidden-leftrec">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/hidden-leftrec</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data  -cpp -fglasgow-exts -package lang -o expr --make Main.lhs</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: *** [expr] Fehler 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: Verlasse Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/hidden-leftrec">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/hidden-leftrec</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Betrete Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/highly-ambiguous">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/highly-ambiguous</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data  -cpp -fglasgow-exts -package lang -o expr --make Main.lhs</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: *** [expr] Fehler 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: Verlasse Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/highly-ambiguous">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/highly-ambiguous</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Betrete Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/packing">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/packing</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">Makefile:8: Warnung: Die Befehle für das Ziel ».y.hs« werden überschrieben</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">../Makefile.defs:15: Warnung: Alte Befehle für das Ziel ».y.hs« werden ignoriert</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data  -cpp -fglasgow-exts -package lang -o expr --make Main.lhs</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: *** [expr] Fehler 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: Verlasse Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/packing">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/packing</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Betrete Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/nlp">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/nlp</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data  -cpp -fglasgow-exts -package lang -o english --make Main.lhs</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: *** [english] Fehler 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: Verlasse Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/nlp">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/nlp</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Betrete Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/bio-eg">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/bio-eg</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">Making BioData.hs WITHOUT optimisation (for speed)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">ghc -I../common -i../common -package data  -cpp -fglasgow-exts -package lang -funfolding-use-threshold0 -fno-strictness  -c BioData.hs</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&lt;command line&gt;: unknown package: data</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: *** [BioData.hi] Fehler 1</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[2]: Verlasse Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/bio-eg">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr/bio-eg</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make[1]: *** [loop] Fehler 2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[1]: Verlasse Verzeichnis &#39;/home/cetin/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr</a>&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make: *** [all] Fehler 2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cetin@sweethome:~/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr$">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr$</a> happy --version; ghc --version</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">Happy Version 1.18.2 Copyright (c) 1993-1996 Andy Gill, Simon Marlow (c) 1997-2005 Simon Marlow</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">Happy is a Yacc for Haskell, and comes with ABSOLUTELY NO WARRANTY.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">This program is free software; you can redistribute it and/or modify</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">it under the terms given in the file &#39;LICENSE&#39; distributed with</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">the Happy sources.</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">The Glorious Glasgow Haskell Compilation System, version 6.10.1</span><br style="font-family: courier new,monospace;"></div><br><br>When I try to manually build something out of a .y file, I keep getting:<br>

<br><div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">cetin@sweethome:~/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr$">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr$</a> find | grep -E &quot;y$&quot; | xargs -n 1 echo happy -gcal</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">happy -gcal ./packing/Expr.y</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">happy -gcal ./highly-ambiguous/Expr.y</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">happy -gcal ./expr-eval/Expr.y</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">happy -gcal ./expr-monad/Expr.y</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">happy -gcal ./nlp/English.y</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">happy -gcal ./hidden-leftrec/Expr.y</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">happy -gcal ./expr-tree/Expr.y</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">happy -gcal ./bio-eg/Bio.y</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">cetin@sweethome:~/.cabal/packages/<a href="http://hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr$">hackage.haskell.org/happy/1.18.2/happy-1.18.2/examples/glr$</a> find | grep -E &quot;y$&quot; | xargs -n 1 happy -gcal</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">reduce/reduce conflicts: 2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">happy: src/ProduceGLRCode.lhs:190:11-76: Irrefutable pattern failed for pattern (pre, drop_me : post)</span><br style="font-family: courier new,monospace;">

<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">shift/reduce conflicts:  7</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">reduce/reduce conflicts: 1</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">happy: src/ProduceGLRCode.lhs:190:11-76: Irrefutable pattern failed for pattern (pre, drop_me : post)</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">shift/reduce conflicts:  9</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">happy: src/ProduceGLRCode.lhs:190:11-76: Irrefutable pattern failed for pattern (pre, drop_me : post)</span><br style="font-family: courier new,monospace;">

<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">shift/reduce conflicts:  9</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">happy: src/ProduceGLRCode.lhs:190:11-76: Irrefutable pattern failed for pattern (pre, drop_me : post)</span><br style="font-family: courier new,monospace;">

<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">shift/reduce conflicts:  2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">happy: src/ProduceGLRCode.lhs:190:11-76: Irrefutable pattern failed for pattern (pre, drop_me : post)</span><br style="font-family: courier new,monospace;">

<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">shift/reduce conflicts:  4</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">reduce/reduce conflicts: 1</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">happy: src/ProduceGLRCode.lhs:190:11-76: Irrefutable pattern failed for pattern (pre, drop_me : post)</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">shift/reduce conflicts:  9</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">happy: src/ProduceGLRCode.lhs:190:11-76: Irrefutable pattern failed for pattern (pre, drop_me : post)</span><br style="font-family: courier new,monospace;">

<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">unused rules: 20</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">shift/reduce conflicts:  35</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">reduce/reduce conflicts: 68</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">happy: src/ProduceGLRCode.lhs:190:11-76: Irrefutable pattern failed for pattern (pre, drop_me : post)</span><br style="font-family: courier new,monospace;">

</div><br>Does anyone have solution for this? The irrefutable pattern failure issue is especially bothersome for me as I ran into it in a Fortran grammar I&#39;m writing and got stuck.<br><br>Best Regards,<br>Cetin Sert<br>