Configuration files

This page shows the how ROOT was build for the different platforms.

You can use root-config --config to see all options passed to ./configure. From version 5.11 onwards you can in addition use root-config --features to see all supported features of the specific ROOT install. The feature list is a combination of the explicit features specified via ./configure arguments, the features specified via environment variables and found via auto-detection.


Linux.slc4.gcc3.4

 export SPI_TOPDIR="/afs/cern.ch/sw/lcg/external"
 export SPI_PLATFORM="slc4_ia32_gcc34"
 export SPI_DCAPDIR="$SPI_TOPDIR/dcap/1.2.35/${SPI_PLATFORM}"
 export SPI_SHIFTDIR="$SPI_TOPDIR/castor/2.1.1-9/${SPI_PLATFORM}/usr"
 export SPI_CASTORDIR="$SPI_TOPDIR/castor/2.1.1-9/${SPI_PLATFORM}/usr"
 export ORACLEDIR="$SPI_TOPDIR/oracle/10.2.0.2/${SPI_PLATFORM}"
 export MYSQLDIR="$SPI_TOPDIR/mysql/5.0.18/${SPI_PLATFORM}"
 export QTDIR="$SPI_TOPDIR/qt/3.3.4/${SPI_PLATFORM}"
 export GCCXMLDIR="$SPI_TOPDIR/gccxml/0.6.0_patch3/${SPI_PLATFORM}/bin"
 export GSLDIR="$SPI_TOPDIR/GSL/1.8/${SPI_PLATFORM}"
 export PYTHON_VERSION="2.4"
 export SPI_PYTHON_ROOT="$SPI_TOPDIR/Python/2.4.2/$SPI_PLATFORM"
 export PATH="$SPI_PYTHON_ROOT/bin:${QTDIR}/bin:$PATH"
 export LD_LIBRARY_PATH="$SPI_PYTHON_ROOT/lib:$LD_LIBRARY_PATH"
 export PYTHONPATH="$SPI_PYTHON_ROOT/lib:$PYTHONPATH"
 export PYTHONDIR="$SPI_PYTHON_ROOT"


 .configure \
 --enable-unuran \
 --enable-table \
 --disable-builtin-pcre \
 --disable-builtin-freetype \
 --enable-qtgsi \
 --enable-oracle \
 --enable-mysql \
 --enable-python \
 --enable-explicitlink \
 --enable-qt \
 --enable-mathcore \
 --enable-mathmore \
 --enable-reflex \
 --enable-cintex \
 --enable-minuit2 \
 --enable-roofit \
 --with-oracle-incdir=${ORACLEDIR}/include \
 --with-oracle-libdir=${ORACLEDIR}/lib \
 --with-mysql-incdir=${MYSQLDIR}/include \
 --with-mysql-libdir=${MYSQLDIR}/lib \
 --with-dcap-libdir=${SPI_DCAPDIR}/lib \
 --with-dcap-incdir=${SPI_DCAPDIR}/include \
 --with-gccxml=${GCCXMLDIR} \
 --with-shift-incdir=${SPI_SHIFTDIR}/include/shift \
 --with-shift-libdir=${SPI_SHIFTDIR}/lib \
 --with-castor-incdir=${SPI_CASTORDIR}/include/shift \
 --with-castor-libdir=${SPI_CASTORDIR}/lib \
 --with-gsl-incdir=${GSLDIR}/include \
 --with-gsl-libdir=${GSLDIR}/lib"

