Re: ROOT 2.23.11 + Win98: dll error on root startup

From: Matthew D. Langston (langston@SLAC.stanford.edu)
Date: Sun Jan 16 2000 - 22:26:14 MET


Valeri Fine wrote:
>  1. Could you send me your ".rootrc". Did you customize it ?

The only one I have is the one that comes wtih ROOT v. 2.23.11 in the
tutorials subdirectory.  However, I have attached it to thie e-mail
anyway.

>  2. Could you find  the lines:
>
> # Show where item is found in the specified path
> Root.ShowPath:           false
>
> within your ".rootrc" and replace "false" with "true".

I changed this to "true", but it didn't change root's behaviour (i.e. it
didn't cause root to output the debugging information that you asked
for) .  This suggests to me that, on Win98 anyway, root does not read
the .rootrc file in the tutorials subdirectory (the only one on my Win98
system), or any directory for that matter (except for the "Current
Working Directory" - see below).

However, when I ran root from the tutorlals subdirectory, then root
appeared to run OK (I was able to ".L rootalias.C" and ".x
benchmarks.C", and everything appearded to run OK).  Here is the output
that you asked for:

Which: Root_Graf3d.dll = c:\Program
Files\root\2_23_11\bin\Root_Graf3d.dll
Which: Root_Tree.dll = c:\Program Files\root\2_23_11\bin\Root_Tree.dll
Which: Root_Matrix.dll = c:\Program
Files\root\2_23_11\bin\Root_Matrix.dll
Which: Root_Minuit.dll = c:\Program
Files\root\2_23_11\bin\Root_Minuit.dll
Which: Root_Postscript.dll = c:\Program
Files\root\2_23_11\bin\Root_Postscript.dll
Which: Root_Html.dll = c:\Program Files\root\2_23_11\bin\Root_Html.dll
Which: rootalias.C = C:\Program Files\root\2_23_11\tutorials\rootalias.C
Which: rootalias.C = C:\Program Files\root\2_23_11\tutorials\rootalias.C
Which: rootlogon.C = C:\Program Files\root\2_23_11\tutorials\rootlogon.C
Which: rootlogon.C = C:\Program Files\root\2_23_11\tutorials\rootlogon.C

Welcome to the ROOT tutorials

So, it would appear that ROOT v. 2.23.11 requires a .rootrc file to
exist with an entry for "WinNT.*.Root.DynamicPath" in order to properly
function on a Win98 machine.  Can you confirm this?  If this is the
case, then where should .rootrc be placed on a Win98 system so that root
finds it at startup? I have attached the file myroot.bat to this e-mail
which now starts up root properly on my Win98 system, thanks to your
help.  Please let me know if this is the "wrong" way to do this, or if
you think that there is a better way.

Regards, Matt
--
Matthew D. Langston
SLD, Stanford Linear Accelerator Center
langston@SLAC.Stanford.EDU









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