On 27 May 2010 16:46, Magicloud Magiclouds <[email protected]> wrote: > I only have one alex installed under ~/.cabal/bin. > It seems working with shell environment, but not cabal.
This sounds like a similar problem to one that occurred a couple of months ago. If you use "~/.cabal/bin/" for your PATH variable, try replacing that with "$HOME/.cabal/bin/". > > On Thu, May 27, 2010 at 1:40 PM, Axel Simon <[email protected]> wrote: >> Hi Magicloud, >> >> On May 27, 2010, at 4:11, Magicloud Magiclouds wrote: >> >>> Hi, I have met similar problem before, and I do not know what to do. >>> >>> # cabal install --reinstall gtk2hs-buildtools >>> Resolving dependencies... >>> Configuring gtk2hs-buildtools-0.9... >>> cabal: alex is required but it could not be found. >>> cabal: Error: some packages failed to install: >>> gtk2hs-buildtools-0.9 failed during the configure step. The exception was: >>> ExitFailure 1 >>> # alex -v >>> Alex version 2.3.3, (c) 2003 Chris Dornan and Simon Marlow >> >> I don't think this is due to us. Are there perhaps other alex installations >> on your path? Or in ~/.cabal/bin? >> >> Axel >> >> >>> -- >>> 竹密岂妨流水过 >>> 山高哪阻野云飞 >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Gtk2hs-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/gtk2hs-users >> >> > > > > -- > 竹密岂妨流水过 > 山高哪阻野云飞 > _______________________________________________ > Haskell-Cafe mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe > -- Ivan Lazar Miljenovic [email protected] IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
