[cmake-developers] Minor regression in --version results for CMake 2.8.12.1 (A FALSE ALARM)

Alan W. Irwin irwin at beluga.phys.uvic.ca
Thu Dec 5 02:52:03 EST 2013


On 2013-12-04 23:36-0800 Alan W. Irwin wrote:

> <OFF TOPIC>

> What happened today was I built cmake-2.8.12.1 and installed it high
> on the existing PATH without changing that PATH. So the cache was
> stale and still pointed to 2.8.12 despite the "which cmake" result
> (pointing to cmake-2.8.12.1) which gave me the (false) confidence to
> report what turned out to be a false alarm above. Later when I changed
> the PATH, it turned out that bash took that as a signal to empty the
> cache of the stale results, and after that cmake-2.8.12.1 was found
> because it was higher on the PATH than 2.8.12. And that version
> definitely produces the correct version string, "cmake version 2.8.12.1".

Ugh. that gave the wrong impression.  What I should have said was

.... Later when I changed the PATH (with cmake-2.8.12.1 higher on the
PATH than cmake-2.8.12 for _both_ the old and new PATH), it turned out
that bash took that as a signal to flush the cache of the stale
results, and that cache flush and not any PATH change finally allowed
bash to find cmake-2.8.12.1.

> </OFF TOPIC>

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
__________________________



More information about the cmake-developers mailing list