Arjen, Thanks! That seems to fix the problem for me. I've committed your patch (with due credit).
Andrew On Sat, Feb 06, 2010 at 03:16:09PM +0100, Arjen Markus wrote: > On Fri, 5 Feb 2010 08:39:52 +0000 > Andrew Ross <andrewr...@users.sourceforge.net> wrote: >> >> Arjen, >> >> If you could supply a test case then I'd be happy to try it out on >> Linux. >> I think your experience generally with tcl / tk is much greater than >> mine. >> > > Hi Andrew, > > I see in the source code (files like plserver.c) that the > auto_path variable is treated as a string. It is actually > used as a list: > > tcl_cmd( interp, "set auto_path \"$dir $auto_path\"" ); > > Given the rules for the automatic conversion of strings to > lists, this approach works if no directories contain spaces. > To be more robust, however, the above (and any similar > commands involving the auto_path variable) should be: > > tcl_cmd( interp, "set auto_path [list $dir $auto_path]" ); > > Could you make the changes in tcl/tclAPI.c and tk/plserver.c and then try > again? > > Something similar is happening in pkgIndex.tcl.in, where > the searchdirs and dlnames variables should be set to a list too: > > set searchdirs [list "@LIB_HARDDIR@"] > # prefer double precision version > set dlnames [list "@DLNAME_LIBPLPLOTD@" "@DLNAME_LIBPLPLOT@"] > > (Since the macros are substituted, they should be individually delimited > by quotes - "...") > > Regards, > > Arjen > ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel