Alan W. Irwin writes:
 > Hi Geoffrey:
 > 
 > Your recent revision (I am using revision 10991) to make a plstransform
 > wrapper to Tcl builds okay, but actual use of plstransform for example 19
 > does not work for me.  I get
 > 
 > Unable to evaluate Tcl-side coordinate transform.
 > 
 > repeated 13557 times in examples/x19t_psc.txt, the file that captures stdout
 > for the tcl version of example 19.  That message is apparently coming
 > from Tcl_transform defined in bindings/tcl/tclAPI.c.
 > 
 > I am running the development version of Tcl-8.4 (package tcl8.4-dev version
 > 8.4.19-2) for Debian Lenny.  The relevant lines from cmake output
 > are
 > 
 > -- TCL_TCLSH = /usr/bin/tclsh
 > -- TCL_INCLUDE_PATH = /usr/include/tcl8.4
 > -- TCL_LIBRARY = /usr/lib/libtcl8.4.so
 > 
 > If you try Tcl-8.4 do you get the same error?

BTW, taking a cue from the wiki, I added some options on the cmake line like
this: 

% cmake -DCMAKE_INSTALL_PREFIX=$HOME/devel/8.4/prefix 
-DCMAKE_INCLUDE_PATH=$HOME/devel/8.4/prefix/include 
-DCMAKE_LIBRARY_PATH=$HOME/devel/8.4/prefix/lib ..
...
-- 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

But, it still picks up Tcl/Tk libs from /usr/lib64, even though the ones we
need are right there in the named library dir:

% 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

-Geoff

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

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

Reply via email to