#3525: current dist source fail to build when Happy not found
-----------------------------+----------------------------------------------
Reporter: kristerw | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.11 | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
The daily source tarballs from
http://www.haskell.org/ghc/dist/current/dist/ errors out at configure time
if Happy is not found. This error was introduced in the
ghc-6.11.20090913-src.tar.bz2 source.
A workaround to make it compile is to modify the configure script as:
--- configure.orig 2009-09-17 23:07:01.000000000 +0200
+++ configure 2009-09-17 23:07:39.000000000 +0200
@@ -5605,7 +5605,7 @@
fi
{ echo "$as_me:$LINENO: result: $fptools_cv_happy_version" >&5
echo "${ECHO_T}$fptools_cv_happy_version" >&6; }
-if test ! -f compiler/parser/Parser.hs || test ! -f
compiler/main/ParsePkgConf.hs || test ! -f compiler/cmm/CmmParse.hs ||
test ! -f compiler/parser/ParserCore.hs
+if test ! -f compiler/parser/Parser.hs || test ! -f
compiler/cmm/CmmParse.hs || test ! -f compiler/parser/ParserCore.hs
then
fp_version1=$fptools_cv_happy_version; fp_version2=1.16
fp_save_IFS=$IFS; IFS='.'
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3525>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs