Cannot run root from different paritions

Hello Rooters,

I am running root version 4.01/04 for win32gdk on a Windows XP. I encountered a strange problem. When I start root from a directory in c: root starts fine and everything works ok. But if I start it from a directory in d: or some other name I get the following errors

[code]D:>root
Warning in TWinNTSystem::SetProgname: Wrong Program path
Error in TWinNTSystem::DynamicPathName: Win32gdk does not exist in .;c:\root/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\root\bin,
or has wrong file extension (.dll)


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 4.01/04 19 November 2004 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      http://root.cern.ch            *
    
  •                                     *
    

Compiled for win32 with thread support.

CINT/ROOT C/C++ Interpreter version 5.15.156, Oct 20 2004
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
Error in TWinNTSystem::DynamicPathName: Minuit does not exist in .;c:\root/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\root\bin,
or has wrong file extension (.dll)
Error in TWinNTSystem::DynamicPathName: Postscript does not exist in .;c:\root/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\root\bin,
or has wrong file extension (.dll)
Error in TWinNTSystem::DynamicPathName: Html does not exist in .;c:\root/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\root\bin,
or has wrong file extension (.dll)
Warning in TCanvas::ResizePad: MyC width changed from 0 to 10

Warning in TCanvas::ResizePad: MyC height changed from 0 to 10

Warning in TPad::ResizePad: MyC_1 width changed from 0 to 10

Warning in TPad::ResizePad: MyC_1 height changed from 0 to 10

Warning in TPad::ResizePad: MyC_2 width changed from 0 to 10

Warning in TPad::ResizePad: MyC_2 height changed from 0 to 10

Warning in TPad::ResizePad: MyC_3 width changed from 0 to 10

Warning in TPad::ResizePad: MyC_3 height changed from 0 to 10

root [0][/code]
I did not see this problem with other versions of root. Has something changed on how path’s are handled internally?

Thank you

lutz

How did you set your ROOTSYS variable?

Cheers,
Philippe

Hello Philippe,

here are the settings:

rootsys=c:\root
Path=c:\root\bin;

Cheers,

Lutz

Hi,

The fix for this problem has been uploaded to the CVS repository.

Cheers,
Philippe