
14 Nov
2007
14 Nov
'07
4:45 p.m.
On Wed, 2007-11-14 at 16:16 +0000, Jens Blanck wrote:
sudo runghc Setup.hs install root's password: Setup.hs : Warning: Unknown field 'build-type' Setup.hs: error reading ./.setup-config; run "setup configure" command?
I suspect your path is different for your root user, so it's picking up an old ghc and an old cabal version. You can tell it's an old version (probably 1.1.x) because it doesn't know about the new build-type field. You can work around it using: ghc --make Setup.hs -o setup sudo ./setup install Duncan