Linux.amd64 slc4.gcc3.4

 export SPI_TOPDIR="/afs/cern.ch/sw/lcg/external"
 export SPI_PLATFORM="slc4_amd64_gcc34"
 export SPI_DCAPDIR="$SPI_TOPDIR/dcap/1.2.35/${SPI_PLATFORM}"
 export SPI_SHIFTDIR="$SPI_TOPDIR/castor/2.1.1-9/${SPI_PLATFORM}/usr"
 export SPI_CASTORDIR="$SPI_TOPDIR/castor/2.1.1-9/${SPI_PLATFORM}/usr"
 export ORACLEDIR="$SPI_TOPDIR/oracle/10.2.0.2/${SPI_PLATFORM}"
 export MYSQLDIR="$SPI_TOPDIR/mysql/5.0.18/${SPI_PLATFORM}"
 export QTDIR="$SPI_TOPDIR/qt/3.3.4/${SPI_PLATFORM}"
 export GCCXMLDIR="$SPI_TOPDIR/gccxml/0.6.0_patch3/${SPI_PLATFORM}/bin"
 export GSLDIR="$SPI_TOPDIR/GSL/1.8/${SPI_PLATFORM}"

 .configure \
 --enable-unuran \
 --enable-table \
 --disable-builtin-pcre \
 --disable-builtin-freetype \
 --enable-qtgsi \
 --enable-oracle \
 --enable-mysql \
 --enable-python \
 --enable-explicitlink \
 --enable-qt \
 --enable-mathcore \
 --enable-mathmore \
 --enable-reflex \
 --enable-cintex \
 --enable-minuit2 \
 --enable-roofit \
 --with-oracle-incdir=${ORACLEDIR}/include \
 --with-oracle-libdir=${ORACLEDIR}/lib \
 --with-mysql-incdir=${MYSQLDIR}/include \
 --with-mysql-libdir=${MYSQLDIR}/lib \
 --with-dcap-libdir=${SPI_DCAPDIR}/lib \
 --with-dcap-incdir=${SPI_DCAPDIR}/include \
 --with-gccxml=${GCCXMLDIR} \
 --with-shift-incdir=${SPI_SHIFTDIR}/include/shift \
 --with-shift-libdir=${SPI_SHIFTDIR}/lib \
 --with-castor-incdir=${SPI_CASTORDIR}/include/shift \
 --with-castor-libdir=${SPI_CASTORDIR}/lib \
 --with-gsl-incdir=${GSLDIR}/include \
 --with-gsl-libdir=${GSLDIR}/lib"

Linux.slc3.gcc3.2.3

./configure linux \
 --enable-roofit \
 --enable-minuit2 \
 --enable-table \
 --enable-qt \
 --enable-qtgsi \
 --enable-rfio \
 --enable-ruby \
 --enable-unuran \
 --enable-python \
 --with-python-incdir=$PYTHONDIR/include/python2.3 \
 --with-python-libdir=$PYTHONDIR \
 --with-gsl-incdir=$HOME/w0/rootslc3i386/gsl-1.8/include \
 --with-gsl-libdir=$HOME/w0/rootslc3i386/gsl-1.8/lib \
 --enable-odbc \
 --with-odbc-incdir=$HOME/w0/rootslc3i386/odbc/include \
 --with-odbc-libdir=$HOME/w0/rootslc3i386/odbc/lib \
 --with-fftw3-incdir=$HOME/w0/rootslc3i386/fftw-3.1.1/api \
 --with-fftw3-libdir=$HOME/w0/rootslc3i386/fftw-3.1.1/.libs \
 --with-oracle-incdir=/afs/cern.ch/project/oracle/instantclient/10.2.0.1/slc3_ia32_gcc323/sdk/include \
 --with-oracle-libdir=/afs/cern.ch/sw/lcg/external/oracle/10.2.0.1/slc3_ia32_gcc323/lib \
 --with-pythia6-libdir=$HOME/w0/rootslc3i386/pythia6 \
 --with-cern-libdir=/afs/cern.ch/sw/packages/cern/2003/cel3-i386_gcc323/lib \
 --with-shift-libdir=$HOME/w0/rootslc3i386/castor-2.1.0/lib \
 --with-shift-incdir=$HOME/w0/rootslc3i386/castor-2.1.0/h \
 --with-dcap-libdir=/afs/cern.ch/sw/root/d-cache/dcap/lib \
 --with-dcap-incdir=/afs/cern.ch/sw/root/d-cache/dcap/include \
 --with-mysql-libdir=/afs/cern.ch/sw/lcg/external/mysql/4.1.8a/slc3_ia32_gcc323/lib \
 --with-mysql-incdir=/afs/cern.ch/sw/lcg/external/mysql/4.1.8a/slc3_ia32_gcc323/include

Linux.slc3.gcc3.4.3

./configure linux \
 --enable-roofit \
 --enable-minuit2 \
 --enable-explicitlink \
 --enable-table \
 --enable-python \
 --enable-qt \
 --disable-krb5 \
 --enable-ruby \
 --with-fftw3-incdir=$HOME/fftw-3.1.1/api \
 --with-fftw3-libdir=$HOME/fftw-3.1.1/.libs \
 --with-python-incdir=$HOME/Python-2.3.4/include/python2.3 \
 --with-python-libdir=$HOME/Python-2.3.4 \
 --enable-odbc \
 --with-odbc-incdir=$HOME/odbc/include \
 --with-odbc-libdir=$HOME/odbc/lib \
 --with-pythia6-libdir=$HOME/pythia6 \
 --with-cern-libdir=$HOME/cern/2005/lib \
 --with-mysql-libdir=$HOME/mysql/lib/mysql \
 --with-mysql-incdir=$HOME/mysql/include/mysql \
 --with-dcap-libdir=$HOME/dcap-1.2.30/lib \
 --with-dcap-incdir=$HOME/dcap-1.2.30/include

