[Haskell-cafe] Re: [Gtk2hs-users] Problem when installing gtk2hs.

Ivan Miljenovic ivan.miljenovic at gmail.com
Thu May 27 03:24:07 EDT 2010


On 27 May 2010 16:46, Magicloud Magiclouds
<magicloud.magiclouds at 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.Simon at 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-users at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gtk2hs-users
>>
>>
>
>
>
> --
> 竹密岂妨流水过
> 山高哪阻野云飞
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com


More information about the Haskell-Cafe mailing list