From: Alan W. I. <Ala...@gm...> - 2020-06-14 03:29:56
|
On 2020-06-13 15:35-0400 Baumgardner, John R (Mechanical Engineering) wrote: > Hi Alan, > > I attempted to install Plplot-15-5.0 on my Ubuntu 18.04 Linux machine, but > cmake could not find where the cairo, qt, tk,etc. libraries were located for > some reason. Rather than attempting to deal with those issues, .... Hi John: Well, the usual issue when CMake cannot find libraries is the "development" versions of the cairo, qt, and tk library packages have not been installed. Which should be an easy problem to fix.... > However [when attempting to use 3rd-party PLplot for a later Ubuntu], it would be nice if the xwin option also worked. > Currently, when I select that option, I get the error: "*** PLPLOT ERROR, > IMMEDIATE EXIT *** Can't open display Program aborted." I am guessing that > I am missing something simple in how the X environment is specified. Might > you have any suggestions for resolving that issue? Actually, I have never had a problem like that with -dev xwin so you might be up against a packaging error of some kind. To confirm or eliminate that possibility, what happens for the version you build yourself (as above, but with all relevant library development packages installed)? If the version you build yourself also has the problem, then I suggest you try the -debug option which should give more details on what exactly is going wrong for -dev xwin. Good luck, and let us know how it goes. Alan __________________________ Alan W. Irwin Research affiliation with the Department of Physics and Astronomy, University of Victoria, Victoria, BC, Canada. 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.org); 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 __________________________ |