[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 1.0.1.1 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
/usr/lib/ghc-6.10.1/./package.conf:
    Cabal-1.6.0.1, Diff-0.1.2, HGL-3.2.0.0, HUnit-1.2.0.3,
    QuickCheck-2.1.0.1, Stream-0.2.2, X11-1.4.5, array-0.2.0.0,
    arrows-0.4.1, base-3.0.3.0, base-4.0.0.0, binary-0.5,
    bytestring-0.9.1.4, cairo-0.10.0, cgi-3001.1.7.1,
    containers-0.2.0.0, directory-1.0.0.2, editline-0.2.1.0,
    fgl-5.4.2.2, filepath-1.1.0.1, gconf-0.10.0, (ghc-6.10.1),
    ghc-prim-0.1.0.0, 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-1.0.1.0, hpc-0.5.0.2,
    html-1.0.1.2, integer-0.1.0.0, irc-0.4.3, mtl-1.1.0.2,
    network-2.2.0.1, old-locale-1.0.0.1, old-time-1.0.0.1,
    packedstring-0.1.0.1, parallel-1.1.0.0, parsec-3.0.0,
    pretty-1.0.1.0, process-1.0.1.0, random-1.0.0.1, rts-1.0,
    stm-2.1.1.2, svgcairo-0.10.0, syb-0.1.0.0, syb-with-class-0.5.1,
    tagsoup-0.6, template-haskell-2.3.0.0, time-1.1.2.3, unix-2.3.1.0,
    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