I already had the first package mentioned on that page, and after installing the second package the new message is:

Configuring wxcore-0.12.1.6...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package containers-0.3.0.0 requires array-0.3.0.0
package wxcore-0.12.1.6 requires array-0.3.0.1
package stm-2.1.1.2 requires array-0.3.0.1
package containers-0.3.0.0 requires array-0.3.0.1
package wxcore-0.12.1.6 requires containers-0.3.0.0
package wxdirect-0.12.1.3 requires containers-0.3.0.0
Preprocessing library wxcore-0.12.1.6...
Building wxcore-0.12.1.6...
<command line>: cannot satisfy -package-id wxdirect-0.12.1.3-af0b8773d1663c5806a3601e31af398f:
    wxdirect-0.12.1.3-af0b8773d1663c5806a3601e31af398f is unusable due to missing or recursive dependencies:
      containers-0.3.0.0-409fe3b8f0dda25b98e03716d26be411
    (use -v for more information)
cabal: Error: some packages failed to install:
wx-0.12.1.6 depends on wxcore-0.12.1.6 which failed to install.
wxcore-0.12.1.6 failed during the building phase. The exception was:
ExitFailure 1


On Sun, Oct 17, 2010 at 3:03 PM, Eric Y. Kow <eric.kow@gmail.com> wrote:
On Sun, Oct 17, 2010 at 14:59:20 -0600, Jesse Hester wrote:
> cabal: Error: some packages failed to install:
> wx-0.12.1.6 depends on wxcore-0.12.1.6 which failed to install.
> wxcore-0.12.1.6 failed during the building phase. The exception was:
> ExitFailure 1

Hmm, what a helpful exception!

Could I just check that wxWidgets really is installed?
I think http://www.haskell.org/haskellwiki/WxHaskell/Linux
talks about the relevant packages.

If you do work out how to get unstuck, it might be good
to update that wiki page for future users.

Cheers,

--
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
For a faster response, try +44 (0)1273 64 2905 or
xmpp:kowey@jabber.fr (Jabber or Google Talk only)