From: Maurice L. <mj...@ga...> - 2002-08-06 06:34:11
|
Alan W. Irwin writes: > BTW, I did the same relink with different rpath for libplplottcltk[d].so. > Please change that as well if you think it will make a difference. For that > (and tkwin, tk, and xwin) I was naively following exactly what was done > before for the executables such as plserver, and the plplotc python > extension module, plplotcmodule.so, but for those examples it doesn't seem > to matter so much that after install ldd in plplot/tmp indicates they are > finding the libraries in the install location rather than plplot/tmp. Right, probably it doesn't matter, but I'll think about it. Originally it was kind of a tossup as to which way to go. Since the first change you make will result in a library rebuild and therefore executable relink, there is little danger. One reason to prefer having the relinked executables in tmp/ is that you can rename them e.g. plserver -> plserver.old, make some change to the library and then compare plserver to plserver.old, since the latter will still be linked to the installed libraries and thus make a good reference copy. > I will do a complete test of everything tomorrow to verify your changes work > here. Also, I will try once again to get auto_path to work (this time > spelled correctly! Last time I was using autopath which is why nothing > worked.) D'oh! Been there. :) > Basically I am thinking of > > lappend auto_path /usr/local/plplot/lib/plplot5.1.0/tcl > > the symlink I discussed before, and a modified pkgIndex.tcl > > to see if the wish recipe can be simplified when plplot is installed. > > But you are much better at tcl than me so if you have time tonight I invite > you (;-)) to please see what you can do yourself to get > > package require Plplotter > > working like Vince said was possible for the installed version. Cool, I may have time to look into it. -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |