Hi Axel, Magicloud, Axel Simon <axel.si...@in.tum.de> writes:
> Hi Andy, Magicloud, > > On 27.05.2010, at 10:20, Andy Stewart wrote: > >> Magicloud Magiclouds <magicloud.magiclo...@gmail.com> writes: >> >>> 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: >> I think it's a bug of of Gtk2HsSetup.hs that report by Macro. >> When you local is not utf8, will got "invalid argument". > > Magicloud, as Andy said, there is a bug in that we read the source > files in the current locale and not as UTF-8. If you set your locale > to UTF-8, it should work. > >> Axel, below is Macro's patch, can you take a look? >> > > The patch doesn't apply cleanly. Anyway, this should be fixed in all > Gtk2HsSetup.hs files at once, otherwise this problem will become very > confusing. I have fix those Gtk2HsSetup.hs problem in all repositories. I think we should find a way use Gtk2HsSetup.hs link instead copy for maintain easily. > > Secondly, the trigger of the problem are your fancy bulletin > characters in IconTheme.chs. The don't even render: > > http://haskell.org/gtk2hs/docs/gtk-docs-0.11.0/Graphics-UI-Gtk-General-IconTheme.html > > Could you replace them by *? Sorry, my gtk2hs.el convert documentation from Emacs-w3m automatically, i haven't noticed it. I have fix it, thanks! > > If you have all the packages checked out, it would be great if you > could fix the Gtk2HsSetup.hs files. For deprecated packages: gnomevfs, sourceview, mozembed I have package those repositories with .tar.gz file (very big), you can access them with below link: http://docs.google.com/leaf?id=0B8kprmQ446Y9ZDg4ZDlmNjMtMWI3Ni00ODg3LTg5YTktZWQxY2ExN2MyNjgx&sort=name&layout=list&num=50 http://docs.google.com/leaf?id=0B8kprmQ446Y9MWEzNzA3NGEtZDBmOC00YWI5LWJlZTAtNzIzMzNmMzMyNzc1&sort=name&layout=list&num=50 http://docs.google.com/leaf?id=0B8kprmQ446Y9MDAyN2VlODYtMWRlOS00N2RhLWIzODgtN2M3NGJhZDViNzA3&sort=name&layout=list&num=50 Please backup those files at somewhere, then i can clean up gtk2hs repository. In gnomevfs-darcs2.tar.gz, i have fix Gtk2HsSetup.hs problem, so you just need do "cabal sdist" when relase gnomevfs-0.11.1 Cheers, -- Andy > > Thanks, > Axel > >>> >>> 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 > > > ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel