Re: [ROOT] Cygwin and ROOT setup

From: Valeri Fine (fine@bnl.gov)
Date: Sat Jun 09 2001 - 04:13:33 MEST


Hi, Doug, 

To start ROOT under Cygwin I did
    1. under WIN32  -- PATH and ROOTSYS in "Win32 notation"
    2. under Cygwin one needs PATH to be in "Cygwin notation"

   Make sure you do mount your "/cygdrive/d" to "/d"

  The error message itself is clear

> Error: cannot open file "/d/root/include/RQ_OBJECT.h"  FILE: LINE:0

It doesn't matter  from which env  one starts ROOT. ROOT is Win32 application 
and can not open the file with "Cygwin" notation:  "/d/root/include/RQ_OBJECT.h"  
It can open file in WIN32 notation "d:/root/include/RQ_OBJECT.h" 
This is why it complains. 

Hope this helps
                                        Valeri

----- Original Message ----- 
From: "Douglas Roberts" <dar@physics.umd.edu>
To: "Valeri Fine" <fine@bnl.gov>
Sent: Friday, June 08, 2001 5:00 PM
Subject: RE: [ROOT] Cygwin and ROOT setup


> Hi Valeri,
>   Thanks for the quick response.  I defined ROOTSYS as D:\root and added
> D:\root\bin to the PATH env variable from My Computer/Properties and
> rebooted (just to be safe).  The cygwin bash shell seems to inherit the
> ROOTSYS from windows, as a DOS path.  I still run into the same problem.  I
> tried to unset ROOTSYS within cygwin, and have the exact same problem still.
> I also tried to set ROOTSYS in cygwin as a Unix path (/d/root) while keeping
> the windows env as a DOS path, and now I get one more error message before
> the ones I posted previously:
> 
> Error: cannot open file "/d/root/include/RQ_OBJECT.h"  FILE: LINE:0
> 
> This file does exist, however, at that location.
> 
> Any other suggestions?
> 
> -Doug
> > -----Original Message-----
> > From: Valeri Fine [mailto:fine@bnl.gov]
> > Sent: Friday, June 08, 2001 3:39 PM
> > To: dar@physics.umd.edu
> > Cc: roottalk@pcroot.cern.ch
> > Subject: Re: [ROOT] Cygwin and ROOT setup
> >
> >
> > I think there is some bug with ROOT Installation procedure.
> > You may not run ROOT from within Cygwin since Cygwin env.  is
> > invisible for Win32
> > program (like ROOT).
> > You should run ROOT from the separate WIN32.
> > Cygwin to compile ROOT only. You may run ROOT from Cygwin if your
> > first install the ROOT
> > env namely ROOTSYS and PATH as a global Env. variable (via
> > registry. For example My Computer/Properties
> > does this for you)
> >
> >    Can you try that. Hope this helps.
> >
> >                    Valeri
> >
> > ----- Original Message -----
> > From: "Douglas Roberts" <dar@physics.umd.edu>
> > To: <roottalk@pcroot.cern.ch>
> > Sent: Friday, June 08, 2001 3:27 PM
> > Subject: [ROOT] Cygwin and ROOT setup
> >
> >
> > > Hi,
> > >   I am trying to set up ROOT to run in cygwin on a Windows 2000
> > machine.  I
> > > just installed ROOT using the InstallShield version of 3.01.05.
> >  I followed
> > > the set-up procedures listed on the root Cygwin Setup web page.
> >  When I try
> > > to run ROOT, I get the following error:
> > >
> > > (dar-i7000) [71] root
> > > Error in <TWinNTSystem::DynamicPathName>: dll does not exist or
> > wrong file
> > > exten
> > > sion (.dll)
> > > Error in <TWinNTSystem::DynamicPathName>: dll does not exist or
> > wrong file
> > > exten
> > > sion (.dll)
> > > Error: No symbol TGWin32 in current scope  FILE: LINE:0
> > > Error: type TGWin32 not defined FILE: LINE:0
> > > *** Interpreter error recovered ***
> > > Error: No symbol TWin32GuiFactory in current scope  FILE: LINE:0
> > > Error: type TWin32GuiFactory not defined FILE: LINE:0
> > > *** Interpreter error recovered ***
> > >
> > > and a pop-up window saying:
> > >
> > > root.exe - Application Error
> > > The instruction at "0x10001fbe" referenced memory at "0x00000000". The
> > > memory could not be "read".
> > >
> > > Here is some of the environment:
> > >
> > > (dar-i7000) [68] echo $ROOTSYS
> > > d:\root
> > > (dar-i7000) [69] echo $PATH
> > >
> > /d/root/bin:/home/roberts/bin:/usr/local/bin:/usr/local/bin/X11:/o
> > pt/bin:/bi
> > >
> > n:/usr/bin:/usr/bin/X11:/usr/ucb:/usr/X11R6/bin:/sbin:/usr/sbin:./
> > bin:.::/c/
> > > WINNT/system32:/c/WINNT:/c/Program Files/Microsoft Visual
> > > Studio/Common/Tools/WinNT:/c/Program Files/Microsoft Visual
> > > Studio/Common/MSDev98/Bin:/c/Program Files/Microsoft Visual
> > > Studio/Common/Tools:/c/Program Files/Microsoft Visual Studio/VC98/bin:
> > > /c/Program Files/DevStudio/DF/bin:/c/Program
> > Files/DevStudio/SharedIDE/bin
> > > (dar-i7000) [70] which root
> > > /d/root/bin/root
> > >
> > >
> > > If I try to run root from Windows by double-clicking on the
> > root.exe icon,
> > > it seems to run fine.
> > >
> > > Does anyone have any ideas?
> > >
> > > Thanks,
> > > Doug
> > >
> > > Douglas Roberts
> > > Department of Physics
> > > University of Maryland
> > > College Park, MD 20742
> > > Office: Physics 4308
> > > Phone: (301)405-6067
> > > FAX: (301)699-9195
> > >
> > >
> >
> >
> 
> 



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