Hi Phil:

I have changed the subject line for this particular topic to something
less general.  I am hoping my hypothesis that you are the victim of
stale build results (see below) is correct so we can put this topic
finally to rest.

On 2015-06-20 11:46+0100 Phil Rosenberg wrote:

> Hi Alan
>
> Regarding the tcl cmake bug it is still there. Just to reiterate the
> problem does not seem to be that the file that is being looked for has
> a space - the problem is that the file genuinely does not exist. So
> the problem must be elsewhere in the CMake logic, which could be due
> to speces still I guess.
>
> Here is the error I get from trying to build INSTALL
>
> 102> CMake Error at bindings/cmake_install.cmake:39 (file):
>
> 102> file INSTALL cannot find "D:/usr/local/src/plplot-plplot/build/Visual
>
> 102> Studio 11 64sd/bindings/pkgIndex.tcl".

> [...]Perhaps if you try to build in a directory with a space you will be
> able to see more easily what the problem is?

I looked at that as follows (as you should be able to verify on your Linux 
machines):

software@raven> mkdir build\ dir
software@raven> cd build\ dir/
software@raven> cmake \
-DCMAKE_INSTALL_PREFIX=/home/software/plplot/installcmake \
-DENABLE_ada=OFF -DENABLE_ocaml=OFF \
-DBUILD_TEST=ON ../plplot.git >& cmake.out
software@raven> make -j4 install >& install.out

I had to drop Ada and Ocaml because there are "spaced" pathname issues with
those components which I don't have time to deal with
at the present time.  But otherwise everything worked perfectly (thanks
mostly to your work on spaced pathname issues in the past, but also
because of my recent fixes).  For
example,

software@raven> grep pkgIndex install.out
Scanning dependencies of target concatenate_pkgIndex.tcl
Generating pkgIndex.tcl
Built target concatenate_pkgIndex.tcl
-- Installing: 
/home/software/plplot/installcmake/share/plplot5.11.0/pkgIndex.tcl

Since all the pkgIndex.tcl concatenation logic is working fine with a spaced 
build
tree on Linux, I wonder if you are the victim of stale cached results.
So please try the master tip version with an absolutely fresh build to
see if that proves to be the case.  Note you normally don't have
to do a fresh build to get reliable results especially when there is
just a source code change, but sometimes it makes a difference if there
are build-system changes (as in this 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
__________________________

------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to