Re: [ROOT] Problems running root under cygwin

From: Axel Naumann (naumann@hef.ru.nl)
Date: Thu Dec 02 2004 - 18:11:25 MET


Hi Valeri,

> Make sure you can properly treat the Win32GDK CPP flags intended to
> communicate WIN32 API directly.
> 
> Gcc compiler under Cygwin may not handle it properly.

That's why it doesn't see any of those. This has _nothing_ to do with 
the cygheap problem, sorry. I know where it comes from, I just need to 
think of a way to prevent it.
Axel.


> ----
> Best regards
>                    Valeri
> 
> 
> 
>>-----Original Message-----
>>From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]
> 
> On
> 
>>Behalf Of Axel Naumann
>>Sent: Thursday, December 02, 2004 10:34 AM
>>To: HP Beck
>>Cc: Roottalk
>>Subject: Re: [ROOT] Problems running root under cygwin
>>
>>Hi HansPeter,
>>this problem is currently under investigation; you can follow the
>>progress here: http://root.cern.ch/phpBB2/viewtopic.php?t=1382
>>Axel.
>>
>>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/syste
> m32:
> 
>>/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