[Haskell-cafe] Re: Compatible problem with GHC 6.10.1

Andy Stewart lazycat.manatee at gmail.com
Tue Dec 2 06:58:31 EST 2008


Hi Dunca,

Duncan Coutts <duncan.coutts at worc.ox.ac.uk> writes:

> On Tue, 2008-12-02 at 15:48 +0800, Andy Stewart wrote:
>
>> When i ./configure gtk2hs souce code, i will got below information:
>> 
>> ,----
>> | * The following packages will be built:           
>> | *                                                 
>> | * glib          : yes                             
>> | * gtk           : yes                             
>> | * glade         : no              
>> | * cairo         : yes                 
>> | * svgcairo      : no              
>> | * gtkglext      : no              
>> | * gconf         : no                 
>> | * sourceview    : no            
>> | * mozembed      : no              
>> | * soegtk        : yes                             
>> | * gnomevfs      : no              
>> | * gstreamer     : no             
>> | * documentation : no                    
>> `----
>> 
>> So i want to ask, what libraries need to install for support full
>> gtk2hs?
>
> Those names are the names of the Haskell components/packages. All of
> them (except soegtk) are wrappers for C libraries with similar names. So
> you need to install the system packages that contain the development
> files for those C libraries. For example the system package for glib
> might be called something like "glib-dev" or "glib-devel". On some
> systems they also have more numbers in like "glib2-devel" or be prefixed
> with "lib", like "libglib-dev".
>
> You almost certainly have the runtime files for all these packages
> installed already, so it's only the "dev"/"devel" variants that you need
> to install.
>
> Duncan

I have install GHC 6.10.1 and install those debian packages for
predepend for gtk2hs:

,----
| libglade2-dev
| libgtksourceview-dev
| libgconf2-dev
| librsvg2-dev
| libgstreamer-plugins-base0.10-dev
| libgstreamer0.10-dev
| libgtkglext1-dev
| libgnomevfs2-dev
| xulrunner-dev
`----

And i use darcs version of gtk2hs,
when i ./configure, i got below information:

,----
| * The following packages will be built:           
| *                                                 
| * glib          : yes                             
| * gtk           : yes                   
| * gio           : yes                   
| * glade         : yes              
| * cairo         : yes                 
| * svgcairo      : yes              
| * gtkglext      : yes              
| * gconf         : yes                 
| * sourceview    : yes            
| * mozembed      : yes              
| * soegtk        : yes                   
| * gnomevfs      : yes              
| * gstreamer     : yes             
| * documentation : no                    
| *                        
`----

But when i "make", i got below error information:

,----
| glib/System/Glib.hs:13:0:
|     Failed to load interface for `System.Glib.UTFString':
|       Use -v to see a list of the files searched for.
| make[1]: *** [glib/System/Glib.o] error 1
`----

So can you help me?
Is i missing something?

Thank you very much!

  -- Andy



More information about the Haskell-Cafe mailing list