Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This will be the first version we build with VS2005.

How the build was configured on Windows using cygwin and VS2005

Installed cygwin including gcc, make, etc  NOTE:  cygwin's link.exe application must be renamed, so that VC's link will be used for the build.
Obtained ROOT source from their CVS repository using the tag v5.14.00e http://root.cern.ch/twiki/bin/view/ROOT/PatchesV5-14-00Image Added

Downloaded Python 2.5 for windows
We decided to upgrade to Python 2.5 at this point in the Core Meeting from March 13, 2007
We double-checked ROOT's abilty to handle this version of Python and were pleased to find this ROOT forum discussion: http://root.cern.ch/phpBB2/viewtopic.php?t=4359Image Added

Obtained FFTW 3.1.2 from http://www.fftw.org/install/windows.htmlImage Added
downloaded:  libxml2-2.6.15.win32 from Planet Mirror
downloaded gccxml from http://www.gccxml.org/HTML/Index.htmlImage Added

Skipped CERNLIB, Oracle

From the DOS prompt:

set PATH=
set LIB=
set INCLUDE=
and ran c:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat
Then
set ROOTSYS=C:\heather\root514e\root
set PYTHONDIR=C:\Python25
set PYTHONPATH=%ROOTSYS%\bin
set XMLDIR=C:\heather\root514e\libxml2-2.6.15.win32
set ROOTBUILD=opt
set LIB=C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Lib;%LIB%;%ROOTSYS%\lib
set PATH=C:\Python25;%ROOTSYS%\bin;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib;%PATH%;%ROOTSYS%\lib
set INCLUDE=C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\include;%INCLUDE%

Start cygwin via the command line:  bash --login -i
At the cygwin prompt, changed directories to the %ROOTSYS% dir and then ran configure:
./configure win32 --enable-roofit --enable-minuit2 --enable-table \
--enable-python --disable-odbc --enable-gdml \
--enable-unuran --enable-xrootd \
--with-fftw3-incdir=C:/heather/root-5.14d/fftw-3.1.2-dll \
--with-fftw3-libdir=C:/heather/root-5.14d/fftw-3.1.2-dll \
--with-gccxml=C:/heather/root-5.14d/gcc_xml \
--with-xml-incdir=C:/heather/root-5.14d/libxml2-2.6.15.win32/include \
--with-xml-libdir=C:/heather/root-5.14d/libxml2-2.6.15.win32/lib \
--with-python-libdir=C:/Python25/libs \
--with-python-incdir=C:/Python25/include

 
Note that ROOT-central lists the following as their configuration for the win32gdk build (as seen on the page: http://root.cern.ch/root/myconfig/Version514.config.html):Image Added

win32gdk

#import ruby from http://rubyinstaller.rubyforge.org/wiki/wiki.plImage Added
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:$ORACLE/vc71:$ORACLE
export PATH=$ORACLE/vc71:$ORACLE:$HOME/root/bin:.:$PYTHONDIR:$MAINPATH
./configure win32 \
--enable-roofit \
--enable-minuit2 \
--enable-table \
--enable-python \
--enable-odbc \
--enable-gdml \
--enable-unuran \
--enable-xrootd \
--with-fftw3-incdir=$HOME/fftw-3.1.1 \
--with-fftw3-libdir=$HOME/fftw-3.1.1 \
--with-gccxml=$HOME/gccxml/bin \
--with-xml-incdir=$HOME/libxml2-2.6.15.win32/libxml2-2.6.15.win32/include \
--with-xml-libdir=$HOME/libxml2-2.6.15.win32/libxml2-2.6.15.win32/lib \
--enable-oracle \
--with-oracle-incdir=$HOME/instantclient10_1/sdk/include \
--with-oracle-incdir=$HOME/instantclient10_1/sdk/include \
--with-oracle-libdir=$HOME/instantclient10_1/sdk/lib/msvc \
--with-python-incdir=$PYTHONDIR/include \
--with-python-libdir=$PYTHONDIR/libs \
--with-pythia6-libdir=$HOME/pythia6 \
--with-cern-libdir=$HOME/cernlib/2003/lib

renamed cygwin's link.exe to link_cyg.exe: http://root.cern.ch/root/roottalk/roottalk06/1448.htmlImage Added
Avoids cygwin's link app from interfering with the build

make
make cintdlls  (which seems to do nothing)
make map
make installAdd Comment
Powered by Atlassian Confluence, the En