From: Alan W. I. <ir...@be...> - 2002-07-13 02:44:47
|
To get this "historic breakthrough" to work, all you have to do is make the changes to configure.in and dyndrv.in similar to what I indicated before for the tkwin case, and link the current libplplot against tkwind.drv, xwind.drv, and tkwind.drv. Then x01c worked fine with -dev xwin and -dev tk, plserver and wish worked fine for runAllDemos.tcl, and plserver worked fine for tkdemos.tcl I thank Vince for a key sentence in his last email that greatly improved my understanding of linking and which made this breakthrough possible. I haven't committed the configure.in and dyndrv.in changes since those changes require hand intervention on the link step to get everything to work in plplot/tmp. I am not even sure of how to link libplplot so that plplot/tmp/drivers/*.drv can be found by the dynamic linker from plplot/tmp before install and $prefix/lib/plplot5.1.0/drivers/*.drv can be found from anywhere by the dynamic linker after install. Probably I will have to fool around with rpath and soname. Right now I am using symlinks such as ln -s drivers/tkd.drv libtkd.so and the -L option and the -ltkd option (which needs that lib prefix and .so suffix to work) to get libplplot linked properly. Anybody got a better idea for the proper way to link a library against 3 of our dynamic drivers? Ultimately it will do this for the split-out libtclplplot, instead, but I might as well get it right for libplplot for now. I could definitely use some active help here with sorting out the configuration issues so please let me know if you are interested in participating in this work. But the most important news I have to report here is that tk, xwin, and tkwin can straightforwardly be made dynamic devices contrary to our previous conclusions on this issue. 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 __________________________ |