You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Requirements

Optional

Setting up

Once you have the ROOT source 

From the a DOS prompt, set path to "" (set PATH=) and run vsvars32.bat located with the VS2003 installation.  Next update the following environment variables:

  • ROOTSYS to point to the root directory containing the source code
  • added Python to the path as well as %ROOTSYS%/lib and %ROOTSYS%/bin.
  • Updated the LIB env variable to include %ROOTSYS\lib
  • For release build set ROOTBUILD=opt, for debug set to debug
    • Note for debug, we may want to be sure the /MDd flag is set, it should be once ROOTBUILD is set to debug (should check that this is equivalent to setting --build=debug in configure)
  • Set PYTHONDIR to the top level python directory
  • set PYTHONPATH to %ROOTSYS%\bin
  • set XMLDIR to point to the xml installation

Start cygwin via the command line:  bash --login -i
At the cygwin prompt, changed directories to the %ROOTSYS% directory.

Configuration

Before calling make, we must run configure.  It is often helpful to consider the configuration utilized in the ROOT distribution for the various platforms.

At this time, we at least require:  xrootd, minuit2, python 

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

Run make 

make
make cintdlls  (which seems to do nothing)
make map (also seems to do nothing)
make install

  • No labels