Linux.FedoraCore3_amd64.gcc3.4.3

#when configuring fft, do ./configure CFLAGS=-fPIC
./configure \
 --enable-roofit \
 --enable-minuit2 \
 --enable-table \
 --enable-rfio \
 --enable-unuran \
 --enable-gdml \
 --enable-ldap \
 --with-fftw3-incdir=$HOME/fftw-3.1.1/api \
 --with-fftw3-libdir=$HOME/fftw-3.1.1/.libs \
 --enable-qt \
 --enable-qtgsi \
 --enable-python \
 --enable-odbc \
 --with-odbc-incdir=$HOME/odbc/include \
 --with-odbc-libdir=$HOME/odbc/lib \
 --with-gsl-incdir=$HOME/gsl-1.8/include \
 --with-gsl-libdir=$HOME/gsl-1.8/lib \
 --with-pythia6-libdir=$HOME/pythia6 \
 --with-mysql-libdir=$HOME/mysql/lib/mysql \
 --with-mysql-incdir=$HOME/mysql/include/mysql \
 --with-shift-libdir=$HOME/castor-2.1.0/lib \
 --with-shift-incdir=$HOME/castor-2.1.0/h \
 --with-dcap-libdir=/afs/cern.ch/sw/root/d-cache/dcap/lib \
 --with-dcap-incdir=/afs/cern.ch/sw/root/d-cache/dcap/include

Linux.RH9.0.gcc32

./configure linux \
 --enable-alien \
 --enable-castor \
 --enable-roofit \
 --enable-minuit2 \
 --enable-table \
 --enable-ldap \
 --enable-qt \
 --enable-qtgsi \
 --enable-gdml \
 --enable-unuran \
 --enable-rfio \
 --enable-ruby \
 --enable-python \
 --with-python-incdir=$PYTHONDIR/include/python2.3 \
 --with-python-libdir=$PYTHONDIR \
 --with-gsl-incdir=$HOME/gsl-1.8/include \
 --with-gsl-libdir=$HOME/gsl-1.8/lib \
 --enable-odbc \
 --with-odbc-incdir=$HOME/odbc/include \
 --with-odbc-libdir=$HOME/odbc/lib \
 --with-fftw3-incdir=$HOME/fftw-3.1.1/api \
 --with-fftw3-libdir=$HOME/fftw-3.1.1/.libs \
 --with-pythia6-libdir=$HOME/pythia6 \
 --with-venus-libdir=$HOME/venus \
 --with-cern-libdir=$HOME/cern/pro/lib \
 --with-mysql-libdir=$HOME/mysql/lib/mysql \
 --with-mysql-incdir=$HOME/mysql/include/mysql \
 --with-dcap-libdir=$HOME/d-cache/dcap/lib \
 --with-dcap-incdir=$HOME/d-cache/dcap/include \
 --with-shift-libdir=$HOME/castor-2.1.0/lib \
 --with-shift-incdir=$HOME/castor-2.1.0/h

Mac OS X 10.4.5 Intel gcc

./configure macosx \
 --enable-roofit \
 --enable-minuit2 \
 --enable-table \
 --enable-ruby \
 --enable-python \
 --enable-gdml \
 --enable-unuran \
 --enable-odbc \
 --with-pythia6-libdir=$HOME/pythia6 \
 --with-mysql-libdir=$HOME/mysql/lib/mysql \
 --with-mysql-incdir=$HOME/mysql/include/mysql \
 --with-fftw3-incdir=$HOME/fftw-3.1.1/api \
 --with-fftw3-libdir=$HOME/fftw-3.1.1/.libs

Mac OS X 10.4.5 Intel icc

./configure macosxicc \
 --enable-roofit \
 --enable-minuit2 \
 --enable-table \
 --disable-python \
 --enable-gdml \
 --enable-unuran \
 --enable-odbc \
 --with-odbc-incdir=$HOME/odbc/include \
 --with-odbc-libdir=$HOME/odbc/lib \
 --with-pythia6-libdir=$HOME/pythia6 \
 --with-mysql-libdir=$HOME/mysql/lib/mysql \
 --with-mysql-incdir=$HOME/mysql/include/mysql \
 --with-fftw3-incdir=$HOME/fftw-3.1.1/api \
 --with-fftw3-libdir=$HOME/fftw-3.1.1/.libs

