Re: [ROOT] Windows Installation Problem

From: Rene Brun (brun@pcbrun.cern.ch)
Date: Mon Nov 22 2004 - 22:14:46 MET


Hi Richard,

When running with win32gcc you should define all your variables in teh 
Unix way. For example my setup for win32gcc looks like

export PYTHIA6=$HOME/rootgcc/usr/local/lib
export CERNLIB=$HOME/rootgcc/opt/cern/2003/lib
export ROOTSYS=$HOME/rootgcc/root
export MAINPATH=~/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin
export PYTHONDIR=/usr/local
export ICONVDIR=/cygdrive/c/cygwin
export PYTHONPATH=$ROOTSYS/lib
export PATH=.:$ROOTSYS/bin:$MAINPATH
export LD_LIBRARY_PATH=.:$ROOTSYS/lib
cd $ROOTSYS
echo $ROOTSYS


If you run with win32gdk (using VC++7.1) you must define all your 
variables a la Windows, eg:

export ROOTBUILD=opt
export ROOTSYS='c:\cygwin\home\brun\root'
export PYTHONDIR=/cygdrive/c/Python23
export PYTHONPATH='c:\cygwin\home\brun\root\bin'
export XMLDIR=$HOME/libxml2-2.6.9
export PATH=`/usr/bin/cygpath -u $ROOTSYS`/bin:.:$PYTHONDIR:$MAINPATH
cd $ROOTSYS


Rene Brun

On 
Mon, 22 Nov 
2004, 
Richard J White wrote:

> Dear all,
> 
>  I am trying to install Root 4.01/04 from source on Windows XP running the
> latest version of cygwin. I have followed axel's instructions from
> http://www.muenster.de/~naumana/win32gcc.html, stating:
> 
> cd /cygdrive/c
> tar xzvf /cygdrive/c/install/root....tar.gz
> cd root
> export ROOTSYS=$PWD
> ./configure win32gcc --build=debug
> make
> make map
> \ls bin/*.dll bin/*.exe | rebaseall -T -
> 
> all goes well until the last command, where I recive:
> 
> ReBaseImage (/usr/bin/cygexpat-0.dll) failed with last error = 6
> 
> I ignore this and continue, defining my enviromental parameters in .bash_profile
> by adding:
> 
> export PATH=$PATH:/c/WINDOWS/system32:/c/WINDOWS
> #
> # ROOT
> #
> export ROOTSYS='c:\root'   # must be in DOS format (change path!)
> export PATH=`cygpath -u $ROOTSYS`/bin:$PATH
> 
> 
> I run startx followed by root. The splash screen appears, then the Xterm
> freezes and I recieve:
> 
> $ root
>       4 [main] ? 2232 cygheap_fixup_in_child: Couldn't reserve 9891540 bytes of
> space for cygwin's heap (0x61790000 <0xA10000>) in child, Win32 error 487
> c:\root\bin\root_exe.exe (2232): *** m.AllocationBase 0x613C0000, m.BaseAddress
> 0x61790000, m.RegionSize 0x19000, m.State 0x1000
> 
> 
> Any ideas?
> 
> Kind Regards,
> 
> Richard White
> 



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