On 2010-05-12 18:55-0500 Geoffrey Furnish wrote:

> Alan W. Irwin writes:
> > Just for completeness could you also show us the results of
> >
> > ls $HOME/devel/8.4/prefix/lib
> >
> > ?
>
> % ls $HOME/devel/8.4/prefix/lib
> libtcl8.4.so     libtk8.4.so     tcl8.4        tk8.4
> libtclstub8.4.a  libtkstub8.4.a  tclConfig.sh  tkConfig.sh
>
> > It is possible the whole issue is caused by $HOME.  The shell should
> > translate that properly for the ls command, but I wonder if it is doing
> > that for the cmake -D option?  Anyhow, if ls shows the proper libraries
> > and headers are in the proper locations, I would try (a) expanding $HOME
> > by hand for the cmake option and if that doesn't work (b) use the
> > environment variable approach which I know works for me.
>
> Mmmm.  The shell expands $HOME for all commands, nothing special about cmake
> (or ls) in this case.  However, just for completeness:
>
> % rm -rf *
> % cmake -DCMAKE_INSTALL_PREFIX=/home/furnish/devel/8.4/prefix 
> -DCMAKE_PREFIX_PATH=/home/furnish/devel/8.4/prefix .. |& tee cmake.out

> Finally:
>
> % rm -rf *
> % export CMAKE_INSTALL_PREFIX=/home/furnish/devel/8.4/prefix
> % export CMAKE_PREFIX_PATH=/home/furnish/devel/8.4/prefix
> % cmake .. |& tee cmake.out

...

Geoffrey, I should have been more specific in the test I requested. Please
use the combination of the environment variables CMAKE_INCLUDE_PATH and
CMAKE_LIBRARY_PATH pointed to the correct locations.  As I have just
demonstrated, that combination should work fine.  And that combination has
worked fine since CMake-2.4.x days.

Please run the test with no interference from CMAKE_PREFIX_PATH which is
something I have not tested. I realize somebody else suggested it in this
thread as a possibility, and as far as I can tell from the documentation it
_should_ work in the limited case where you have your headers installed in
the include directory rather than subdirectories of include.  But let's test
with a case that I _know_ works for me to give a perfect Tcl/Tk/itcl/itk
result.

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); 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
__________________________

------------------------------------------------------------------------------

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

Reply via email to