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

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Dec 2 05:44:40 EST 2008


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



More information about the Haskell-Cafe mailing list