RE: problem installing root5.10.00

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Sat, 25 Mar 2006 12:02:28 -0600


Hi,  

Currently the win32 build of ROOT does not work from a cygwin xterm. You have to start it
from a regular windows cmd.exe window.  

Cheers,
philippe


From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of HP Beck
Sent: Saturday, March 25, 2006 6:16 AM
To: Roottalk
Subject: [ROOT] problem installing root5.10.00

Dear rooters

trying to install the win32gdk binary for root5.10.00 leads to problems:

The platform I use:

Windows XP professional
VC++ 8.0
cygwin

ROOTSYS, PATH, INCLUDE, LIB, LIBPATH
variables are properly set and root seems to run fine from a cmdtool prompt - but not from a cygwin xterm prompt.

>From a cygwin xterm prompt, I can e.g. compile all the test macros in
root/test by simply typing make (which uses the VC++ 8.0 compiler cl.exe). These test programs run fine, give output to stdout and open canvases and the like as expected.
However, starting root, gives me the root splash screen and the standard root greeting - but *no root prompt*!!

cygwin>root


Compiled on 2 March 2006 for win32.

CINT/ROOT C/C++ Interpreter version 5.16.8, February 9, 2006

Type ? for help. Commands must be C++ statements.

Enclose multiple statements between { }. <---- NO prompt appearing.

Anyone ever seen something the like? I.e. not getting the prompt after all is initialized.
(I removed also my local .rootrc in order to be sure it does not cause any problems).

btw - compiling root natively (using VC++8.0 and typing ./configure win32 and make from a cygwin prompt leads to a compile error:

build/win/cc.sh -O2 -MD -DWIN32 -D_WIN32 -D_WINDOWS -DWINVER=0x0400 -FIsehmap.h -nologo

-D_X86_=1 -D_DLL -DVISUAL_CPLUSPLUS -DG__SHAREDLIB -DG__UNIX -DG__ROOT -DG__REDIRECTIO -DG__WIN32 -Iinclude -DG__NEWSTDHEADER -D_CRT_SECURE_NO_DEPRECATE -D_SECURE_SCL=0 -o cint/src/g__cfunc.o -c cint/src/g__cfunc.c

g__cfunc.c

cint/src/g__cfunc.c(229) : error C2099: initializer is not a constant

make: *** [cint/src/g__cfunc.o] Error 2

Thanks for any hint
cheers,
HP

-- 
----------------------------------------------------------------------
Hanspeter Beck                         voice: +41 (0)22-767 11 94
University of Bern, Switzerland          fax: +41 (0)22-767 83 50
CERN European Lab for Particle Physics   www: http://www.lhep.unibe.ch
PH/ATLAS                                 www: http://www.cern.ch/Atlas
CH-1211 Geneva 23, Switzerland        e-mail: Hans.Peter.Beck_at_cern.ch
----------------------------------------------------------------------


PS - for the curious, here the PATH, LIB and INCLUDE variables:

PATH:
/opt/root5.10.00/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/system32/Wbem
:/d/Program Files/Microsoft Visual Studio
8/VC/VCPackages:/c/WINDOWS/Microsoft.NET/Framework/v2.0.50727:/d/Program
Files/Microsoft Visual Studio 8/SDK/v2.0/bin:/d/Program Files/Microsoft
Visual Studio 8/VC/PlatformSDK/bin:/d/Program Files/Microsoft Visual Studio
8/Common7/Tools/Bin:/d/Program Files/Microsoft Visual Studio
8/Common7/Tools:/d/Program Files/Microsoft Visual Studio 8/VC/bin:/d/Program
Files/Microsoft Visual Studio
8/Common7/IDE:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/home/hp/bin:/usr
/bin:/usr/X11R6/bin:.:/usr/lib/lapack:/opt/CMT/v1r18p20041201/CYGWIN_NT-5.1-
i686

LIB:
d:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB;d:\Program
Files\Microsoft Visual Studio 8\VC\LIB;d:\Program Files\Microsoft Visual
Studio 8\VC\PlatformSDK\lib;d:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\lib

INCLUDE:
d:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE;d:\Program
Files\Microsoft Visual Studio 8\VC\INCLUDE;d:\Program Files\Microsoft Visual
Studio 8\VC\PlatformSDK\include;d:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\include

LIBPATH:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;d:\Program Files\Microsoft
Visual Studio 8\VC\ATLMFC\LIB
Received on Sat Mar 25 2006 - 19:05:52 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET