Changes between Version 14 and Version 15 of CabalInstall

Show
Ignore:
Timestamp:
08/21/08 13:50:51 (5 years ago)
Author:
duncan
Comment:

simplify install script

Legend:

Unmodified
Added
Removed
Modified
  • CabalInstall

    v14 v15  
    6666 
    6767{{{ 
     68wget http://hackage.haskell.org/packages/archive/Cabal/1.4.0.1/Cabal-1.4.0.1.tar.gz 
    6869wget http://hackage.haskell.org/packages/archive/HTTP/3001.0.4/HTTP-3001.0.4.tar.gz 
    6970wget http://hackage.haskell.org/packages/archive/zlib/0.4.0.4/zlib-0.4.0.4.tar.gz 
    70 wget http://hackage.haskell.org/packages/archive/Cabal/1.4.0.1/Cabal-1.4.0.1.tar.gz 
    7171wget http://hackage.haskell.org/packages/archive/cabal-install/0.5.1/cabal-install-0.5.1.tar.gz 
     72tar -zxf Cabal-1.4.0.1.tar.gz 
     73cd Cabal-1.4.0.1 
     74ghc --make Setup 
     75./Setup configure --user && ./Setup build && ./Setup install 
     76cd .. 
    7277tar -zxf HTTP-3001.0.4.tar.gz 
    7378cd HTTP-3001.0.4 
    74 ghc --make -o setup Setup.lhs 
    75 ./setup configure --user --prefix=$HOME/.cabal && ./setup build && ./setup install --user 
     79runghc Setup configure --user && runghc Setup build && runghc Setup install 
    7680cd .. 
    7781tar -zxf zlib-0.4.0.4.tar.gz 
    7882cd zlib-0.4.0.4 
    79 ghc --make -o setup Setup.hs 
    80 ./setup configure --user --prefix=$HOME/.cabal && ./setup build && ./setup install --user 
    81 cd .. 
    82 tar -zxf Cabal-1.4.0.1.tar.gz 
    83 cd Cabal-1.4.0.1 
    84 ghc --make -o setup Setup.hs 
    85 ./setup configure --user --prefix=$HOME/.cabal && ./setup build && ./setup install --user 
     83runghc Setup configure --user && runghc Setup build && runghc Setup install 
    8684cd .. 
    8785tar -zxf cabal-install-0.5.1.tar.gz 
    8886cd cabal-install-0.5.1 
    89 ghc --make -o setup Setup.hs 
    90 ./setup configure --user --prefix=$HOME/.cabal && ./setup build && ./setup install --user 
     87runghc Setup configure --user && runghc Setup build && runghc Setup install 
    9188cd .. 
    9289}}} 
    9390 
    94 You will now have the cabal binary in `$HOME/.cabal/bin` 
     91You will now have the cabal binary in `$HOME/.cabal/bin`. You should also add this directory to your `$PATH`. 
     92 
     93In cabal-install 0.5.2 you can symlink binaries into another directory, eg `$HOME/bin` so it will not be necessary to change the `$PATH`.