[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More compile problems with mingw

From: John Darrington
Subject: Re: More compile problems with mingw
Date: Thu, 15 Feb 2007 17:59:17 +0900
User-agent: Mutt/1.5.9i

On Thu, Feb 15, 2007 at 08:13:20AM +0900, John McCabe-Dansted wrote:
     On 2/15/07, Ben Pfaff <address@hidden> wrote:
     >"John McCabe-Dansted" <address@hidden> writes:
     >> Things I haven't tried
     >>  - running Psppire.exe on a linux/wine machine that supports OpenGL.
     >Any idea whether these problems show up on actual Windows, or
     >just under Wine?  I suppose testing under QEMU would work.
     I've tested Gtk 2.10 on Windows XP and it works fine. I imagine Gtk
     2.6 does too. I could test it tonight.

I would be suprised if it does work.  Psppire was written against
Gtk+2.10 and I wouldn't recommend compiling or linking against any
earlier version.
     >> FIX/HACK: I worked around error my  compile error by commenting out
     >> the _g_spawn_command_line_async, which is used to start yelp.
     >Does glib just not implement this function under Win32?
     I believe glib 2.12.7 does, but glib 2.6.6 does not.

That's probably correct.  Again earlier versions of the library might
give unpredictable results.
     >> ERROR:  i386-mingw32msvc-gcc: plural.c: No such file or directory
     >> FIX/HACK: Copy plural.c from a previous pspp build tree.
     >How did plural.c disappear?
     I don't know, but
       cvs up intl/plural.c
     did not restore it.

It's supposed to be put there by gettext.  Perhaps you have the wrong

     >> undefined reference to
     >> `_gtk_file_chooser_set_do_overwrite_confirmation'
     >> FIX/HACK: This was caused by the old version of glib (2.6.6) I was
     >> linking against. I just commented these out. This hack is clearly not
     >> something would want to release into the wild.  Perhaps configure
     >> should simply choke on old versions of glib?
     >Definitely.  Do you happen to know the versions in which these
     >functions were introduced?  It sounds like we should update the
     >PKG_CHECK_MODULES lines in
     g_file_set_contents was added in 2.8.
     However gtk_file_chooser_set_do_overwrite_confirmation looks like a
     Gtk problem. Since I was linking against the latest version (2.6.10)
     of Gtk that does not require Cairo, perhaps configure should check for
     this one function and do something suitable if it is not found.

This function was added in 2.8  so we should insist upon Gtk+2.8 or
later.  There will be other similar problems if earlier versions are
used.  Maintaining the code to support multiple versions of libraries
is not something that I would look forward to doing.

PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]