That might be it. However, I linked ~/.cabal/bin/* to
/usr/local/bin.... And it worked.

On Thu, May 27, 2010 at 3:24 PM, Ivan Miljenovic
<ivan.miljeno...@gmail.com> wrote:
> On 27 May 2010 16:46, Magicloud Magiclouds
> <magicloud.magiclo...@gmail.com> 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 <axel.si...@in.tum.de> 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
>>>> gtk2hs-us...@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/gtk2hs-users
>>>
>>>
>>
>>
>>
>> --
>> 竹密岂妨流水过
>> 山高哪阻野云飞
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe@haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
>
>
>
> --
> Ivan Lazar Miljenovic
> ivan.miljeno...@gmail.com
> IvanMiljenovic.wordpress.com
>



-- 
竹密岂妨流水过
山高哪阻野云飞
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to