[Haskell-cafe] problems installing ghc 6.6 with extralibs (bad
interface file)
Thomas Hartman
tphyahoo at gmail.com
Mon Feb 26 12:17:38 EST 2007
I installed ghc 6.6 from source ok. But then when I tried installing
it with the "extralibs" to get all the functionality that had been
unbundled in 6.6, I hit a glitch.
Anyone ever seen anything like this?
In case it matters, this is ssh-ed in to a virtualized user mode linux session.
*****************************************
thartman at linodewhyou:~/haskellInstalls$ cat install-ghc-6.6.sh
if [ ! -f ghc-6.6-src.tar.bz2 ]; then
wget http://www.haskell.org/ghc/dist/6.6/ghc-6.6-src.tar.bz2
fi
if [ ! -f ghc-6.6-src-extralibs.tar.bz2 ]; then
wget http://www.haskell.org/ghc/dist/6.6/ghc-6.6-src-extralibs.tar.bz2
fi
tar -tvjf ghc-6.6-src.tar.bz2
tar -tvjf ghc-6.6-src-extralibs.tar.bz2
pushd ghc-6.6
./configure
make
make install
popd
thartman at linodewhyou:~/haskellInstalls$ sudo ./install-ghc-6.6.sh 2>&1
| tee out.txt
thartman at linodewhyou:~/haskellInstalls$ tail -n20 out.txt
------------------------------------------------------------------------
make[2]: Nothing to be done for `install'.
------------------------------------------------------------------------
== make install - --no-print-directory -r;
in /home/thartman/haskellInstalls/ghc-6.6/utils/ghc-pkg
------------------------------------------------------------------------
Creating a symbolic link from ghc-pkg-6.6 to ghc-pkg in /usr/local/bin
for i in ghc-pkg-6.6; do \
/usr/bin/install -c -m 755 $i /usr/local/bin; \
done
/usr/local/bin/ghc -H16m -O -cpp -Wall -fno-warn-name-shadowing
-fno-warn-unused-matches -i../../compat -ignore-package Cabal
-Rghc-timing -c Main.hs -o Main.o -ohi Main.hi
Main.hs:19:0:
Bad interface file: ../../compat/Distribution/InstalledPackageInfo.hi
mismatched interface file versions: expected 6060, found 6
<<ghc: 24591324 bytes, 4 GCs, 106128/106128 avg/max bytes residency (1
samples), 16M in use, 0.00 INIT (0.02 elapsed), 0.25 MUT (0.42
elapsed), 0.10 GC (0.12 elapsed) :ghc>>
make[2]: *** [Main.o] Error 1
make[1]: *** [install] Error 1
make: *** [install] Error 1
~/haskellInstalls
thartman at linodewhyou:~/haskellInstalls$
More information about the Haskell-Cafe
mailing list