[Hackage] #358: cabal-install bootstrap.sh missing some dependencies

Hackage trac at galois.com
Thu Jan 15 06:41:29 EST 2009

#358: cabal-install bootstrap.sh missing some dependencies
  Reporter:  Araneidae           |        Owner:                     
      Type:  defect              |       Status:  closed             
  Priority:  normal              |    Milestone:  cabal-install-0.6  
 Component:  cabal-install tool  |      Version:            
  Severity:  normal              |   Resolution:  fixed              
  Keywords:                      |   Difficulty:  very easy (<1 hour)
Ghcversion:  6.8.2               |     Platform:                     
Changes (by duncan):

  * status:  new => closed
  * resolution:  => fixed


 I think the bootstrap.sh should not be installing mtl, parsec or network.
 However it should check that they are already installed and if not advise
 the user to install them. One reason is that it's not that easy to know
 which versions to install, it depends on the version of ghc you are using
 (eg 6.6, 6.8 or 6.10).

 Anyone who uses a GHC installer will have them already, anyone who uses a
 native OS package can get the corresponding OS packages for mtl etc.
 Anyone who manages to build ghc from source can also build the other

 I have, I hope, made significant improvements to the bootstrap script

 Thu Jan 15 10:22:10 GMT 2009  Duncan Coutts <duncan at haskell.org>
   * Rewrite the bootstrap.sh script
   Hopefully more useful and more robust. In particular it does not
   download and install packages where suitable versions are already
   installed. It also checks for deps.

 Thu Jan 15 11:06:12 GMT 2009  Duncan Coutts <duncan at haskell.org>
   * More improvments to the bootstrap.sh script

 Thu Jan 15 11:32:27 GMT 2009  Duncan Coutts <duncan at haskell.org>
   * Traditional /bin/sh portability fixes for bootstrap.sh

 One particular problem I'm trying to avoid with this is users of ghc-6.10,
 who already have Cabal-, re-installing that package in the per-user
 package db, since that only causes problems.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/358#comment:3>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list