On Thu, Jun 12, 2008 at 1:15 PM, Dominic Steinitz <[EMAIL PROTECTED]> wrote: > Judah Jacobson wrote: >> >> If you weren't planning on hacking editline, it's probably easiest to >> just rm -rf the libraries/editline directory and do another "darcs-all >> get" to replace it with a consistent version. Otherwise, send me the >> darcs --changes of that repo and I can take a look at it. >> > Thanks for your help but now I'm getting a mismatch between ghc and > ghc-pkg. I'm not sure how to fix this. > > Dominic. > >> Preprocessing library template-haskell-2.2... >> Generating Makefile template-haskell-2.2... >> make[2]: Entering directory `/home/dom/ghc/libraries/template-haskell' >> make[2]: Leaving directory `/home/dom/ghc/libraries/template-haskell' >> Registering template-haskell-2.2... >> Reading package info from "dist/inplace-pkg-config" ... done. >> Saving old package config file... done. >> Writing new package config file... done. >> rm -f -f stamp/configure.library.*.editline editline/unbuildable >> ../utils/mkdirhier/mkdirhier `dirname stamp/configure.library.build.editline` >> ( cd editline && setup/Setup configure --prefix=/NONEXISTENT >> --bindir=/NONEXIST >> ENT --libdir=/NONEXISTENT --libsubdir='$pkgid' --libexecdir=/NONEXISTENT >> --datad >> ir=/NONEXISTENT --docdir=/NONEXISTENT --haddockdir=/NONEXISTENT >> --htmldir=/NONEX >> ISTENT --with-compiler=/home/dom/ghc/compiler/stage1/ghc-inplace >> --with-hc-pkg=/ >> home/dom/ghc/utils/ghc-pkg/ghc-pkg-inplace >> --with-hsc2hs=/home/dom/ghc/utils/hsc >> 2hs/hsc2hs-inplace --with-ld=/usr/bin/ld >> --haddock-options="--use-contents=../in >> dex.html --use-index=../doc-index.html" --configure-option=--with-cc=gcc >> ) \ >> && touch stamp/configure.library.build.editline || touch >> editline/ >> unbuildable >> Warning: defaultUserHooks in Setup script is deprecated. >> Configuring editline-0.2... >> Setup: Version mismatch between ghc and ghc-pkg: >> /home/dom/ghc/compiler/stage1/ghc-inplace is version 6.9.20080606 >> /home/dom/ghc/utils/ghc-pkg/ghc-pkg-inplace is version 6.9.20080612
>From the above error, I suspect that you need to run "make distclean" in the root of the source tree, then try building again. (I usually run that command every time before/after pulling from darcs.) Let me know if that helps, -Judah _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users