So I've got this program GenI

  darcs get http://code.haskell.org/GenI

If I try to cabal install it:

  cd libGenI; cabal install; cd ..;
  cd GenI;    cabal install; cd ..

cabal-install tries to install wxcore even though it already is
installed (and in my user package database, for what it's worth)

Has anybody else run into this kind of problem?  Is this something we've
already dealt with?

For now the solution seems to be for me to install GenI by hand (sigh)

I realise it may be a cabal-install issue, and the wxHaskell build instructions
mention some problems in the cabal-install dependency tracking.  Do we have
anything more specific?  Bug numbers?  Is this something I should be mailing
the cabal-install folks about?

Thanks!

Eric

PS: cabal-install --dry-run output below

-----------------8<--------------------------------------------

$ cabal install --dry-run -v

/usr/local/bin/ghc --numeric-version
looking for package tool: ghc-pkg near compiler in /usr/local/bin
found package tool in /usr/local/bin/ghc-pkg
/usr/local/bin/ghc-pkg --version
/usr/local/bin/ghc --supported-languages
Reading installed packages...
/usr/local/bin/ghc-pkg dump --global
/usr/local/bin/ghc-pkg dump --user
Reading available packages...
Resolving dependencies...
selecting GenI-0.17.1 (hackage) and discarding QuickCheck-1.0, 1.1.0.0, 2.1,
2.1.0.1, filepath-1.0, parsec-2.0, 3.0.0, wx-0.10.1 and 0.10.2
selecting QuickCheck-1.2.0.0 (installed or hackage)
selecting wx-0.11.0 (installed or hackage) and discarding wx-0.10.3, 0.10.4,
0.10.5, 0.10.6, wxcore-0.10.1, 0.10.2 and 0.10.3
selecting wxcore-0.11.0 (installed or hackage) and discarding wxcore-0.10.4,
0.10.5, 0.10.6, 0.10.7, 0.10.8, 0.10.9, 0.10.10, 0.10.11, 0.10.12 and 0.10.13
selecting time-1.1.2.2 (installed or hackage) and discarding time-1.0,
1.1.2.0, 1.1.2.1 and 1.1.2.3
selecting stm-2.1.1.2 (installed or hackage) and discarding stm-2.1 and
2.1.1.0
selecting libGenI-0.17.1 (installed) and discarding HUnit-1.1, 1.2.0.0,
1.2.0.1, 1.2.0.2, 1.2.0.3, QuickCheck-1.2.0.0, array-0.1.0.0, 0.2.0.0,
binary-0.2, 0.3, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.4.3.1, 0.4.4, bytestring-0.9,
0.9.0.1, 0.9.0.2, 0.9.0.3, 0.9.0.4, 0.9.1.0, 0.9.1.1, 0.9.1.2, 0.9.1.3,
0.9.1.4, containers-0.1.0.0, 0.1.0.1, 0.2.0.0, directory-1.0.0.0,
filepath-1.1.0.0, 1.1.0.1, libGenI-0.16, 0.16.1, mtl-1.0, 1.1.0.0, 1.1.0.1,
1.1.0.2, old-locale-1.0.0.0, 1.0.0.1, old-time-1.0.0.0, parsec-2.1.0.0,
2.1.0.1, process-1.0.0.0, 1.0.1.0, 1.0.1.1, random-1.0.0.0, 1.0.0.1,
syb-0.1.0.0, unix-2.0, 2.2.0.0, 2.3.0.0 and 2.3.1.0
selecting HUnit-1.2.0.3 (installed)
selecting array-0.2.0.0 (installed)
selecting binary-0.4.4 (installed)
selecting bytestring-0.9.1.4 (installed)
selecting containers-0.2.0.0 (installed)
selecting directory-1.0.0.2 (installed)
selecting filepath-1.1.0.1 (installed)
selecting ghc-prim-0.1.0.0 (installed)
selecting integer-0.1.0.0 (installed)
selecting mtl-1.1.0.2 (installed)
selecting old-locale-1.0.0.1 (installed)
selecting old-time-1.0.0.1 (installed)
selecting parsec-2.1.0.1 (installed)
selecting process-1.0.1.1 (installed)
selecting random-1.0.0.1 (installed)
selecting rts-1.0 (installed)
selecting syb-0.1.0.0 (installed)
selecting unix-2.3.1.0 (installed)
selecting base-3.0.3.0 (installed) and 4.0.0.0 (installed)
In order, the following would be installed:
wxcore-0.11.0 (reinstall) changes: array-0.2.0.0 added, directory-1.0.0.2
added, haskell98-1.0.1.0 removed, old-time-1.0.0.1 added, parsec-2.1.0.1
added, time-1.1.2.2 added
wx-0.11.0 (reinstall)
GenI-0.17.1 (new package)


-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to