
Hi all, I use Debian and GHC 6.8.2-7 Have install cabal, xmonad, gtk2hs with GHC 6.8.2-7 But when upgrade to GHC 6.10.1, i failed to install XMonad 0.8 and gtk2hs 0.9.13 I heard someone install success with develop version. So anyone success install XMonad and gtk2hs with GHC 6.10.1? BTW, i want to know the details compatible problem between 6.8 with 6.10? Is most libraries have compatible with GHC 6.10.1? Any suggestions? Thanks. -- Andy

On 2008 Dec 2, at 1:50, Andy Stewart wrote:
BTW, i want to know the details compatible problem between 6.8 with 6.10? Is most libraries have compatible with GHC 6.10.1?
The compatibility issue is mainly that GHC 6.10 ships with base-4.0, which as with past major revisions is not compatible with earlier major versions. There are some tricks that can be used to make cabal- based packages use the compatibility base-3 package included; see the wiki page http://www.haskell.org/haskellwiki/Upgrading_packages for details. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

"Andy" == Andy Stewart
writes:
Andy> But when upgrade to GHC 6.10.1, i failed to install XMonad Andy> 0.8 and gtk2hs 0.9.13 I heard someone install success with Andy> develop version. So anyone success install XMonad and Andy> gtk2hs with GHC 6.10.1? I am using the development version of gtk2hs OK with GHC 6.10.1. -- Colin Adams Preston Lancashire

Thank you very much.
So anyone install XMonad with GHC 6.10.1 success?
-- Andy
Colin Paul Adams
"Andy" == Andy Stewart
writes: Andy> But when upgrade to GHC 6.10.1, i failed to install XMonad Andy> 0.8 and gtk2hs 0.9.13 I heard someone install success with Andy> develop version. So anyone success install XMonad and Andy> gtk2hs with GHC 6.10.1?
I am using the development version of gtk2hs OK with GHC 6.10.1.

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Tue, Dec 2, 2008 at 2:43 AM, Andy Stewart wrote:
Thank you very much. So anyone install XMonad with GHC 6.10.1 success?
-- Andy
Darcs XMonad and XMC support 6.10, but there is an open bug where apparently on 6.10 and x86_64 architecture, XMonad.Prompt (and derived modules) will not work correctly. - -- gwern -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkk12dwACgkQvpDo5Pfl1oLFoACfVvz9WZ5NFTN1h+gEXJuoyNFG GjsAoJQdqz5Z5qb2r7XQp7TlMUuc+rHc =iqHY -----END PGP SIGNATURE-----

Hi Colin,
Colin Paul Adams
"Andy" == Andy Stewart
writes: Andy> But when upgrade to GHC 6.10.1, i failed to install XMonad Andy> 0.8 and gtk2hs 0.9.13 I heard someone install success with Andy> develop version. So anyone success install XMonad and Andy> gtk2hs with GHC 6.10.1?
I am using the development version of gtk2hs OK with GHC 6.10.1. 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? Thank you very much! -- Andy

On 2008 Dec 2, at 2:48, Andy Stewart wrote:
,---- | * 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?
You need the native development libraries for all the listed libraries. On Linux a first cut is to check for (rpm or apt as appropriate) packages named (something)-dev or (something)-devel, e.g. glade-dev. (Some of them will be versioned, for example gconf2- devel.) The Haskell libraries are wrappers for the native libraries. On OSX there's the additional complication that there are both native (new, not well tested, not very complete) and X11 (uglier but well tested) versions of many of these, and the two don't mix. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

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

"Duncan" == Duncan Coutts
writes:
Duncan> Those names are the names of the Haskell Duncan> components/packages. All of them (except soegtk) are Duncan> wrappers for C libraries with similar names. So you need Duncan> to install the system packages that contain the Duncan> development files for those C libraries. For example the Duncan> system package for glib might be called something like Duncan> "glib-dev" or "glib-devel". On some systems they also have Duncan> more numbers in like "glib2-devel" or be prefixed with Duncan> "lib", like "libglib-dev". Do you know the names of the Fedora 10 packages needed for sourceview, mozembed and documentation? -- Colin Adams Preston Lancashire

