The gtk2hs-buildtools problem is resolved. So I could install gio now. Thanks.
But still, I met another problem of gtk:
Configuring gtk-0.11.0...
setup: ./Graphics/UI/Gtk/General/IconTheme.chs: invalid argument
cabal: Error: some packages failed to install:

On Thu, May 27, 2010 at 2:50 PM, Andy Stewart <lazycat.mana...@gmail.com> wrote:
> Magicloud Magiclouds <magicloud.magiclo...@gmail.com> writes:
>
>> I think this problem related to the problem I submit just now.
>> Since I cannot install gtk2hs-buildtools with cabal, I download the
>> source and installed it. Then this step failed.
> Can you use "ghc-pkg check" check your local packages?
> Perhaps other package broken in your system.
>
> Cheers,
>
>  -- Andy
>
>>
>> On Thu, May 27, 2010 at 1:55 PM, Andy Stewart <lazycat.mana...@gmail.com> 
>> wrote:
>>> Axel Simon <axel.si...@in.tum.de> writes:
>>>
>>>> On May 27, 2010, at 4:51, Magicloud Magiclouds wrote:
>>>>
>>>>> Hi, when installing gtk, I got this
>>>>> Configuring gio-0.11.0...
>>>>> setup: gtk2hsHookGenerator: shal.list: openFile: does not exist (No
>>>>> such file or directory)
>>>>> What should I do? Thanks.
>>>>
>>>> Have you moved your .cabal directory around? Or your home directory?
>>>> Or did you perhaps delete parts of your cabal directory?
>>>>
>>>> The file (should be marshal.list) is installed with gtk2hs-buildtools.
>>>> The path to it is provided by cabal.
>>> Axel, i think he has install old darcs gtk2hs-buildtools and never update it
>>> when he install gio from hackage.
>>>
>>> In old version of gtk2hs-buildtools, gtkmarshal.list is *hard code* 
>>> gtkmarshal.list,
>>> when we change from gtkmarshal.list to marshal.list, old
>>> gtk2hs-buildtools try to delete first three characters (marshal.list
>>> -> shal.list).
>>>
>>> So he need update gtk2hs-buildtools from hackage first.
>>>
>>> Cheers,
>>>
>>>  -- Andy
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Gtk2hs-devel mailing list
>>> Gtk2hs-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel
>>>
>



-- 
竹密岂妨流水过
山高哪阻野云飞

------------------------------------------------------------------------------

_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to