david.hou@utoronto.ca wrote: >Hi John > >I've realized where my mistakes are... basic.C looks for basic.dat in my ~ >directory which doesn't have that file at all in the first place. Anyway, >thanks for the help! > >David > >p. s. Any way of having ROOT to look for script files other than at >$ROOTSYS/macros/ directory? > > In your .rootrc file (should be in ~): # Path used by dynamic loader to find shared libraries and macros # Paths are different for Unix and Windows. The example shows the defaults # for all ROOT applications for either Unix or Windows. Unix.*.Root.DynamicPath: .:$(ROOTSYS)/lib:$(HOME)/lib Unix.*.Root.MacroPath: .:$(ROOTSYS)/macros:$(ROOTSYS)/tutorials WinNT.*.Root.DynamicPath: .;$(ROOTSYS)/bin;$(PATH) WinNT.*.Root.MacroPath: .;$(ROOTSYS)/macros Add your directories to the MacroPath. Good luck John -- John D. Frankland Beam Coordinator GANIL B.P. 55027 14076 CAEN Cedex 05 tel: +33 (0)231454628 fax: +33 (0)231454665
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET