|
[Rivet] auxiliary scripts in several generators.Pere Mato Vila Pere.Mato at cern.chTue Apr 9 13:52:29 BST 2013
Hi Andy, > Hi Pere et al, > > I notice that ROOT has a root-config script: does that somehow survive > Grid/CVMFS relocation? I have to admit that I've only used it locally. Yes it does. > > In my local, privately made build of ROOT I see lines like > bindir=/usr/local/bin I do not know which one you are looking. We never install ROOT at the system. In the installations on AFS (e.g. /afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.04/x86_64-slc5-gcc43-opt/root/bin/root-config ) I see lines like fullpath1=$0 ... lpath=`dirname $0` fullpath1=$lpath/$fullpath1 .... ROOTSYS=`dirname $fullpath1` So it gets the installation location relative from the location of root-config > in this script, (I installed into prefix=/usr/local) so I suspect that > it suffers from the same problem. If so, there are *-config script > problems closer to the heart of SFT/LCG than the myriad external > generator packages! Strange justification. > But if there's a clever trick in the there that > makes it "just work", then I'd be happy to try to put it into the > packages that I have control over. > Thanks. Another example code can be found at http://svnweb.cern.ch/world/wsvn/clhep/trunk/clhep-config.in Cheers, Pere
More information about the Rivet mailing list |