
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

Hi Colin, On Thu, Mar 19, 2009 at 02:53:23PM +0000, Colin Paul Adams wrote:
I tried following the advice on the DPH wiki:
./sync-all --dph get
I would recommend starting with a clean tree by untarring http://darcs.haskell.org/ghc-HEAD-2009-01-09-ghc-corelibs-testsuite.tar.bz2 and then doing ./darcs-all pull -a ./darcs-all --dph get For now, avoid any instructions that tell you to use git or sync-all. Thanks Ian

"Ian" == Ian Lynagh
writes:
Ian> Hi Colin, Ian> On Thu, Mar 19, 2009 at 02:53:23PM +0000, Colin Paul Adams wrote: >> I tried following the advice on the DPH wiki: >> >> ./sync-all --dph get Ian> I would recommend starting with a clean tree by untarring Ian> http://darcs.haskell.org/ghc-HEAD-2009-01-09-ghc-corelibs-testsuite.tar.bz2 Ian> and then doing ./darcs-all pull -a ./darcs-all --dph get Ian> For now, avoid any instructions that tell you to use git or Ian> sync-all. OK. That seems to work. Everything up to make install went fine. After the re-install, I need to re-install various packages using Cabal in order to compile my program afresh. So I then went back to the ghc directory, and typed make again - just to see. I get this: Configuring installPackage-1.0... /home/colin/ghc/libraries/cabal-bin ghc /home/colin/ghc/libraries/bootstrapping.conf 1.7.0 build --distpref dist-inplace --ghc-option=-H32m --ghc-option=-O --ghc-option=-Wall Preprocessing executables for installPackage-1.0... Building installPackage-1.0... [1 of 1] Compiling Main ( installPackage.hs, dist-inplace/build/installPackage/installPackage-tmp/Main.o ) installPackage.hs:4:0: Bad interface file: /home/colin/ghc/libraries/Cabal/dist-bootstrapping/build/Distribution/PackageDescription.hi mismatched interface file versions (wanted "61120090319", got "61120090317") 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 I have no idea what is going on. -- Colin Adams Preston Lancashire

Colin Paul Adams:
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:
Some guy by the handle of Megacz added this to the page. No idea why. I'll change that. Manuel
participants (3)
-
Colin Paul Adams
-
Ian Lynagh
-
Manuel M T Chakravarty