Hi,
Thanks to all those who answered with various suggestions on how to make
root find all the .dll files under Windows 98. I now have this working.
The original problem I reported was that the binary installation from the
Win95/98/NT tar file worked fine in NT, but not on Windows 98 due to an
inability to locate all the necessary .dll files on startup.
In case this is of help to others, here is a summary of what I was recommended
to change. I don't know which item was the magic ingredient, just that
applying all the following changes worked for me.
Ray.
------------
1. I set the environment variables in autoexec.bat as recommended in the
installation instructions for Version 3 of root, as copied below.
set TEMP=c:\temp
set HOME=c:\your top directory
set TMPDIR=c:\temp
set ROOTSYS=c:\root (the directory where you installed Root)
set PATH=%PATH%;%ROOTSYS%\bin
( The version I actually have installed on my machine is 2.25/03 )
2. Originally I installed root under C:\Program Files\root and had set the
ROOTSYS variable to C:\PROGRA~1\root (using the MSDOS name to avoid
trouble with spaces). It was recommended that I install root instead under
C:\root which I have done.
3. The original installation came with a file called system.rootrc at the top
level of the package ( %ROOTSYS% ). It contained lines like the following:
# 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
Unix.*.Root.MacroPath: .:$(ROOTSYS)/macros
WinNT.*.Root.DynamicPath: ./;$(ROOTSYS)/bin;$(PATH)
WinNT.*.Root.MacroPath: ./;$(ROOTSYS)/macros
This did not apparently do anything useful under Win98 regardless of whether
it was called system.rootrc or just .rootrc and no matter which directory I put
it in.
Following the example provided by Nick I renamed the file to .rootrc and
modified the Path variables as below:
### Set search paths
WinNT.*.Root.DynamicPath: .;$(ROOTSYS)\bin
WinNT.*.Root.MacroPath: .;$(ROOTSYS)\macros
Note that I changed the forward slashes to backslashes.
With the changes listed above I was then able to run root and execute the
demos without problems on Windows 98. (There had been no problem at all under
NT without any changes).
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:38 MET