From: Jesse H. <hes...@gm...> - 2010-10-17 20:59:28
|
Hi, I recently moved from Windows to Ubuntu, and I'm having trouble getting wxhaskell. When I run "cabal install wx" I get the following error message: 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 I asked for help on #haskell but to no avail. :( Does anyone know what I need to do here? Thanks, Jesse |
From: Jesse H. <hes...@gm...> - 2010-10-17 21:06:02
|
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 <eri...@gm...> 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:ko...@ja... <xmpp%3A...@ja...> (Jabber or Google Talk only) > |
From: Eric Y. K. <eri...@gm...> - 2010-10-17 21:08:48
|
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:ko...@ja... (Jabber or Google Talk only) |
From: Eric Y. K. <eri...@gm...> - 2010-10-17 21:42:21
|
On Sun, Oct 17, 2010 at 15:06:01 -0600, Jesse Hester wrote: > 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 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) OK, this looks fairly mysterious to me, but seems more like a general #haskell type question than one for the wxhaskell-users list. It seems you're depending on two different versions of containers-0.3.0.0, one built against array-0.3.0.0, and one against array-0.3.0.1 I don't have a good idea how this sort of thing happens, but I suspect the #haskell folks could be more helpful now with the new chunk of information you found. You may want to see section 4.8.5 in http://www.haskell.org/ghc/docs/6.12.2/html/users_guide/packages.html Sorry! -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> For a faster response, try +44 (0)1273 64 2905 or xmpp:ko...@ja... (Jabber or Google Talk only) |
From: Jesse H. <hes...@gm...> - 2010-10-17 22:04:42
|
Unfortunately I'm being ignored on there. :( Thanks for taking a look though. Jesse On Sun, Oct 17, 2010 at 3:42 PM, Eric Y. Kow <eri...@gm...> wrote: > On Sun, Oct 17, 2010 at 15:06:01 -0600, Jesse Hester wrote: > > 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 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) > > OK, this looks fairly mysterious to me, but seems more like a general > #haskell type question than one for the wxhaskell-users list. It seems > you're depending on two different versions of containers-0.3.0.0, one > built against array-0.3.0.0, and one against array-0.3.0.1 > > I don't have a good idea how this sort of thing happens, but I suspect > the #haskell folks could be more helpful now with the new chunk of > information you found. > > You may want to see section 4.8.5 in > http://www.haskell.org/ghc/docs/6.12.2/html/users_guide/packages.html > > Sorry! > > -- > Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> > For a faster response, try +44 (0)1273 64 2905 or > xmpp:ko...@ja... <xmpp%3A...@ja...> (Jabber or Google Talk only) > |
From: Eric Y. K. <eri...@gm...> - 2010-10-18 05:15:40
|
On Sun, Oct 17, 2010 at 16:04:36 -0600, Jesse Hester wrote: > Unfortunately I'm being ignored on there. :( Well, you may have better luck another time, or also on haskell-cafe. #haskell tends to be very friendly from my experience. What would help is your ghc-pkg dump output and also the version of the GHC and the Haskell Platform you are using (assuming you are using the Haskell Platform, which is not 100% essential). I *think* you want the version of containers that uses array-0.3.0.1 as this is what seems to ship with the version of haskell-platform I had installed (the one that goes with GHC 6.12.3) -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> For a faster response, try +44 (0)1273 64 2905 or xmpp:ko...@ja... (Jabber or Google Talk only) |