[Haskell-cafe] cabal-install 0.6.2 does not bootstrap with ghc-6.10.1 debian distribution

Ahn, Ki Yung kyagrd at gmail.com
Sun Mar 8 18:33:18 EDT 2009

Duncan Coutts 쓴 글:
> On Sat, 2009-03-07 at 17:51 -0800, Ahn, Ki Yung wrote:
>> Dear Haskellers and especially who are working on cabal-install
>> and debian packaging,
>> I sometimes clean up .ghc and .cabal in my home directory to start from
>> scratch because of dependency loopholes (cabal-install does not have
>> remove option yet, so it's hard to fix when such loophole happens).
>> Today, I had some time in the airport and decided to start from scratch
>> again because of the dependency loophole with process and
>> haddock.  I downloaded the most recent version of cabal-install the
>> version 0.6.2, and found out that the ./bootstrap.sh does not work.
> If you could provide any details on how it does not work that would be
> much appreciated. Eg a log of the output from running the bootstrap.
> Duncan

I am using Debian unstable.

The version of GHC debian package is 6.10.1+dfsg1-13,
and installed Haskell libraries (debian packages) are:

kyagrd at kyavaio:~$ ghc-pkg list
    Cabal-, Diff-0.1.2, HGL-, HUnit-,
    QuickCheck-, Stream-0.2.2, X11-1.4.5, array-,
    arrows-0.4.1, base-, base-, binary-0.5,
    bytestring-, cairo-0.10.0, cgi-3001.1.7.1,
    containers-, directory-, editline-,
    fgl-, filepath-, gconf-0.10.0, (ghc-6.10.1),
    ghc-prim-, gio-0.10.0, glade-0.10.0, glib-0.10.0,
    gnomevfs-0.10.0, gstreamer-0.10.0, gtk-0.10.0, gtkglext-0.10.0,
    gtksourceview2-0.10.0, haskell98-, hpc-,
    html-, integer-, irc-0.4.3, mtl-,
    network-, old-locale-, old-time-,
    packedstring-, parallel-, parsec-3.0.0,
    pretty-, process-, random-, rts-1.0,
    stm-, svgcairo-0.10.0, syb-, syb-with-class-0.5.1,
    tagsoup-0.6, template-haskell-, time-, unix-,
    utf8-string-0.3.4, xhtml-3000.2.0.1

Bootstrap fails like this:

kyagrd at kyavaio:~/tmp/cabal-install-0.6.2$ sh bootstrap.sh
Checking installed packages for ghc-6.10.1...

The Haskell package 'parsec' is required but it is not installed.
If you are using a ghc package provided by your operating system
then install the corresponding packages for 'parsec' and 'network'.
If you built ghc from source with only the core libraries then you
should install these extra packages. You can get them from hackage.

Error during cabal-install bootstrap:
The Haskell package 'parsec' is required but it is not installed.

P.S. Note, parsec and network are installed in the system using debian
distribution packages.

  Ahn, Ki Yung

More information about the cabal-devel mailing list