Mac OS X 10.4.5 PPC

./configure \
--enable-table \
--enable-pythia6

OSF1.V5.1.cxx6

./configure alphacxx6 \
 --disable-xml \
 --enable-mathcore \
 --enable-mathmore \
 --enable-reflex \
 --enable-cintex \
 --enable-roofit \
 --enable-minuit2 \
 --enable-table \
 --disable-ldap \
 --disable-shared \
 --with-cern-libdir=/cern/2002/lib \
 --with-xpm-libdir=$XPM \
 --with-pythia-libdir=$HOME/pythia \
 --with-pythia6-libdir=$HOME/pythia6 \
 --with-shift-libdir=$HOME/shift/lib \
 --with-shift-incdir=$HOME/shift/h

SunOS.5.9

./configure solarisCC5 \
 --enable-roofit \
 --enable-minuit2 \
 --disable-ldap \
 --enable-thread \
 --enable-gdml \
 --enable-table \
 --enable-unuran \
 --with-gsl-incdir=$HOME/w0/rootsun9/gsl-1.8/include \
 --with-gsl-libdir=$HOME/w0/rootsun9/gsl-1.8/lib \
 --with-fftw3-incdir=$HOME/w0/rootsun9/fftw-3.1.1/api \
 --with-fftw3-libdir=$HOME/w0/rootsun9/fftw-3.1.1/.libs \
 --with-pythia6-libdir=$HOME/w0/rootsun9/pythia6 \
 --with-mysql-libdir=$HOME/w0/rootsun9/mysql-3.23.42-sun-solaris2.7-sparc/lib \
 --with-mysql-incdir=$HOME/w0/rootsun9/mysql-3.23.42-sun-solaris2.7-sparc/include \
 --with-cern-libdir=/afs/cern.ch/asis/sun4x_59/cern/pro/lib \
 --with-shift-libdir=$HOME/w0/rootsun9/shift/lib \
 --with-shift-incdir=$HOME/w0/rootsun9/shift/h

win32gdk.debug

#import ruby from http://rubyinstaller.rubyforge.org/wiki/wiki.pl
export ROOTBUILD=debug
export ROOTSYS='c:\cygwin\home\brun\rootdebug\root'
export PYTHONDIR=/cygdrive/c/Python23
export PYTHONPATH='c:\cygwin\home\brun\rootdebug\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

win32gdk

#import ruby from http://rubyinstaller.rubyforge.org/wiki/wiki.pl
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

win32gcc

export PYTHIA6=$HOME/rootgcc/pythia6
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
./configure win32gcc \
 --enable-roofit \
 --enable-minuit2 \
 --enable-table \
 --enable-mysql \
 --enable-gdml \
 --enable-unuran \
 --enable-ruby \
 --with-pythia6-libdir=$PYTHIA6 \
 --with-cern-libdir=$CERNLIB

AIX.5

export XPM=$HOME/Xpm
./configure aix5 \
 --enable-mathcore \
 --enable-mathmore \
 --enable-reflex \
 --enable-cintex \
 --enable-roofit \
 --enable-minuit2 \
 --disable-cern \
 --disable-python \
 --disable-shared \
 --with-xpm-libdir=$HOME/Xpm \
 --with-opengl-incdir=$HOME/Mesa/include \
 --with-opengl-libdir=$HOME/Mesa/lib \
 --with-pythia6-libdir=$HOME/pythia6

HP-UX.B.10.20.aCC

./configure hpuxacc \
 --enable-table \
 --with-pythia6-libdir=$HOME/rootacc/pythia6 \
 --with-cern-libdir=/cern/pro/lib \
 --with-shift-libdir=$HOME/rootacc/shift/lib \
 --with-shift-incdir=$HOME/rootacc/shift/h

IRIX.6.5.cc

./configure sgicc \
 --with-pythia6-libdir=$HOME/pythia6 \
   --disable-opengl

IRIX.6.5.gcc

./configure sgiegcs \
 --with-pythia6-libdir=$HOME/pythia6 \
   --disable-opengl

IRIX.6.5.kcc

./configure sgikcc \
 --with-pythia6-libdir=$HOME/pythia6 \
   --disable-opengl


Rene Brun, Fons Rademakers
Last update 11/07/2006 by RB