1

只是想知道这里是否有人在 OpenSuSE 上成功构建了 GHC 7.2.1。我遇到了错误,当前安装了 7.0.3。

chmod +x inplace/lib/ghc-split
"rm" -f                              inplace/bin/ghc-stage1
echo '#!/bin/sh'                             >> inplace/bin/ghc-stage1
echo 'executablename="/home/gatoatigrado/Downloads/ghc-7.2.1/inplace/lib/ghc-stage1"'            >> inplace/bin/ghc-stage1
echo 'datadir="/home/gatoatigrado/Downloads/ghc-7.2.1/inplace/lib"'       >> inplace/bin/ghc-stage1
echo 'bindir="/home/gatoatigrado/Downloads/ghc-7.2.1/inplace/bin"'        >> inplace/bin/ghc-stage1
echo 'topdir="/home/gatoatigrado/Downloads/ghc-7.2.1/inplace/lib"'     >> inplace/bin/ghc-stage1
echo 'pgmgcc="/usr/bin/gcc"'            >> inplace/bin/ghc-stage1
cat ghc/ghc.wrapper               >> inplace/bin/ghc-stage1
chmod +x                               inplace/bin/ghc-stage1
/usr/bin/gcc -E  -undef -traditional -P -DTOP='"/home/gatoatigrado/Downloads/ghc-7.2.1"'  -x c -Iincludes libffi/package.conf.in -o libffi/package.conf.inplace.raw
grep -v '^#pragma GCC' libffi/package.conf.inplace.raw | sed -e 's/""//g' -e 's/:[   ]*,/: /g' > libffi/package.conf.inplace
"inplace/bin/ghc-pkg" update --force libffi/package.conf.inplace
Reading package info from "libffi/package.conf.inplace" ... done.
ghc-pkg: too few bytes. Failed reading at byte position 44111
make[1]: *** [libffi/package.conf.inplace] Error 1
make[1]: *** Deleting file `libffi/package.conf.inplace'
make: *** [all] Error 2

提前致谢。

错误报告:http ://hackage.haskell.org/trac/ghc/ticket/5446

4

1 回答 1

2

是的,Peter Trommler 成功了——这里是来自他家的 ghc-7.2.1 的 rpm :ptrommler:devel:languages:haskell 在 OBS 上的存储库。(即使最新的构建似乎失败了,也有来自先前构建的包。)

我已经给 Peter 和官方 devel:languages:haskell 存储库的维护者发了邮件,询问是否有任何方法可以更新官方存储库。

于 2011-10-30T14:27:13.010 回答