Hi Maurice: Will you please have a look at plserver ASAP (since our release is scheduled for Sunday)? It sometimes (but not always) segfaults for me.
Here is how I can reproduce the problem (on my Debian testing 64-bit platform with Tcl/Tk version 8.5.3-4 but with no corresponding iTcl/iTk). Do a normal default build. Here are the parts of the cmake output that are relevant to Tcl/Tk. -- Looking for include paths and libraries for Tcl/Tk -- Looking for include paths and libraries for Tcl/Tk - found -- Looking for tclsh -- Looking for tclsh - found -- TCL_TCLSH = /usr/bin/tclsh -- HAVE_TCL_GT_84 = 1 -- TCL_INCLUDE_PATH = /usr/include/tcl8.5 -- TCL_LIBRARY = /usr/lib/libtcl8.5.so -- Looking for itcl.h -- Looking for itcl.h - not found -- WARNING: Disabling incr Tcl interface code -- TK_INCLUDE_PATH = /usr/include/tcl8.5;/usr/include -- TK_LIBRARY = /usr/lib/libtk8.5.so;/usr/lib/libSM.so;/usr/lib/libICE.so;/usr/lib/libX11.so;/usr/lib/libXext.so -- Looking for itk.h -- Looking for itk.h - not found -- WARNING: Disabling incr Tk interface code .... DRIVERS_LIST: cairo;gd;gcw;hpgl;mem;null;pbm;ps;psttf;svg;tk;tkwin;wxwidgets;xfig;xwin DEVICES_LIST: pdfcairo;pngcairo;pscairo;svgcairo;xcairo;gif;jpeg;png;gcw;hp7470;hp7580;lj_hpgl;mem;null;pbm;ps;psttf;svg;tk;tkwin;wxwidgets;xfig;xwin Library options: BUILD_SHARED_LIBS: ON PL_DOUBLE: ON Optional libraries: HAVE_QHULL: ON WITH_CSA: ON HAVE_FREETYPE: ON HAVE_PTHREAD: ON HAVE_AGG: ON Language Bindings: ENABLE_f77: ON ENABLE_f95: ON ENABLE_cxx: ON ENABLE_java: ON ENABLE_python: ON ENABLE_octave: ON ENABLE_tcl: ON ENABLE_itcl: OFF ENABLE_tk: ON ENABLE_itk: OFF ENABLE_pdl: ON ENABLE_wxwidgets: ON ENABLE_gnome2: ON ENABLE_pygcw: ON ENABLE_ada: ON ENABLE_d: ENABLE_ocaml: ON So as expected, Tcl/Tk 8.5 was found and iTcl/iTk automatically disabled by our build system. Then... make install Put $PLPLOT_PREFIX/bin on your path so that "which plserver" finds the newly installed version. On my system that result is [EMAIL PROTECTED]> which plserver /home/software/plplot_cvs/installcmake/bin/plserver cd to the installed examples/tk directory (in my case that is cd /home/software/plplot_cvs/installcmake/share/plplot5.9.0/examples/tk ) and run plserver there. [EMAIL PROTECTED]> plserver % source tkdemos.tcl Segmentation fault I hope you (and any others here with an interest in Tcl/Tk) will be able to confirm this segfault and find a fix for it. 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 __________________________ ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
