|
From: Ethan A M. <sf...@us...> - 2016-01-04 20:32:21
|
On Monday, 04 January, 2016 11:53:37 Mojca Miklavec wrote: > Hi, > > I would like to ask for a bit of help with fixing some opportunistical > linking against GTK+ when wxWidgets is used: > https://trac.macports.org/ticket/50199 > > The problem is that as soon as pkg-config finds GTK+ version 2 on the > system and if wxWidgets terminal is enabled, gnuplot links against > GTK2 even if no GTK code is being used at all. And if wxWidgets uses > GTK 3, compilation fails because gnuplot tries to call some functions > that no longer exist in GTK 3. We've had this conversation before. The answer to that latter issue (gdk_window_foreign_new not in gtk3) is to configure with --disable-raise-console. Or if you could comment out or remove that section of code just for wxt since it obviously isn't going to work anyhow. As to OSX + wxwidgets not requiring gtk at all, I would be happy to take a patch that sorted this out in the autoconf script. I suppose it would test the output of wx-config --query-toolkit What does that return on OSX? Ethan > > (I can move the ticket to the gnuplot tracker, but I maybe some > autoconf or GTK guru could help a bit.) > > Mojca > > ------------------------------------------------------------------------------ > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |