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

 .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=/afs/cern.ch/sw/lcg/external/oracle/10.2.0.2/slc4_ia32_gcc34/include
--with-oracle-libdir=/afs/cern.ch/sw/lcg/external/oracle/10.2.0.2/slc4_ia32_gcc34/lib
--with-mysql-incdir=/afs/cern.ch/sw/lcg/external/mysql/5.0.18/slc4_ia32_gcc34/include
--with-mysql-libdir=/afs/cern.ch/sw/lcg/external/mysql/5.0.18/slc4_ia32_gcc34/lib
--with-dcap-libdir=/afs/cern.ch/sw/lcg/external/dcap/1.2.35/slc4_ia32_gcc34/lib
--with-dcap-incdir=/afs/cern.ch/sw/lcg/external/dcap/1.2.35/slc4_ia32_gcc34/include
--with-gccxml=/afs/cern.ch/sw/lcg/external/gccxml/0.6.0_patch3/slc4_ia32_gcc34/bin
--with-shift-incdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/slc4_ia32_gcc34/usr/include/shift
--with-shift-libdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/slc4_ia32_gcc34/usr/lib
--with-castor-incdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/slc4_ia32_gcc34/usr/include/shift
--with-castor-libdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/slc4_ia32_gcc34/usr/lib
--with-gsl-incdir=/afs/cern.ch/sw/lcg/external/GSL/1.8/slc4_ia32_gcc34/include
--with-gsl-libdir=/afs/cern.ch/sw/lcg/external/GSL/1.8/slc4_ia32_gcc34/lib
--with-fftw3-incdir=/afs/cern.ch/sw/lcg/external/fftw3/3.1.2/slc4_ia32_gcc34/include
--with-fftw3-libdir=/afs/cern.ch/sw/lcg/external/fftw3/3.1.2/slc4_ia32_gcc34/lib

Linux.amd64 slc4.gcc3.4

 .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=/afs/cern.ch/sw/lcg/external/oracle/10.2.0.2/slc4_amd64_gcc34/include
--with-oracle-libdir=/afs/cern.ch/sw/lcg/external/oracle/10.2.0.2/slc4_amd64_gcc34/lib
--with-mysql-incdir=/afs/cern.ch/sw/lcg/external/mysql/5.0.18/slc4_amd64_gcc34/include
--with-mysql-libdir=/afs/cern.ch/sw/lcg/external/mysql/5.0.18/slc4_amd64_gcc34/lib
--with-dcap-libdir=/afs/cern.ch/sw/lcg/external/dcap/1.2.35/slc4_amd64_gcc34/lib
--with-dcap-incdir=/afs/cern.ch/sw/lcg/external/dcap/1.2.35/slc4_amd64_gcc34/include
--with-gccxml=/afs/cern.ch/sw/lcg/external/gccxml/0.6.0_patch3/slc4_amd64_gcc34/bin
--with-shift-incdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/slc4_amd64_gcc34/usr/include/shift
--with-shift-libdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/slc4_amd64_gcc34/usr/lib
--with-castor-incdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/slc4_amd64_gcc34/usr/include/shift
--with-castor-libdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/slc4_amd64_gcc34/usr/lib
--with-gsl-incdir=/afs/cern.ch/sw/lcg/external/GSL/1.8/slc4_amd64_gcc34/include
--with-gsl-libdir=/afs/cern.ch/sw/lcg/external/GSL/1.8/slc4_amd64_gcc34/lib
--with-cern-libdir=/afs/cern.ch/sw/lcg/external/cernlib/2005/slc4_amd64_gcc34/lib
--with-fftw3-incdir=/afs/cern.ch/sw/lcg/external/fftw3/3.1.2/slc4_amd64_gcc34/include
--with-fftw3-libdir=/afs/cern.ch/sw/lcg/external/fftw3/3.1.2/slc4_amd64_gcc34/lib

Linux.slc3.gcc3.2.3

./configure linux \
--fail-on-missing
--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=/afs/cern.ch/sw/lcg/external/oracle/10.2.0.2/slc3_ia32_gcc323/include
--with-oracle-libdir=/afs/cern.ch/sw/lcg/external/oracle/10.2.0.2/slc3_ia32_gcc323/lib
--with-mysql-incdir=/afs/cern.ch/sw/lcg/external/mysql/5.0.18/slc3_ia32_gcc323/include
--with-mysql-libdir=/afs/cern.ch/sw/lcg/external/mysql/5.0.18/slc3_ia32_gcc323/lib
--with-dcap-libdir=/afs/cern.ch/sw/lcg/external/dcap/1.2.35/slc3_ia32_gcc323/lib
--with-dcap-incdir=/afs/cern.ch/sw/lcg/external/dcap/1.2.35/slc3_ia32_gcc323/include
--with-gfal-libdir=/afs/cern.ch/sw/lcg/external/gfal/1.7.7/slc3_ia32_gcc323/lib
--with-gfal-incdir=/afs/cern.ch/sw/lcg/external/gfal/1.7.7/slc3_ia32_gcc323/include
--with-gccxml=/afs/cern.ch/sw/lcg/external/gccxml/0.6.0_patch3/slc3_ia32_gcc323/bin
--with-shift-incdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/slc3_ia32_gcc323/usr/include/shift
--with-shift-libdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/slc3_ia32_gcc323/usr/lib
--with-castor-incdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/slc3_ia32_gcc323/usr/include/shift
--with-castor-libdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/slc3_ia32_gcc323/usr/lib
--with-gsl-incdir=/afs/cern.ch/sw/lcg/external/GSL/1.8/slc3_ia32_gcc323/include
--with-gsl-libdir=/afs/cern.ch/sw/lcg/external/GSL/1.8/slc3_ia32_gcc323/lib
--with-cern-libdir=/afs/cern.ch/sw/lcg/external/cernlib/2005/slc3_ia32_gcc323/lib
--with-fftw3-incdir=/afs/cern.ch/sw/lcg/external/fftw3/3.1.2/slc3_ia32_gcc323/include
--with-fftw3-libdir=/afs/cern.ch/sw/lcg/external/fftw3/3.1.2/slc3_ia32_gcc323/lib

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.8 Intel gcc

./configure macosx \
 --enable-roofit \
 --enable-minuit2 \
 --enable-table \
 --enable-ruby \
 --enable-python \
 --enable-gdml \
 --enable-unuran \
 --enable-odbc \
 --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-fftw3-incdir=$HOME/fftw-3.1.1/api \
 --with-fftw3-libdir=$HOME/fftw-3.1.1/.libs

Mac OS X 10.4.8 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-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-fftw3-incdir=$HOME/fftw-3.1.1/api \
 --with-fftw3-libdir=$HOME/fftw-3.1.1/.libs

Mac OS X 10.4.8 PPC

./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=/afs/cern.ch/sw/lcg/external/oracle/10.2.0.2/osx104_ppc_gcc401/include
--with-oracle-libdir=/afs/cern.ch/sw/lcg/external/oracle/10.2.0.2/osx104_ppc_gcc401/lib
--with-mysql-incdir=/afs/cern.ch/sw/lcg/external/mysql/5.0.18/osx104_ppc_gcc401/include
--with-mysql-libdir=/afs/cern.ch/sw/lcg/external/mysql/5.0.18/osx104_ppc_gcc401/lib
--with-dcap-libdir=/afs/cern.ch/sw/lcg/external/dcap/1.2.35/osx104_ppc_gcc401/lib
--with-dcap-incdir=/afs/cern.ch/sw/lcg/external/dcap/1.2.35/osx104_ppc_gcc401/include
--with-gccxml=/afs/cern.ch/sw/lcg/external/gccxml/0.6.0_patch3/osx104_ppc_gcc401/bin
--with-shift-incdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/osx104_ppc_gcc401/usr/include/shift
--with-shift-libdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/osx104_ppc_gcc401/usr/lib
--with-castor-incdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/osx104_ppc_gcc401/usr/include/shift
--with-castor-libdir=/afs/cern.ch/sw/lcg/external/castor/2.1.1-9/osx104_ppc_gcc401/usr/lib
--with-gsl-incdir=/afs/cern.ch/sw/lcg/external/GSL/1.8/osx104_ppc_gcc401/include
--with-gsl-libdir=/afs/cern.ch/sw/lcg/external/GSL/1.8/osx104_ppc_gcc401/lib
--with-python-incdir=/afs/cern.ch/sw/lcg/external/Python/2.4.2/osx104_ppc_gcc401/include
--with-python-libdir=/afs/cern.ch/sw/lcg/external/Python/2.4.2/osx104_ppc_gcc401/lib/python2.4/config
--with-fftw3-incdir=/afs/cern.ch/sw/lcg/external/fftw3/3.1.2/osx104_ppc_gcc401/include
--with-fftw3-libdir=/afs/cern.ch/sw/lcg/external/fftw3/3.1.2/osx104_ppc_gcc401/lib

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