Adding DPH to HEAD

Colin Paul Adams colin at colina.demon.co.uk
Thu Mar 19 10:53:23 EDT 2009


I tried following the advice on the DPH wiki:

./sync-all --dph get

This wouldn't run because of permissions, so I tried putting sh in
front of the command. This produced a lot of error messages:

./sync-all: line 3: use: command not found
./sync-all: line 4: use: command not found
./sync-all: line 8: git: command not found
./sync-all: line 8: my: command not found
./sync-all: line 8: chomp: command not found
./sync-all: line 9: git: command not found
./sync-all: line 9: my: command not found
./sync-all: line 9: chomp: command not found
./sync-all: line 10: git: command not found
./sync-all: line 10: my: command not found
./sync-all: line 10: chomp: command not found
./sync-all: line 12: my: command not found
./sync-all: line 13: my: command not found
./sync-all: line 15: syntax error near unexpected token `{'
./sync-all: line 15: `if ($defaultrepo =~ /^...*:/) {'

Following a suggestion from Simon Marlow, I instead tried:

./darcs-all --dph get

which was more successful. Does the wiki page need updating?

But when I then typed

make

I got:

<snip>
	                   --constraint="Cabal == 1.7.0"
Configuring installPackage-1.0...
cabal-bin: The following installed packages are broken because other packages
they depend on are missing. These broken packages must be rebuilt before they
can be used.
package Cabal-1.7.0 is broken due to missing package array-0.2.0.0,
containers-0.2.0.0, process-1.0.1.0
make[2]: *** [with-bootstrapping-compiler] Error 1
make[2]: Leaving directory `/home/colin/ghc/utils/installPackage'
make[1]: *** [with-bootstrapping-compiler.installPackage] Error 2
make[1]: Leaving directory `/home/colin/ghc/utils'
make: *** [stage1] Error 2

What do I do in such circumstances? I tried a

cabal install Cabal --rebuild

which seemed to work OK, but when i type 

make

again i get the same error as before.
-- 
Colin Adams
Preston Lancashire


More information about the Glasgow-haskell-users mailing list