只是想知道是否有人在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
提前致谢。
答案 0 :(得分:2)
是的,彼得·特罗姆勒已经成功了 - 这是他rpms for ghc-7.2.1的home:ptrommler:devel:languages:haskell repository on the OBS。 (即使最新版本似乎失败了,也有来自之前版本的软件包。)
我已经邮寄了彼得和official devel:languages:haskell repositories的维护者,询问是否有任何方式可以更新官方文件。