On 2014-02-14 07:52-0000 Arjen Markus wrote: > Hi Alan, Orion, > >> -----Original Message----- >> From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] >> >> Of course, such simple "package require" command results should not need a >> display so I am wondering if there is a way to obtain such results under >> wish when >> there is no display? Could you check with Fedora experts if that is possible? >> >> If so, then you would not have to specify versions by hand like you do above. >> > > I doubt this is possible: wish initialises the Tk package early in the > start-up procedure and that requires a connection to X Window. You might get > by with a screenless X Window, but you do need a connection to X Window.
@Orion: It turns out that Arjen is correct. To confirm that try the following experiment: irwin@raven> tclsh % package require Tk 8.5.11 % exit A blank GUI shows up on the screen as the result of the "package require Tk" command even for a tclsh context (which normally is not used for anything to do with GUI's). Therefore, I am sure the above combination (which is also in our CMake sanity checking for Tcl/Tk versions) like the equivalent wish combination won't work for a Linux environment that does not have a working X display. Thus, the conclusion seems to be that your idea of specifying exact version numbers to skip all this consistency checking is your only PLplot configuration alternative when there is no working display. On the other hand, I think that inconvenience is acceptable since no working display is a pretty specialized case. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel