RE:Macro reading problem

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Fri Mar 24 2000 - 14:45:00 MET


Hello

Here is what I understand.

Root has it's own current directory controlling system. And it behaves
differently from that of UNIX system. This is sometimes not nice, but
has good reason to keep that system. Anyway, when you specify file name
as macro/little.C , it could not understand the correct path. Please ask
Rene and Fons about further detail. 

Thank you
Masaharu Goto



>Hi
>
>Just a 'stupid user' problem, I think:
>I have just installed ROOT 2.22/10 under SuSE 6.2 and
>I cannot execute macros, even with a TBrowser.
>I have no problem reading ROOT Files containing histograms
>etc. and I have not changed the default .rootrc file, but
>the interpreter just can't see the file.
>
>Any help appreciated!
>Max
>
>.....
>root [1] .! pwd; ls -l ./macros
>/mnt/home/hblap1/sang/root
>total 2
>-rwxr-xr-x   1 sang     HERA-B         53 Mar 20 12:13 little.C
>-rwxr-xr-x   1 sang     HERA-B         27 Mar 20 00:26 little.C~
>root [2] .! cat macros/little.C
>{
>cout << "Hello from little.C" << endl;
>}
>root [3] .x macros/little.C
>Error in <TRint::ProcessFile>: 
>/mnt/home/hblap1/sang/root/macros/little.C  no such file 
>root [4] .q
>--------------------------------------------------------
>



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:22 MET