
Leksah 0.4.0* pre-release is now available. This will become the first beta when it is stable enough. The current feature list: * Haskell customized editor with candy * Project management support based on Cabal * Visual editor for Cabal files * Location of compilation errors * Import helper, which writes the import statements * Navigation to definition * Module browser * Information about types and comments * Search for identifiers * Session support * Configurable visual appearance * Configurable keymaps Get more info at: http://www.leksah.org We now have a mailing list for Leksah: http://projects.haskell.org/cgi-bin/mailman/listinfo/leksah You need ghc 6.10 and gtk2hs 0.10 (which is not yet released, but you get it here: http://code.haskell.org/~pgavin/gtk2hs-0.10.0/ ) Please test Leksah and give me feedback. Contributors welcome. Jürgen --keksa leksa haksel--

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Mon, Jan 26, 2009 at 3:05 PM, Jürgen Nicklisch-Franken wrote:
Leksah 0.4.0* pre-release is now available. This will become the first beta when it is stable enough.
The current feature list: * Haskell customized editor with candy * Project management support based on Cabal * Visual editor for Cabal files * Location of compilation errors * Import helper, which writes the import statements * Navigation to definition * Module browser * Information about types and comments * Search for identifiers * Session support * Configurable visual appearance * Configurable keymaps
Get more info at: http://www.leksah.org
We now have a mailing list for Leksah: http://projects.haskell.org/cgi-bin/mailman/listinfo/leksah
You need ghc 6.10 and gtk2hs 0.10 (which is not yet released, but you get it here: http://code.haskell.org/~pgavin/gtk2hs-0.10.0/ )
Please test Leksah and give me feedback. Contributors welcome.
Jürgen
--keksa leksa haksel--
I tried using that gtk2hs tarball. make eventually errored out as: Reading package info from stdin ... done. cannot find libHSgstreamer.a on library path (ignoring) Writing new package config file... done. touch tools/c2hs/c2hsLocal.deps; /home/gwern/bin/bin/ghc -M - -dep-makefile -optdeptools/c2hs/c2hsLocal.deps -fglasgow-exts -O - -itools/c2hs/base/admin:tools/c2hs/base/errors:tools/c2hs/base/general:tools/c2hs/base/state:tools/c2hs/base/syms:tools/c2hs/base/syntax:tools/c2hs/c:tools/c2hs/chs:tools/c2hs/gen:tools/c2hs/state:tools/c2hs/toplevel - -package-conf package.conf.inplace -hide-all-packages -package base-4.0.0.0 -package haskell98-1.0.1.0 -package pretty-1.0.1.0 - -package containers-0.2.0.0 -package array-0.2.0.0 tools/c2hs/base/admin/BaseVersion.hs tools/c2hs/base/admin/Config.hs tools/c2hs/base/errors/Errors.hs tools/c2hs/base/general/DLists.hs tools/c2hs/base/general/FileOps.hs tools/c2hs/base/general/FNameOps.hs tools/c2hs/base/general/Map.hs tools/c2hs/base/general/Position.hs tools/c2hs/base/general/Set.hs tools/c2hs/base/general/UNames.hs tools/c2hs/base/general/Binary.hs tools/c2hs/base/general/FastMutInt.hs tools/c2hs/base/state/CIO.hs tools/c2hs/base/state/StateBase.hs tools/c2hs/base/state/State.hs tools/c2hs/base/state/StateTrans.hs tools/c2hs/base/syms/Attributes.hs tools/c2hs/base/syms/Idents.hs tools/c2hs/base/syms/NameSpaces.hs tools/c2hs/base/syntax/Lexers.hs tools/c2hs/c/CAST.hs tools/c2hs/c/CAttrs.hs tools/c2hs/c/CBuiltin.hs tools/c2hs/c/C.hs tools/c2hs/c/CLexer.hs tools/c2hs/c/CNames.hs tools/c2hs/c/CParser.hs tools/c2hs/c/CParserMonad.hs tools/c2hs/c/CPretty.hs tools/c2hs/c/CTokens.hs tools/c2hs/c/CTrav.hs tools/c2hs/chs/CHS.hs tools/c2hs/chs/CHSLexer.hs tools/c2hs/gen/CInfo.hs tools/c2hs/gen/GBMonad.hs tools/c2hs/gen/GenBind.hs tools/c2hs/gen/GenHeader.hs tools/c2hs/state/C2HSState.hs tools/c2hs/state/Switches.hs tools/c2hs/toplevel/Main.hs tools/c2hs/toplevel/Version.hs tools/c2hs/toplevel/C2HSConfig.hs; ./mk/chsDepend -i:glib glib/System/Glib/Types.chs ./mk/chsDepend -i:glib glib/System/Glib/GType.chs ./mk/chsDepend -i:glib glib/System/Glib/GValue.chs ./mk/chsDepend -i:glib glib/System/Glib/GValueTypes.chs gcc -E -x c -traditional-cpp -I/usr/include/glib-2.0 - -I/usr/lib/glib-2.0/include -DGTK2HS_HS_PREPROC -include gtk2hs-config.h glib/System/Glib/GObject.chs.pp -o glib/System/Glib/GObject.chs glib/System/Glib/GObject.chs.pp:38: error: missing expression between '(' and ')' glib/System/Glib/GObject.chs.pp:91: error: missing expression between '(' and ')' make: *** [glib/System/Glib/GObject.chs] Error 1 Any suggestions? - -- gwern -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkl+LQQACgkQvpDo5Pfl1oIvkwCdEALTIIHJkJ3q5vM0bEbIRVnl 9rEAnRgYfgvdTsnzhfkGdxV9wUS6ORM0 =G6cf -----END PGP SIGNATURE-----

On Mon, 2009-01-26 at 16:37 -0500, Gwern Branwen wrote:
I tried using that gtk2hs tarball. make eventually errored out as:
glib/System/Glib/GObject.chs.pp:38: error: missing expression between '(' and ')' glib/System/Glib/GObject.chs.pp:91: error: missing expression between '(' and ')' make: *** [glib/System/Glib/GObject.chs] Error 1
Any suggestions?
I've seen this occasionally. If you check gtk2hs-confg.h near the bottom of the file you'll likely find something like #def _GLIB_MAJOR_VERSION () rather than #def _GLIB_MAJOR_VERSION (2) It is ./configure that generates the gtk2hs-confg.h from gtk2hs-confg.h.in based on tests in configure.ac. I've never been able to reproduce it and when others have helped me investigate we did not find a solution or indeed a cause. If you'd like to do some digging it'd be much appreciated. I'm cc'ing the gtk2hs-users list just in case someone else has already diagnosed this. Duncan

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Mon, Jan 26, 2009 at 8:07 PM, Duncan Coutts wrote:
On Mon, 2009-01-26 at 16:37 -0500, Gwern Branwen wrote:
I tried using that gtk2hs tarball. make eventually errored out as:
glib/System/Glib/GObject.chs.pp:38: error: missing expression between '(' and ')' glib/System/Glib/GObject.chs.pp:91: error: missing expression between '(' and ')' make: *** [glib/System/Glib/GObject.chs] Error 1
Any suggestions?
I've seen this occasionally. If you check gtk2hs-confg.h near the bottom of the file you'll likely find something like
#def _GLIB_MAJOR_VERSION ()
rather than
#def _GLIB_MAJOR_VERSION (2)
It is ./configure that generates the gtk2hs-confg.h from gtk2hs-confg.h.in based on tests in configure.ac. I've never been able to reproduce it and when others have helped me investigate we did not find a solution or indeed a cause.
If you'd like to do some digging it'd be much appreciated. I'm cc'ing the gtk2hs-users list just in case someone else has already diagnosed this.
Duncan
Yes, that file does seem broken in the way you describe. Starting at line 132: /* Glib major version */ #define _GLIB_MAJOR_VERSION () /* Glib micro version */ #define _GLIB_MICRO_VERSION () /* Glib minor version */ #define _GLIB_MINOR_VERSION () /* gnome-vfs major version */ #define _GNOME_VFS_MAJOR_VERSION () /* gnome-vfs micro version */ #define _GNOME_VFS_MICRO_VERSION () /* gnome-vfs minor version */ #define _GNOME_VFS_MINOR_VERSION () /* gstreamer major version */ #define _GST_MAJOR_VERSION () /* gstreamer micro version */ #define _GST_MICRO_VERSION () /* gstreamer minor version */ #define _GST_MINOR_VERSION () /* gtksourceview2 major version */ #define _GTKSOURCEVIEW2_MAJOR_VERSION () /* gtksourceview2 micro version */ #define _GTKSOURCEVIEW2_MICRO_VERSION () /* gtksourceview2 minor version */ #define _GTKSOURCEVIEW2_MINOR_VERSION () /* Gtk+ major version */ #define _GTK_MAJOR_VERSION () /* Gtk+ micro version */ #define _GTK_MICRO_VERSION () /* Gtk+ minor version */ #define _GTK_MINOR_VERSION () /* librsvg major version */ #define _LIBRSVG_MAJOR_VERSION () /* librsvg micro version */ #define _LIBRSVG_MICRO_VERSION () /* librsvg minor version */ #define _LIBRSVG_MINOR_VERSION () /* Pango major version */ #define _PANGO_MAJOR_VERSION () /* Pango micro version */ #define _PANGO_MICRO_VERSION () /* Pango minor version */ #define _PANGO_MINOR_VERSION () That all looks quite broken. I'm afraid I don't know enough about autotools to figure this out. However, I've put up a tarball of the gtk directory just after a make failed, at http://code.haskell.org/~gwern/gtk-broken.tar.gz so people can look at it themselves? - -- gwern -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkl+cvcACgkQvpDo5Pfl1oLXwACgl2V427baEPYV3AHwnTZH2W5D wlMAoJgqQdUjBHCIi01UHlvtyQUyifMa =INxD -----END PGP SIGNATURE-----

Duncan Coutts wrote:
I've seen this occasionally. If you check gtk2hs-confg.h near the bottom of the file you'll likely find something like
#def _GLIB_MAJOR_VERSION ()
rather than
#def _GLIB_MAJOR_VERSION (2)
It is ./configure that generates the gtk2hs-confg.h from gtk2hs-confg.h.in based on tests in configure.ac. I've never been able to reproduce it and when others have helped me investigate we did not find a solution or indeed a cause.
If you'd like to do some digging it'd be much appreciated. I'm cc'ing the gtk2hs-users list just in case someone else has already diagnosed this.
I had such (or very similar) problem when I was building gtk2hs on windows. The reasons of not finding the version numbers were problems with carriage return character (CRLF<->LF). Unfortunately I cannot verify this for you since I switched to linux. Peter.
participants (4)
-
Duncan Coutts
-
Gwern Branwen
-
Jürgen Nicklisch-Franken
-
Peter Hercek