[Hackage] #358: cabal-install bootstrap.sh missing some dependencies
#358: cabal-install bootstrap.sh missing some dependencies ----------------------------------+----------------------------------------- Reporter: Araneidae | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Keywords: Difficulty: very easy (<1 hour) | Ghcversion: 6.8.2 Platform: | ----------------------------------+----------------------------------------- The following dependencies are not checked for or installed by bootstrap.sh: `network`, `parsec`, `mtl`. On a fresh install of ghc 6.8.2 on Ubuntu 8.04 these packages are missing and need to be installed manually. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/358> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#358: cabal-install bootstrap.sh missing some dependencies ---------------------------------+------------------------------------------ Reporter: Araneidae | Owner: Type: defect | Status: new Priority: normal | Milestone: cabal-install-0.6 Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.2 | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * milestone: => cabal-install-0.6 -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/358#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#358: cabal-install bootstrap.sh missing some dependencies ---------------------------------+------------------------------------------ Reporter: Araneidae | Owner: Type: defect | Status: new Priority: normal | Milestone: cabal-install-0.6 Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.2 | Platform: ---------------------------------+------------------------------------------ Comment (by rnicholson): Had the same problem as Araneidae (although was using GHC 6.8.3 on MacOS X; which probably doesn't matter). Attaching patch of changes I made to bootstrap.sh to get it to work. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/358#comment:2> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#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: 1.2.3.0 Severity: normal | Resolution: fixed Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.2 | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * status: new => closed * resolution: => fixed Comment: 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 packages. I have, I hope, made significant improvements to the bootstrap script however: {{{ Thu Jan 15 10:22:10 GMT 2009 Duncan Coutts <duncan@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@haskell.org> * More improvments to the bootstrap.sh script Thu Jan 15 11:32:27 GMT 2009 Duncan Coutts <duncan@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-1.6.0.1, 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
participants (1)
-
Hackage