Opened 12 years ago
Closed 12 years ago
#127 closed Bug (fixed)
compilation of Delphes_V_2.0.3
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Delphes code | Version: | |
Keywords: | Cc: |
Description
Hi,
I am unable to compile Delphes 2.0.3 on Fedora release 17 (Beefy Miracle) out of the box. Working in a clean directory, this is what I get:
$ ./configure
Makefile ready
To build Delphes type
make
$ make
Generating tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.cc
Compiling tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.cc
g++: error: tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.: No such file or directory
make: * [tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.] Error 1
I traced the origin of that error to the location of Makefile.arch on my system: ROOT is centrally installed by RPM and the proper path is /usr/share/root/Makefile.arch, which is not foreseen in the Makefile (even defining ROOTSYS to /usr/share/root).
Cheers,
Christophe.
Change History (13)
comment:1 by , 12 years ago
comment:3 by , 12 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:4 by , 12 years ago
Hi,
I'm sorry if I am intervening in the conversation..but I think about having a similar problem.
I am using Delphes-3.0.1 and root_v5.34.05. I got the following error on the terminal..
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] Errore 1
If you could help me I would be very grateful to you!
F.
comment:5 by , 12 years ago
It looks like your ROOT installation does not include Graph3D package. If I remember well 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.
Could you, please provide some more details on how you installed ROOT and what OS you are using?
comment:6 by , 12 years ago
Thank You for Your reply.
I built ROOT following the "Location independent installation". am I wrong?
I report here the steps of installation.
Location independent installation
You want to install in a generic directory, depending solely on environment variables PATH and LD_LIBRARY_PATH.
Get the sources of the latest ROOT (see above)
Type the build commands:
cd root
./configure --help
./configure [<arch>] [set arch appropriately if no proper default]
(g)make [or, make -j n for n core machines]
After that I add these commands
export ROOTSYS=/home/....../root
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
in the file ".bashrc".
anything wrong?
Thank You in advance.
Cheers
comment:7 by , 12 years ago
I forgot about saying you my OS.. It is
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
thanks.
F.
comment:8 by , 12 years ago
Using "Location independent installation" is OK.
I'm also installing the following packages before building ROOT:
http://cp3.irmp.ucl.ac.be/downloads/packages-ub1204.txt
The command to install them is
apt-get --no-install-recommends install `cat packages-ub1204.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 --enable-xrootd make make install
If your Ubuntu is 64-bit, you can try my ROOT binaries
http://cp3.irmp.ucl.ac.be/downloads/root-5.34.05-ub1204_amd64_gcc46.tgz
comment:9 by , 12 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
comment:10 by , 12 years ago
Thank you for your help.
Now it works, or better..it seems to work. :)
Best,
F.
comment:11 by , 12 years ago
Great!
Which solution you tried prebuilt binaries or ROOT rebuild.
If you have other problems with Delphes, please don't hesitate to contact us.
comment:12 by , 12 years ago
Hi,
I tried to rebuild ROOT using your advice..It works! Thanks a lot once again!
Cheers,
F.
comment:13 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Hi Chris,
Currently makefil.arch is searched in:
Could you try adding :
in the genmakefile (line 213 I think) While pointing rootsys to /usr/share/root as you did ? Each distribution has its own way of installing root, so we have to update this from time to time...
Thanks,
Jerome