Error installing 5.17.06 AND 5.17.08

Hi,

I am trying to install v5.17.06 (or .08). But in both cases, after substantial progress with ‘make’, the process dies complaining about TMVA related errors. What is TMVA (and why do I need it?-- the reference guide is sketchy at best root.cern.ch/root/html/TMVA.html)

Here is the relevant message during the Make process :

Generating dictionary tmva/src/G__TMVA.cxx...
utils/src/rootcint_tmp -cint -f tmva/src/G__TMVA.cxx -c include/TMVA/BinarySearchTree.h include/TMVA/BinarySearchTreeNode.h include/TMVA/BinaryTree.h include/TMVA/Config.h include/TMVA/Configurable.h include/TMVA/CrossEntropy.h include/TMVA/DataSet.h include/TMVA/DecisionTree.h include/TMVA/DecisionTreeNode.h include/TMVA/Event.h include/TMVA/Factory.h include/TMVA/FitterBase.h include/TMVA/GeneticAlgorithm.h include/TMVA/GeneticFitter.h include/TMVA/GeneticGenes.h include/TMVA/GeneticPopulation.h include/TMVA/GeneticRange.h include/TMVA/GiniIndex.h include/TMVA/IFitterTarget.h include/TMVA/IMethod.h include/TMVA/IMetric.h include/TMVA/Interval.h include/TMVA/KDEKernel.h include/TMVA/MCFitter.h include/TMVA/MethodANNBase.h include/TMVA/MethodBDT.h include/TMVA/MethodBase.h include/TMVA/MethodBayesClassifier.h include/TMVA/MethodCFMlpANN.h include/TMVA/MethodCFMlpANN_Utils.h include/TMVA/MethodCFMlpANN_def.h include/TMVA/MethodCommittee.h include/TMVA/MethodCuts.h include/TMVA/MethodFDA.h include/TMVA/MethodFisher.h include/TMVA/MethodHMatrix.h include/TMVA/MethodKNN.h include/TMVA/MethodLikelihood.h include/TMVA/MethodMLP.h include/TMVA/MethodPDERS.h include/TMVA/MethodRuleFit.h include/TMVA/MethodSVM.h include/TMVA/MethodSeedDistance.h include/TMVA/MethodTMlpANN.h include/TMVA/MethodVariable.h include/TMVA/Methods.h include/TMVA/MetricEuler.h include/TMVA/MetricManhattan.h include/TMVA/MinuitFitter.h include/TMVA/MinuitWrapper.h include/TMVA/MisClassificationError.h include/TMVA/ModulekNN.h include/TMVA/MsgLogger.h include/TMVA/Node.h include/TMVA/NodekNN.h include/TMVA/Option.h include/TMVA/PDF.h include/TMVA/Ranking.h include/TMVA/Reader.h include/TMVA/RootFinder.h include/TMVA/Rule.h include/TMVA/RuleCut.h include/TMVA/RuleEnsemble.h include/TMVA/RuleFit.h include/TMVA/RuleFitAPI.h include/TMVA/RuleFitParams.h include/TMVA/SdivSqrtSplusB.h include/TMVA/SeedDistance.h include/TMVA/SeparationBase.h include/TMVA/SimulatedAnnealing.h include/TMVA/SimulatedAnnealingFitter.h include/TMVA/TActivation.h include/TMVA/TActivationChooser.h include/TMVA/TActivationIdentity.h include/TMVA/TActivationRadial.h include/TMVA/TActivationSigmoid.h include/TMVA/TActivationTanh.h include/TMVA/TNeuron.h include/TMVA/TNeuronInput.h include/TMVA/TNeuronInputAbs.h include/TMVA/TNeuronInputChooser.h include/TMVA/TNeuronInputSqSum.h include/TMVA/TNeuronInputSum.h include/TMVA/TSpline1.h include/TMVA/TSpline2.h include/TMVA/TSynapse.h include/TMVA/Timer.h include/TMVA/Tools.h include/TMVA/Types.h include/TMVA/VariableDecorrTransform.h include/TMVA/VariableIdentityTransform.h include/TMVA/VariableInfo.h include/TMVA/VariablePCATransform.h include/TMVA/VariableTransformBase.h include/TMVA/Version.h include/TMVA/Volume.h tmva/inc/LinkDef.h
Error: cannot open file "Rtypes.h"  include/TMVA/GeneticGenes.h:37:
Error: cannot open file "TRandom.h"  include/TMVA/GeneticRange.h:37:
Error: cannot open file "Interval.h"  include/TMVA/GeneticRange.h:38:
Error: cannot open file "TRandom.h"  include/TRandom3.h:27:
Error: cannot open file "TMVA/Tools.h"  include/TMVA/MethodBase.h:49:
Error: cannot open file "TString.h"  include/TMVA/TNeuron.h:36:
Error: cannot open file "TObjArray.h"  include/TMVA/TNeuron.h:37:
Error: cannot open file "TFormula.h"  include/TMVA/TNeuron.h:38:
Error: cannot open file "TMVA/TSynapse.h"  include/TMVA/TNeuron.h:41:
Syntax error include/TMVA/TNeuron.h:79:
Syntax error include/TMVA/TNeuron.h:82:
Error: cannot open file "TObject.h"  include/TMVA/TNeuronInput.h:36:
Error: cannot open file "TString.h"  include/TMVA/TNeuronInput.h:37:
Error: cannot open file "TMVA/MethodCFMlpANN_Utils.h"  include/TMVA/MethodCFMlpANN.h:91:
Error: cannot open file "TMatrix.h"  include/TMVA/MethodCFMlpANN.h:94:
Error: class,struct,union or type MethodCFMlpANN_Utils not defined  include/TMVA/MethodCFMlpANN.h:98:
Error: Symbol TMatrix is not defined in current scope  include/TMVA/MethodCFMlpANN.h:164:
Error: Symbol fData is not defined in current scope  include/TMVA/MethodCFMlpANN.h:164:
Error: cannot open file "TMVA/MethodCFMlpANN_def.h"  include/TMVA/MethodCFMlpANN_Utils.h:40:
Error: Symbol max_nVar_ is not defined in current scope  include/TMVA/MethodCFMlpANN_Utils.h:127

