To use ROOT directly from AFS you only have to set the ROOTSYS environment variable to point to one of the following directories:
/afs/cern.ch/na49/library.4/ROOT/new/i386_redhat60/root for Redhat6.1 egcs1.1 /afs/cern.ch/na49/library.4/ROOT/new/hp700_ux102_aCC/root for Hpux10.20 aCC /afs/cern.ch/na49/library.4/ROOT/new/sun4x_56/root for Solaris5.6 CC5.2 /afs/cern.ch/na49/library.4/ROOT/new/sun4x_58/root for Solaris5.8 CC5.2 /afs/cern.ch/na49/library.4/ROOT/new/alpha_osfcxx/root for Alpha cxx /afs/cern.ch/na49/library.4/ROOT/new/alpha_osfegcs/root for Alpha egcs1.1 /afs/cern.ch/na49/library.4/ROOT/new/nt4/root for Windows/NT VC++ 6.0In the above new can be replaced by either pro or old, depending on which version you want. To see which actual version matches with new, pro and old see the download page.
After this set the other environment variables as described in $ROOTSYS/AA_README.