From: Geoffrey F. <fu...@ga...> - 2001-10-04 19:59:24
|
hv...@i-... writes: > On Thu, 4 Oct 2001, Geoffrey Furnish wrote: > > 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. > > yeah, I did that, as noted in original note ("I installed tcl and tk > in foo" implied ./configure --prefix=/foo for each pristine install). > > it did not work. That is why I did noted stuff and incantations.... Well, your note posted earlier today said: > 1. I installed tcl and tk with --prefix=/foo where foo is my home > [...] > 7. run ./configure --prefix=/foo/plplot --disable-itcl --disable-f77 Assuming that what you said is what you meant, it is critically different from what I said. You must use the /exact same/ prefix for all packages. If you do this, PLplot's autosensing logic will find the goods in $prefix/lib. But if you do Tcl/Tk to /foo and PLplot to /foo/plplot, then it will not find a libtcl in /foo/plplot/lib because it is in /foo/lib. If you check through the cf stuff like Maurice was suggesting, you'll see that "$prefix/lib" is one of the "standard places", and in particular, takes precedance over all the "hard coded standard places" like /usr/local/lib, /usr/lib, etc. In order for this to work, you have to configure PLplot, and all the custom installed packages you want it to use, to the /exact same/ prefix. If you did that, and it did not work, then we will find and fix the bug. But so far, your emails have not made it clear that you have actually done this. Please advise if you still think there is an autodetection bug. -- Geoffrey Furnish fu...@ga... |