[Haskell-cafe] Re: gtk2hs with old gtk2

2010-08-19 Thread Johannes Waldmann
I finally got gtk2hs (and leksah) working: 
I was compiling all the gtk+ stuff from sources, 
with  ./configure --prefix=/opt/gtk
and custom CPPFLAGS LDFLAGS PKG_CONFIG_PATH LD_LIBRARY_PATH 
as described here: http://library.gnome.org/devel/gtk/unstable/gtk-building.html



___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: gtk2hs with old gtk2

2010-08-14 Thread Andy Stewart
Johannes Waldmann waldm...@imn.htwk-leipzig.de writes:

 Andy Stewart lazycat.manatee at gmail.com writes:

 Just cabal install is enough.

 Hm. That's what bootstrap.sh does, 
 and it builds tools, then glib, but then:

 Preprocessing library gio-0.11.0...
 gtk2hsC2hs: Errors during expansion of binding hooks:

 ./System/GIO/Types.chs:584: (column 12) [ERROR] 
Unknown identifier!
   Cannot find a definition for `Emblem' in the header file.
Because GEmblem is need Glib 2.18, mabye your glib is too old.
You can use command 'pkg-config --modversion glib-2.0' check your glib
version.

Can you update your glib library?

  -- Andy

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: gtk2hs with old gtk2

2010-08-14 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 8/14/10 02:20 , Andy Stewart wrote:
   Cannot find a definition for `Emblem' in the header file.
 Because GEmblem is need Glib 2.18, mabye your glib is too old.
 You can use command 'pkg-config --modversion glib-2.0' check your glib
 version.
 
 Can you update your glib library?

I ran up against this here; I can't mandate that our older SuSE systems be
upgraded to a newer distribution (our faculty don't like change, in
general), so if 2.18 is really needed then it's pretty much the end of the
line for gtk2hs as far as we're concerned.  :(

- -- 
brandon s. allbery [linux,solaris,freebsd,perl]  allb...@kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allb...@ece.cmu.edu
electrical and computer engineering, carnegie mellon university  KF8NH
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxmnswACgkQIn7hlCsL25VoswCg1JTNHlfiWcSnY3ZU4IdfZX19
AtAAn1zt0z9a+KmeD47ByXxM62PQqI4T
=c4qG
-END PGP SIGNATURE-
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: gtk2hs with old gtk2

2010-08-13 Thread Andy Stewart
Johannes Waldmann waldm...@imn.htwk-leipzig.de writes:

 I'm trying to build gtk2hs on debian/lenny,
 that is, with gtk2 v. 2.12 if I understand this correctly.

 I got the gtk2hs sources from darcs (I guess it's 0.11.0)
 and http://www.haskell.org/gtk2hs/ says
 You need to specify -f-gtk_2_20 for Gtk+ 2.18 etc.
 I would love to, but where exactly? (When bootstrap.sh)
Infact, you don't need that.
Just cabal install is enough.

Flags gtk_version just use when first cabalized gtk2hs test-version relased,
now gtk2hs can choose right gtk version automatically.

Cheers,

  -- Andy

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: gtk2hs with old gtk2

2010-08-13 Thread Johannes Waldmann
Andy Stewart lazycat.manatee at gmail.com writes:

 Just cabal install is enough.

Hm. That's what bootstrap.sh does, 
and it builds tools, then glib, but then:

Preprocessing library gio-0.11.0...
gtk2hsC2hs: Errors during expansion of binding hooks:

./System/GIO/Types.chs:584: (column 12) [ERROR] 
   Unknown identifier!
  Cannot find a definition for `Emblem' in the header file.

(and then some more)

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe