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.

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

Reply via email to