... etc etc etc

Here is my config.status

--enable-qt

./configure --enable-qt

Configuring for macosx
Checking for libX11 ... /usr/X11R6/lib
Checking for X11/Xlib.h ... /usr/include
Checking for X11/Xft/Xft.h ... /usr/include
Checking for libXpm ... /usr/X11R6/lib
Checking for libXft ... /usr/X11R6/lib
Checking for libpthread ... /usr/lib
Checking whether to build included libfreetype6 ... yes
Checking whether to build included libftgl ... yes
Checking whether to build included libpcre ... yes
Checking whether to build included zlib ... yes
Checking for GL/gl.h ... /usr/X11R6/include
Checking for libGL, or libMesaGL ... /usr/X11R6/lib
Checking for libGLU, or libMesaGLU ... /usr/X11R6/lib
Checking for mysql_config ... /sw/bin/mysql_config
Checking for libmysqlclient version >= 3.23.* ... ok
Checking for mysql.h ... /sw/include/mysql
Checking for occi.h ... no
Checking for libclntsh, or oci ... no
Checking for libocci, or oraocci10 ... no
Checking for libpq-fe.h ... no
Checking for libpq ... no
Checking for sql.h ... no
Checking for libsqlod ... no
Checking for sqlext.h ... /usr/include
Checking for libiodbc, libodbc, or odbc32 ... /usr/lib
Checking for Qt/qglobal.h ... /Volumes/Xraid1/Users/erdosgrinl//QT4_3/qt-mac-4.3.3/include
 Checking whether 4.3.0 <= Qt version < 5.0.0 under /Volumes/Xraid1/Users/erdosgrinl//QT4_3/qt-mac-4.3.3/include/Qt/qglobal.h  ...
 no
Checking for qt.h ... no
Checking for moc or moc.exe ... no
Checking for rfio_api.h ... no
Checking for librfio, libshift, shiftmd, or shift ... no
Checking for rfio_api.h ... no
Checking for stager_api.h ... no
Checking for libshift, shiftmd, or shift ... no
Checking for gfal_api.h ... no
Checking for libgfal ... no
Checking for G4Navigator.hh ... no
Checking for libG4navigation ... no
Checking for CLHEP/Vector/Rotation.h ... no
Checking for ApMon.h ... no
Checking for libapmoncpp ... no
Checking for monalisawsclient.h ... no
Checking for libmonalisawsclient ... no
Checking for fftw3.h ... no
Checking for libfftw3, or libfftw3-3 ... no
Checking for libpacklib_noshift, libpacklib, packmd, or packlib ... no
Checking for libkernlib_noshift, libkernlib, kernmd, or kernlib ... no
Checking for libPythia6 ... no
Checking for dcap.h ... no
Checking for libdcap ... no
Checking for chirp_client.h ... no
Checking for libchirp_client ... no
Checking for gapiUI.h ... no
Checking for libgapiUI ... no
Checking for jpeglib.h ... no
Checking for png.h ... no
Checking for tiffio.h ... no
Checking for gif_lib.h ... no
Checking for libjpeg ... no
Checking for libtiff ... no
Checking for libungif ... no
Checking for libz ... /usr/lib
Checking for libpng ... no
Checking whether to build included libAfterImage ... yes
Checking for ldap.h ... /usr/include
Checking for libldap ... /usr/lib
Checking for liblber ... /usr/lib
Checking for Python.h ... /sw/include/python2.4
Checking for python2.4, libpython2.4, libpython, python, or Python ... /sw/lib/python2.4/config
Checking for xml2-config ... /sw/bin/xml2-config
Checking for libxml2 version >= 2.4.x ... ok
Checking whether to build xrootd ... yes
Checking for libssl ... /usr/lib
Checking for libcrypto ... /usr/lib
Checking for openssl/bio.h ... /usr/include
Checking for openssl/blowfish.h ... /usr/include
Checking for openssl/err.h ... /usr/include
Checking for openssl/pem.h ... /usr/include
Checking for openssl/rand.h ... /usr/include
Checking for openssl/rsa.h ... /usr/include
Checking for t_server.h ... no
Checking for libsrp ... no
Checking for libgmp ... no
Checking for libmisc ... no
Checking for pwauth.h ... no
Checking for krb5.h ... /usr/include
Checking for libk5crypto ... /usr/lib
Checking whether we're using MIT Kerberos ... yes
Checking for libkrb5 ... /usr/lib
Checking for libcrypto ... /usr/lib
Checking for kinit ... /usr/bin/kinit
Checking for libcom_err ... /usr/lib
Checking for shadow passwords ... no
Checking for gsl/gsl_version.h ... /sw/include
Checking for GSL version >= 1.8 ... no
Checking whether to build libMathMore ... no
Checking whether to build libMathCore ... yes
Checking whether to build CINT7 ... no
Checking whether to build libCintex ... yes
Checking whether to build libReflex ... yes
Checking whether to build libRooFit ... no
Checking whether to build libMinuit2 ... no
Checking whether to build libUnuran ... no
Checking whether to build libGdml ... no
Checking whether to build libTable ... no
Checking for Clarens support ... no
Checking for PEAC support ... no
Generating cint dictionaries.
Writing config/Makefile.config ... done
Writing include/RConfigure.h ... done
Writing bin/root-config ... done
Writing etc/system.rootrc ... done
Writing etc/system.rootauthrc ... done
Writing etc/system.rootdaemonrc ... done
Writing etc/root.mimes ... done
Writing etc/daemons/rootd.rc.d ... done
Writing etc/daemons/rootd.xinetd ... done
Writing etc/daemons/proofd.rc.d ... done
Writing etc/daemons/proofd.xinetd ... done
Writing etc/daemons/xrootd.rc.d ... done
Writing etc/daemons/olbd.rc.d ... done
Writing bin/memprobe ... done
Writing build/misc/root-help.el ... done
Writing macros/html.C ... done
Writing bin/thisroot.sh ... done
Writing bin/thisroot.csh ... done
Writing bin/genreflex ... done
Writing bin/genreflex-rootcint ... done
Writing config.status ... done

Enabled support for asimage, astiff, builtin_afterimage, builtin_ftgl, builtin_freetype, builtin_pcre, builtin_zlib, cintex, excep
tions, krb5, ldap, mathcore, mysql, odbc, opengl, pch, python, reflex, shared, ssl, xft, xml, xrootd.

To build ROOT type:

   make

Here is the relevant part of my .profile

export ROOTSYS=/Volumes/Xraid1/Users/erdosgrinl/root
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=$ROOTSYS/lib:$DYLD_LIBRARY_PATH



#setup QT3MAC
export QTDIR=/Volumes/Xraid1/Users/erdosgrinl//QT4_3/qt-mac-4.3.3
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=$QTDIR/lib:$DYLD_LIBRARY_PATH

export QTROOTSYSDIR=$ROOTSYS

Incidentally, I am trying to install root with qt support. I installed qt4.3 just fine. However, the configure message does not indicate if I have everything needed for the installation or not (QT related that is). In fact, it says that ‘moc’ is not present but I know for a fact that it is there…

Thanks in advance and sorry about the grumpy post
erdos

Mac OSX (10.4.11) PPC
gcc: v4.0.1
Root: undecided/independent

It looks like you have been messing around with different configurations. The only thing that I can suggest is to do
make distclean
make

I do not see what could be the impact of running with QT. In case the solution above produces the same error, I suggest to do
make distclean
./configure
make

TMVA is a Multi Variate Analysis package, particularly well documented at
root.cern.ch/root/html/TMVA_Index.html
If you do not want to compile TMVA, configure with
./configure --disable-TMVA

Rene