|
From: Ethan A M. <sf...@us...> - 2014-02-24 19:40:37
|
On Monday, 24 February, 2014 20:28:05 Mojca Miklavec wrote: > On Mon, Feb 24, 2014 at 7:25 PM, Ethan A Merritt wrote: > > The problem is that -I/opt/local/include seems to be the first > argument to compiler "no matter what". I inspected the Makefiles a bit > and it seems that this is set by CPPFLAGS. I'm not exactly sure what > sets it, but the workaround seems to be to set > export INCLUDES="$QT_CFLAGS" > which puts the paths to Qt5 in front of everything else. Without that, > Qt4 is always found first. > > Despite this, I still believe that configuration should work properly > when pkg-config is absent. > > Weird enough, after I have compiled gnuplot in a slightly different > way (without excluding MacPorts libraries, but maybe only the timing > has changed), I get > > gnuplot> plot sin(x) > QIODevice::write: device not open > QIODevice::write: device not open I get those messages also. They seem to be harmless. > Error: short read from gnuplot_qt socket > gnuplot> qt_processTermEvent received a GE_fontprops event. This > should not have happened But that, as it self-declares, should not happen. Let me think about what it might mean. > gnuplot> plot sin(x) > > but the mouse events work. The first plot is still very weird with > wrong font initializations. That is consistent with the error message you showed. The font metrics information for the first plot was apparently delivered to the wrong recipient and/or at the wrong time. Ethan |