|
From: Bastian M. <bma...@we...> - 2014-02-24 20:12:45
|
Am 24.02.2014 20:39, schrieb Ethan A Merritt: > 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 The reason for these is the section below in qt_graphics(). The first time it is called the qt->socket is not yet open and thus the call to qt_flushOutBuffer will fail: qt->out << GEDesactivate; qt_flushOutBuffer(); qt_connectToServer(); Adding this snippet to qt_flushOutBuffer() solves that problem: if (!qt || !qt->socket.isValid()) return; But maybe the order of commands in qt_graphics() should be changed instead. Bastian > > 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 > > > ------------------------------------------------------------------------------ > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |