Re: [ROOT] Problem running root under Windows 98.

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Feb 26 2001 - 10:54:24 MET


Hi Ray,
Did you set the variables ROOTSYS,PATH, etc as described at:
     http://root.cern.ch/root/Version300.html
namely:


     When running from the MSDOS prompt, you must set the following environment
variables, eg in your autoexec.bat:
     (Restart the system if you set these variables for the first time). 

        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

Rene Brun


Raymond Beuselinck wrote:
> 
> Hi,
> 
> I searched in the roottalk archive for the problem I have encountered and I see
> that it has been discussed before, but there did not seem to be any clear
> resolution as far as I could see.
> 
> I installed root version 2.25/03 on my NT desktop at work which seems to work
> fine if I set the ROOTSYS variable and add %ROOTSYS%\bin to my PATH.
> 
> I installed exactly the same version on my laptop which is running Windows 98
> and find that root does not work correctly unless I am running it from the
> directory containing the binaries.  The problem is not in finding root.exe but
> in finding the .dll files which are in that directory.
> 
> There was some discussion in roottalk about .rootrc files and setting the
> dynamic path correctly but I could not find a definitive answer to tell me how
> to make root work sensibly under win98, i.e.
> 
> 1. What should the necessary configuration file be called ?
> 2. Which directory should it be in ?
> 3. What must it contain to be able to find the .dll files from anywhere ?
> 
> The zip file containing the windows 95/98/NT version has a file called
> system.rootrc  (not just .rootrc)  located in the top level directory
> ( %ROOTSYS% ) which contains the following lines:
> 
> # 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
> 
> Should this work for Windows 98 ?  (I am not even certain that it is looked at
> by the root executable.)  If not, then how must I change it to make it work ?
> I should point out that I am also just beginning to try to learn how to use
> root so don't even have any past experience from other platforms to help me.
> 
> Thanks for any help you can give.
> 
> Ray Beuselinck,
> Imperial College, London.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:37 MET