Fork me on GitHub

Opened 12 years ago

Closed 12 years ago

#168 closed How to (fixed)

Installation error for Delphes-3.0.5

Reported by: cwillis Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Hi everyone,

I'm trying to install Delphes-3.0.5 on Scientific Linux 6. After untaring the download, I run make and get this:

Generating tmp/classes/ClassesDict.cc

Error: cannot open file "TEveCaloData.h" classes/DelphesCaloData.h:5:
Error: class,struct,union or type TEveCaloDataVec not defined classes/DelphesCaloData.h:7:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing tmp/classes/ClassesDict.cc tmp/classes/ClassesDict.h !!!
Error: rootcint: error loading headers...
make: * [tmp/classes/ClassesDict.cc] Error 1

I have the last version of root installed (5.34.00) and I think I've set up my paths correctly in my .bashrc.

export ROOTSYS=/work/raida/willisc/ROOT/root
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
source /work/raida/willisc/ROOT/root/bin/thisroot.sh

Any ideas? Thanks for you time.

Cheers,
Chris

Change History (3)

comment:1 by Pavel Demin, 12 years ago

It looks like your ROOT installation does not include Graph3D package. Normally, this package is automatically enabled when building ROOT. But it's possible that your system does not have all the dependencies (most probably OpenGL) for this package.

I'm installing the following packages before building ROOT:

http://cp3.irmp.ucl.ac.be/downloads/packages-sl6.txt

The command to install them is

yum install `cat packages-sl6.txt`

and the commands that I'm using to build ROOT are

version=5.34.05
export ROOTSYS=/opt/root/root-${version}

wget ftp://root.cern.ch/root/root_v${version}.source.tar.gz
tar zxf root_v${version}.source.tar.gz

cd root
./configure linuxx8664gcc --enable-gdml --enable-ldap --enable-minuit2 --enable-mysql --enable-qt --enable-qtgsi --enable-roofit --enable-table --enable-unuran
make
make install

If your Scientific Linux 6 is 64-bit, you can try my ROOT binaries

http://cp3.irmp.ucl.ac.be/downloads/root-5.34.05-sl6_amd64_gcc44.tgz

comment:2 by cwillis, 12 years ago

Way cool, pavel. This fixed my problem. I installed the following packages you suggested and recompiled root.

Thanks very much.

Cheers,
Chris

comment:3 by Pavel Demin, 12 years ago

Resolution: fixed
Status: newclosed

Glad to know that it worked.

Thanks for your feedback.

Cheers,

Pavel

Note: See TracTickets for help on using tickets.