From: Geoffrey F. <fu...@ga...> - 2001-10-04 16:30:13
|
hv...@i-... writes: > 1. I installed tcl and tk with --prefix=/foo where foo is my home > > 7. run ./configure --prefix=/foo/plplot --disable-itcl --disable-f77 > > 9. Here comes more ignorance on my part: the build will create plserver, > for example, so you can run plserver and get an initial wishx window. > But if you do a plxframe creation, you core dump. > > So a bit of ldd work reveals that resultant plserver (and maybe other > targets) built with dependency on libtcl.so in default (8.0!) directory. > Don't want that. So I make (here we go...) symlinks in the plserver > directory to respective libtcl8.3.so, etc in private copy of 8.3 tcl/tk. > Now it works. > > So there is my silliness: I can build and run using this kl00ge, but > can I do it a bit cleaner, especially wrt ldd noted lib dependencies at > run or, preferably, compile-time? If you configure plplot with the wrong prefix, it won't find the right libs. Alan mentioned all those env vars, but I haven't used them, so can't comment on that pathway. Here's what I recommend: configure tcl --prefix=/foo; make; make install configure tk --prefix=/foo; make; make install configure plplot --prefix=/foo; make; make install I think it will work, and be much simpler in this case. Not sure about how the tclindex stuff will work in this case. To be safe, I'd probably put /foo/bin early in my path. -- Geoffrey Furnish fu...@ga... |