"Duncan" == Duncan Coutts
writes: Duncan> Those names are the names of the Haskell Duncan> components/packages. All of them (except soegtk) are Duncan> wrappers for C libraries with similar names. So you need Duncan> to install the system packages that contain the Duncan> development files for those C libraries. For example the Duncan> system package for glib might be called something like Duncan> "glib-dev" or "glib-devel". On some systems they also have Duncan> more numbers in like "glib2-devel" or be prefixed with Duncan> "lib", like "libglib-dev".
Do you know the names of the Fedora 10 packages needed for sourceview, mozembed and documentation? I think sourceview is libgtksourceview-dev, mozembed is xulrunner-dev. Document just document and example, i don't install it. I doesn't use Fedora 10, but i think you can those packages from Debian
Hi all,
Thanks for your help.
I have install all depend with below Debian package:
libglade2-dev libgtksourceview-dev libgconf2-dev librsvg2-dev
libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev libgtkglext1-dev
libgnomevfs2-dev xulrunner-dev
Colin Paul Adams

"Duncan" == Duncan Coutts
writes:
>> gstreamer Duncan> Those names are the names of the Haskell Duncan> components/packages. All of them (except soegtk) are Duncan> wrappers for C libraries with similar names. So you need Duncan> to install the system packages that contain the Duncan> development files for those C libraries. For example the Duncan> system package for glib might be called something like Duncan> "glib-dev" or "glib-devel". On some systems they also have Duncan> more numbers in like "glib2-devel" or be prefixed with Duncan> "lib", like "libglib-dev". I have gstreamer-devel installed, but configure doesn't find it. -- Colin Adams Preston Lancashire

Colin Paul Adams
"Duncan" == Duncan Coutts
writes: >> gstreamer
Duncan> Those names are the names of the Haskell Duncan> components/packages. All of them (except soegtk) are Duncan> wrappers for C libraries with similar names. So you need Duncan> to install the system packages that contain the Duncan> development files for those C libraries. For example the Duncan> system package for glib might be called something like Duncan> "glib-dev" or "glib-devel". On some systems they also have Duncan> more numbers in like "glib2-devel" or be prefixed with Duncan> "lib", like "libglib-dev".
I have gstreamer-devel installed, but configure doesn't find it. I use Debian, about gstreamer need libgstreamer-plugins-base0.10-dev and libgstreamer0.10-dev.
libgstreamer-plugins-base0-dev is "base" set for GStreamer development files libgstreamer0.10-dev is core development files for GStreamer development

On Tue, 2008-12-02 at 11:01 +0000, Colin Paul Adams wrote:
"Duncan" == Duncan Coutts
writes: >> gstreamer
Duncan> Those names are the names of the Haskell Duncan> components/packages. All of them (except soegtk) are Duncan> wrappers for C libraries with similar names. So you need Duncan> to install the system packages that contain the Duncan> development files for those C libraries. For example the Duncan> system package for glib might be called something like Duncan> "glib-dev" or "glib-devel". On some systems they also have Duncan> more numbers in like "glib2-devel" or be prefixed with Duncan> "lib", like "libglib-dev".
I have gstreamer-devel installed, but configure doesn't find it.
Specifically you need the native package that provides the file gstreamer-0.10.pc Eg on my system I've got the file: /usr/lib/pkgconfig/gstreamer-0.10.pc If you run ./configure --enable-gstreamer it'll tell you something similar. Duncan

Hi Dunca,
Duncan Coutts
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

On Tue, 2008-12-02 at 19:58 +0800, Andy Stewart wrote:
Hi Dunca,
Duncan Coutts
writes:
And i use darcs version of gtk2hs, when i ./configure, i got below information:
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 `----
Usually this is not the first thing to go wrong, but for some reason make does not stop immediately. Check further up in the build log for the first error. The best place to get help on this is the gtk2hs-users mailing list https://lists.sourceforge.net/lists/listinfo/gtk2hs-users Duncan
participants (5)
-
Andy Stewart
-
Brandon S. Allbery KF8NH
-
Colin Paul Adams
-
Duncan Coutts
-
Gwern Branwen