From: Alan W. I. <ir...@be...> - 2002-07-11 20:31:15
|
Well, that fixed the problem, and everything works fine in the resulting GUI from plplot/tmp with no error/warning messages at all! So please commit that change *assuming there is no impact on the tk or ntk drivers.* (I held back on that commit because I didn't know the meaning of catch....) I have just committed a small configuration tweak that should set up the r*.tcl symlinks properly for plplot/tmp. So for the others here who want to try this here is the cookbook: (1) configure --with-tkwin (2) In the make step you currently need to hand-configure the appropriate additional options for the compile step for plplotter.c On my system the additional options that work for me are -I/usr/include/tcl8.3/tk-private/generic/ -DHAVE_LIMITS_H -I/usr/include/tcl8.3/tcl-private/generic/ Then in plplot/tmp wish % load libplplotd.so.5.1.0 Plplotter % package provide Plplotter 5.1.0 % source runAllDemos.tcl and enjoy the new GUI. Thanks Vince for being willing to work with me to shake out all the showstopper problems with tkwin on linux. I am especially impressed that it works directly under wish. I always thought you needed the TEA-based approach for that. The next item on my agenda is to put some rudimentary configuration stuff in for the extra compile flags that you need. Then I will look at what you have to do for the install (probably tomorrow). Alan email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ On Thu, 11 Jul 2002, Vince Darley wrote: > I have one more suggestion. The error you are getting is because of the > call to 'pldefaults' in plplot.tcl (whichever version of plplot.tcl is > being picked up load; I'm not sure if that will be the one in pwd or in > /usr/..). Replace the single line with 'pldefaults' with: > > catch {pldefaults} > > and see if that helps. At the very least you should not get the same > error message! > > -- Vince > > <http://www.santafe.edu/~vince> > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > PC Mods, Computing goodies, cases & more > http://thinkgeek.com/sf > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel > |