-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Geoffrey,
> > Okay, thanks. I just tried this: > > % cmake -DCMAKE_INSTALL_PREFIX=$HOME/devel/8.4/prefix > -DCMAKE_PREFIX_PATH=$HOME/devel/8.4/prefix .. |& tee cmake.out > ... > -- Looking for include paths and libraries for Tcl/Tk > -- Found Tclsh: /home/furnish/devel/8.4/prefix/bin/tclsh > -- Found TCL: /usr/lib64/libtcl.so > -- Found TCLTK: /usr/lib64/libtcl.so > -- Found TK: /usr/lib64/libtk.so > -- Looking for include paths and libraries for Tcl/Tk - found > -- Looking for tclsh > -- Looking for tclsh - found > -- TCL_TCLSH = /home/furnish/devel/8.4/prefix/bin/tclsh > -- TCL_INCLUDE_PATH = /home/furnish/devel/8.4/prefix/include > -- TCL_LIBRARY = /usr/lib64/libtcl.so > -- Itcl not available or not compatible with current Tcl shell > -- TK_INCLUDE_PATH = /home/furnish/devel/8.4/prefix/include;/usr/include > -- TK_LIBRARY = > /usr/lib64/libtk.so;/usr/lib64/libSM.so;/usr/lib64/libICE.so;/usr/lib64/libX11.so;/usr/lib64/libXext.so > > I would say that did not work right. Notice that it again is chosing the > libs in /usr/lib64, which are the system libs, not the ones in the custom > prefix. Or, maybe I did the cmake invocation wrong (again, argh). > > -Geoff I think it has something to do with these lines FindTCL.cmake FIND_LIBRARY(TCL_LIBRARY NAMES tcl tcl${TK_LIBRARY_VERSION} tcl${TCL_TCLSH_VERSION} tcl${TK_WISH_VERSION} tcl86 tcl8.6 tcl85 tcl8.5 tcl84 tcl8.4 tcl83 tcl8.3 tcl82 tcl8.2 tcl80 tcl8.0 PATHS ${TCLTK_POSSIBLE_LIB_PATHS} ) It tries to find libraries with that names in that order, where TCLTK_POSSIBLE_LIB_PATHS are paths found with the help of tclsh and system paths are always there. From a former email it seems, that you don't have libtcl.so in your devel path, only libtcl8.4.so. But cmake finds libtcl.so in a system path, this may be the reason for the mixup. Could you try to add a symlink to libtcl8.4.so (same with tk)? Does this work? I don't know too much about the naming conventions of linux libraries. If this is a flaw of the FindTCL script, we should post a bug report to the cmake list. HTH, Werner - -- Dr. Werner Smekal Institut fuer Angewandte Physik Technische Universitaet Wien Wiedner Hauptstr 8-10/134 A-1040 Wien Austria DVR-Nr: 0005886 email: sme...@iap.tuwien.ac.at (GPG: EDCAF4A79) web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJL6xurAAoJEG1QQcXtyvSn1UAH/RkdJNR6lY0ajPf3f15I2K5n 9Wtg5MbFkifMBkcerk/phBVxUiBXbxNfW9VG1zBGNQaJ+84Jwa276eLm0HT6DiMs plBIfE3o7zRtN3iVd3Klu3MX1Q+S62Oxu9mcbRwQzZQ65eR/ELmSo5S2wjhuuaHf RE23cvUMGPWQmH92+HY3Rb52QXaE564geRORogVyW6ZFkT9nwqbKWBOqRGJkwZB+ cr8BRB3n8iDOw/hR2Jy6V4SNKg7lGUCUMsDPMlUYB4qyifA1R5obpUI9okXsJQ/K qwQNsUx4Vvw7pGOMd2D8yhFm2Y1DPkBPQNBF/SyqjI8JBetucx5uPWGgODB/SjE= =i6HS -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel