Opened 12 years ago
Closed 12 years ago
#120 closed Bug (fixed)
installation problem
Reported by: | fabrice | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Delphes code | Version: | |
Keywords: | Cc: |
Description
Dear Delphes maintainers,
I recently moved from Scientific Linux to Mageia and I don't manage to install Delphes 2.0.3 successfully anymore.
[fabrice@lpsc4008x Delphes_V_2.0.3]$ ./configure
Makefile ready
To build Delphes type
make
[fabrice@lpsc4008x Delphes_V_2.0.3]$ make
Generating tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.cc
Compiling tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.cc
g++: erreur: tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.: Aucun fichier ou dossier de ce type
make: * [tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.] Erreur 1
Translation:
g++: error: tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.: no such file or directory.
It may be due to my version of make (GNU Make 3.82) or of g++ (g++ (GCC) 4.6.3).
Best,
Fabrice
Change History (12)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Hi,
As far as I know, yes, ROOT is properly installed (I can run it) in /usr/share/root.
$ROOTSYS is set to /usr/share/root.
Fabrice
comment:4 by , 12 years ago
I did not compile root myself, but it was done with the same compiler. What could be wrong/undefined? (I am currently using ROOT 5.32/00.)
comment:6 by , 12 years ago
No, $ROOTSYS/lib = /usr/share/root/lib does not exist.
But $LD_LIBRARY_PATH = /usr/lib64/root:/lib
and in /usr/lib64/root there is a lot of .so and .rootmap files and a "python" directory.
Fabrice
comment:7 by , 12 years ago
Ok, that's how packaged ROOT installations should work, no problem on this side.
I'll have to dig a little deeper then, never encountered this error as you guessed. FYI, i'm using:
- gcc version 4.1.2
- GNU Make 3.81
So at least this is not a make version issue (or a very subtile one)
comment:8 by , 12 years ago
Just so you know i don't forget about you:
installing mageia in virtualbox for tests (and for my personal pleasure)
comment:10 by , 12 years ago
This must be a problem with your root installation, as I could compile delphes on mageia 2 without any troubles using a freshly compiled root.
I guess one of your best options is to compile root yourself (30 minutes, 20 if you force multithreading, straightforward). Please let me know which root rpm's you used though, it could help too.
comment:11 by , 12 years ago
Problem solved! It was simple but I missed it.
In the beginning of the Makefile, I have replaced:
-include $(ROOTSYS)/etc/Makefile.arch
-include $(ROOTSYS)/test/Makefile.arch
by:
-include /etc/root/Makefile.arch
-include /usr/share/root/test/Makefile.arch
and now it works fine :-)
Thank you very much for your support.
Best,
Fabrice
comment:12 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Hi,
Is root properly installed on this machine, and $ROOTSYS properly set ?
Jerome