From: Alan W. I. <ir...@be...> - 2002-07-11 18:39:58
|
On Thu, 11 Jul 2002, Vince Darley wrote: > It could be that the error message is important, if Tcl aborts the load > when an error is received. > > After 'load' when you do: > > % info commands pl* > > is 'plframe' listed? no. % info commands p* pwd package proc puts pid pack place % BTW, I have done a cvs update to get your latest fixes which do solve the symlink problem I was having before. But the showstopper is the pl* commands are not available. > > Best approach is probably to do what I described in my following mail and > install everything where Tcl expects to find it (tcl/lib/plplot5.1.0 or > whatever), and use 'package require Plplotter'. I have also read your further messages on this subject. Nevertheless, I am leary of jumping that far ahead with the tiny tcl expertise that I have. I would like to get it working properly in plplot/tmp first, and once we understand that, then move on to the installation problem. I don't want tkwin to be the only driver that doesn't work in plplot/tmp, and also the final installed location for the plplot library will not be in the tcl tree (instead it will be located at $prefix/lib/libplplotd.so or $prefix/lib/libplplot.so) so we will have to deal with that issue in any case. > > Note: there is no 'plinit' command with the tkwin driver -- all plplot > interaction happens through a plframe widget. Sorry I picked such a bad example. But the above info commands results show no plplot command is available so the load of libplplotd.so is not working properly from its plplot/tmp location. I would appreciate it if you tried making the same experiment from windows, i.e. attempted to load the plplot library (or a copy of it) from the current directory to get to the root of the problem of why the pl* commands are not available after the load. But if you don't want to go further with that, then it is probably time for me to hand this over to the real tcl/linux experts here. Geoffrey is not available for several weeks, but I am hoping Maurice is back now. Maurice, can you see any reason why the pl* commands are not available after the load from the current directory? All the tkwin stuff should build out of the box now for you except for the hand intervention I described to add the appropriate -I flags to compile plplotter.c. Ultimately, I intend to put in all the configuration necessary so that hand intervention is not required, but it is good enough for testing purposes for now. Alan |