Re: [ROOT] Problems running root under cygwin

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Dec 02 2004 - 18:08:11 MET


Hi HansPeter,

I assume that you are running with a recent CYGWIN.
Could you try the following:

  root -b
Do you get the prompt?

if yes, then you may have a problem with X11. Did you startx ?
I assume that you run in a window/xterm under X11.

If you have called startx and run in a valid X11 window, check now 
your PATH. I suggest removing one by one the /cygdrive/c/Program Files
from the PATH.

Feel free to come to my office if you want to compare your setup with mine.

Rene brun


HP Beck wrote:
> 
> Dear Root'ers
> 
> I  compiled root 4.01.04 on my WindowsXP Professional SP2 running cygwin.
> Following Axel's cookbook, compilation run flawlessly.
> My LD_LIBRARY_PATH, PATH and ROOTSYS seem to be OK:
> 
> LD_LIBRARY_PATH    /root/lib:/lib:
> PATH
> /usr/lib/subversion/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:\
> 
> /root/bin:/bin:.:/root/bin:/usr/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:\
>             /cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program
> Files/ATI Technologies/ATI Control Panel
> ROOTSYS   /root
> 
> However, running root doesn't work.
> The splash-screen appears, as it should, but that's also all of the good
> news.
> My xterm window shows then following message
>  >root
>       2 [main] ? 772 cygheap_fixup_in_child: Couldn't reserve 9891540
> bytes of space for cygwin's heap (0x61790000 <0xAD0000>) in child, Win32
> error 487
> D:\cygwin\root\bin\root_exe.exe (772): *** m.AllocationBase 0x0,
> m.BaseAddress 0x61790000, m.RegionSize 0x40000, m.State 0x10000
> 
> When I install the pre-compiled version from
> ftp://root.cern.ch/root/root_v4.01.04.win32gcc.tar.gz, then root works
> just fine.
> So - there must be some additional trick missing in Axel's cookbook.
> 
> btw - 4.00.08 shows the same behaviour.
> 
> Any idea out there?
> 
> kind regards
> HansPeter



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET