[Gate-users] Re : Failed to install lmf_v3.0 in gate_v6.0.0
Samuel BURG
samuel_burg at yahoo.fr
Sun Dec 5 15:47:58 CET 2010
>> make: root-config : commande introuvable
you have not set the environment variable as it should
or you have not install root at all
-----------------------------------------------------------
Samuel Burg
Mail : <samuel_burg at yahoo.fr>
-----------------------------------------------------------
"Aw, come on, who would be so stupid as to insert a cast
to make an error go away without actually fixing the error?"
Apparently everyone.
-- Raymond Chen --
-----------------------------------------------------------
________________________________
De : ZERGOUG Ismail <zergoug.ismail at gmail.com>
À : gate-users at lists.opengatecollaboration.org
Envoyé le : Sam 4 décembre 2010, 20h 38min 50s
Objet : [Gate-users] Failed to install lmf_v3.0 in gate_v6.0.0
Dear Gaters,
I am trying to install lmf_v3.0 lib in gate_v6.0.0 but i meet a problem:
~/Gate/lmf_v3.0$ make
make: root-config : commande introuvable
gcc -I./includes/ -D_FILE_OFFSET_BITS=64 -fPIC -c -o obj/outputRootMgr.o
src/outputRootMgr.cc
src/outputRootMgr.cc:30:19: erreur: TFile.h : Aucun fichier ou dossier de ce
type
src/outputRootMgr.cc:31:19: erreur: TTree.h : Aucun fichier ou dossier de ce
type
src/outputRootMgr.cc:36: erreur: expected initializer before ‘*’ token
src/outputRootMgr.cc:37: erreur: expected initializer before ‘*’ token
src/outputRootMgr.cc: In function ‘void outputRoot(const ENCODING_HEADER*, const
EVENT_HEADER*, const GATE_DIGI_HEADER*, const EVENT_RECORD*)’:
src/outputRootMgr.cc:45: erreur: ‘Double_t’ was not declared in this scope
src/outputRootMgr.cc:45: erreur: expected `;' before ‘ownTime’
src/outputRootMgr.cc:46: erreur: ‘Int_t’ does not name a type
src/outputRootMgr.cc:47: erreur: expected `;' before ‘timeMillis’
src/outputRootMgr.cc:48: erreur: ‘Float_t’ was not declared in this scope
src/outputRootMgr.cc:48: erreur: expected `;' before ‘timeOfFlight’
src/outputRootMgr.cc:51: erreur: ‘Int_t’ was not declared in this scope
src/outputRootMgr.cc:51: erreur: expected `;' before ‘gantryAngularPos’
src/outputRootMgr.cc:52: erreur: expected `;' before ‘sector’
src/outputRootMgr.cc:53: erreur: expected `;' before ‘sector1’
src/outputRootMgr.cc:56: erreur: expected `;' before ‘radial’
src/outputRootMgr.cc:58: erreur: expected `;' before ‘energy’
src/outputRootMgr.cc:59: erreur: expected `;' before ‘neighb’
src/outputRootMgr.cc:66: erreur: ‘pRootFile’ was not declared in this scope
src/outputRootMgr.cc:66: erreur: expected type-specifier before ‘TFile’
src/outputRootMgr.cc:66: erreur: expected `;' before ‘TFile’
src/outputRootMgr.cc:68: erreur: ‘lmfTree’ was not declared in this scope
src/outputRootMgr.cc:68: erreur: expected type-specifier before ‘TTree’
src/outputRootMgr.cc:68: erreur: expected `;' before ‘TTree’
src/outputRootMgr.cc:69: erreur: ‘nevt’ was not declared in this scope
src/outputRootMgr.cc:70: erreur: ‘timeMillis’ was not declared in this scope
src/outputRootMgr.cc:71: erreur: ‘timeOfFlight’ was not declared in this scope
src/outputRootMgr.cc:72: erreur: ‘sector’ was not declared in this scope
src/outputRootMgr.cc:73: erreur: ‘module’ was not declared in this scope
src/outputRootMgr.cc:74: erreur: ‘submodule’ was not declared in this scope
src/outputRootMgr.cc:75: erreur: ‘crystal’ was not declared in this scope
src/outputRootMgr.cc:76: erreur: ‘layer’ was not declared in this scope
src/outputRootMgr.cc:77: erreur: ‘sector1’ was not declared in this scope
src/outputRootMgr.cc:78: erreur: ‘module1’ was not declared in this scope
src/outputRootMgr.cc:79: erreur: ‘submodule1’ was not declared in this scope
src/outputRootMgr.cc:80: erreur: ‘crystal1’ was not declared in this scope
src/outputRootMgr.cc:81: erreur: ‘layer1’ was not declared in this scope
src/outputRootMgr.cc:83: erreur: ‘energy’ was not declared in this scope
src/outputRootMgr.cc:84: erreur: ‘energy1’ was not declared in this scope
src/outputRootMgr.cc:87: erreur: ‘gantryAngularPos’ was not declared in this
scope
src/outputRootMgr.cc:90: erreur: ‘gantryAxialPos’ was not declared in this scope
src/outputRootMgr.cc:93: erreur: ‘lmfTree’ was not declared in this scope
src/outputRootMgr.cc:93: erreur: expected type-specifier before ‘TTree’
src/outputRootMgr.cc:93: erreur: expected `;' before ‘TTree’
src/outputRootMgr.cc:94: erreur: ‘nevt’ was not declared in this scope
src/outputRootMgr.cc:95: erreur: ‘ownTime’ was not declared in this scope
src/outputRootMgr.cc:96: erreur: ‘sector’ was not declared in this scope
src/outputRootMgr.cc:97: erreur: ‘module’ was not declared in this scope
src/outputRootMgr.cc:98: erreur: ‘submodule’ was not declared in this scope
src/outputRootMgr.cc:99: erreur: ‘crystal’ was not declared in this scope
src/outputRootMgr.cc:100: erreur: ‘layer’ was not declared in this scope
src/outputRootMgr.cc:101: erreur: ‘radial’ was not declared in this scope
src/outputRootMgr.cc:102: erreur: ‘tangential’ was not declared in this scope
src/outputRootMgr.cc:103: erreur: ‘axial’ was not declared in this scope
src/outputRootMgr.cc:105: erreur: ‘energy’ was not declared in this scope
src/outputRootMgr.cc:106: erreur: ‘neighb’ was not declared in this scope
src/outputRootMgr.cc:108: erreur: ‘gantryAngularPos’ was not declared in this
scope
src/outputRootMgr.cc:111: erreur: ‘gantryAxialPos’ was not declared in this
scope
src/outputRootMgr.cc:146: erreur: ‘nevt’ was not declared in this scope
src/outputRootMgr.cc:147: erreur: ‘timeMillis’ was not declared in this scope
src/outputRootMgr.cc:147: erreur: expected `;' before ‘getTimeOfThisCOINCI’
src/outputRootMgr.cc:148: erreur: ‘timeOfFlight’ was not declared in this scope
src/outputRootMgr.cc:152: erreur: ‘sector’ was not declared in this scope
src/outputRootMgr.cc:152: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:153: erreur: ‘module’ was not declared in this scope
src/outputRootMgr.cc:153: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:154: erreur: ‘submodule’ was not declared in this scope
src/outputRootMgr.cc:154: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:155: erreur: ‘crystal’ was not declared in this scope
src/outputRootMgr.cc:155: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:156: erreur: ‘layer’ was not declared in this scope
src/outputRootMgr.cc:156: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:160: erreur: ‘sector1’ was not declared in this scope
src/outputRootMgr.cc:160: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:161: erreur: ‘module1’ was not declared in this scope
src/outputRootMgr.cc:161: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:162: erreur: ‘submodule1’ was not declared in this scope
src/outputRootMgr.cc:162: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:163: erreur: ‘crystal1’ was not declared in this scope
src/outputRootMgr.cc:163: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:164: erreur: ‘layer1’ was not declared in this scope
src/outputRootMgr.cc:164: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:167: erreur: ‘energy’ was not declared in this scope
src/outputRootMgr.cc:168: erreur: ‘energy1’ was not declared in this scope
src/outputRootMgr.cc:172: erreur: ‘gantryAngularPos’ was not declared in this
scope
src/outputRootMgr.cc:175: erreur: ‘gantryAxialPos’ was not declared in this
scope
src/outputRootMgr.cc:177: erreur: ‘lmfTree’ was not declared in this scope
src/outputRootMgr.cc:181: erreur: ‘nevt’ was not declared in this scope
src/outputRootMgr.cc:182: erreur: ‘ownTime’ was not declared in this scope
src/outputRootMgr.cc:188: erreur: ‘timeMillis’ was not declared in this scope
src/outputRootMgr.cc:196: erreur: ‘sector’ was not declared in this scope
src/outputRootMgr.cc:196: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:197: erreur: ‘module’ was not declared in this scope
src/outputRootMgr.cc:197: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:198: erreur: ‘submodule’ was not declared in this scope
src/outputRootMgr.cc:198: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:199: erreur: ‘crystal’ was not declared in this scope
src/outputRootMgr.cc:199: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:200: erreur: ‘layer’ was not declared in this scope
src/outputRootMgr.cc:200: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:205: erreur: ‘radial’ was not declared in this scope
src/outputRootMgr.cc:207: erreur: ‘tangential’ was not declared in this scope
src/outputRootMgr.cc:210: erreur: ‘axial’ was not declared in this scope
src/outputRootMgr.cc:214: erreur: ‘energy’ was not declared in this scope
src/outputRootMgr.cc:216: erreur: ‘neighb’ was not declared in this scope
src/outputRootMgr.cc:218: erreur: ‘lmfTree’ was not declared in this scope
src/outputRootMgr.cc: In function ‘void destroyOutputRootMgr()’:
src/outputRootMgr.cc:226: erreur: ‘lmfTree’ was not declared in this scope
src/outputRootMgr.cc:228: erreur: ‘pRootFile’ was not declared in this scope
make: *** [obj/outputRootMgr.o] Erreur 1
ismail at jolicloud:~/Gate/lmf_v3.0$ make
make: root-config : commande introuvable
gcc -I./includes/ -D_FILE_OFFSET_BITS=64 -fPIC -c -o obj/outputRootMgr.o
src/outputRootMgr.cc
src/outputRootMgr.cc:30:19: erreur: TFile.h : Aucun fichier ou dossier de ce
type
src/outputRootMgr.cc:31:19: erreur: TTree.h : Aucun fichier ou dossier de ce
type
src/outputRootMgr.cc:36: erreur: expected initializer before ‘*’ token
src/outputRootMgr.cc:37: erreur: expected initializer before ‘*’ token
src/outputRootMgr.cc: In function ‘void outputRoot(const ENCODING_HEADER*, const
EVENT_HEADER*, const GATE_DIGI_HEADER*, const EVENT_RECORD*)’:
src/outputRootMgr.cc:45: erreur: ‘Double_t’ was not declared in this scope
src/outputRootMgr.cc:45: erreur: expected `;' before ‘ownTime’
src/outputRootMgr.cc:46: erreur: ‘Int_t’ does not name a type
src/outputRootMgr.cc:47: erreur: expected `;' before ‘timeMillis’
src/outputRootMgr.cc:48: erreur: ‘Float_t’ was not declared in this scope
src/outputRootMgr.cc:48: erreur: expected `;' before ‘timeOfFlight’
src/outputRootMgr.cc:51: erreur: ‘Int_t’ was not declared in this scope
src/outputRootMgr.cc:51: erreur: expected `;' before ‘gantryAngularPos’
src/outputRootMgr.cc:52: erreur: expected `;' before ‘sector’
src/outputRootMgr.cc:53: erreur: expected `;' before ‘sector1’
src/outputRootMgr.cc:56: erreur: expected `;' before ‘radial’
src/outputRootMgr.cc:58: erreur: expected `;' before ‘energy’
src/outputRootMgr.cc:59: erreur: expected `;' before ‘neighb’
src/outputRootMgr.cc:66: erreur: ‘pRootFile’ was not declared in this scope
src/outputRootMgr.cc:66: erreur: expected type-specifier before ‘TFile’
src/outputRootMgr.cc:66: erreur: expected `;' before ‘TFile’
src/outputRootMgr.cc:68: erreur: ‘lmfTree’ was not declared in this scope
src/outputRootMgr.cc:68: erreur: expected type-specifier before ‘TTree’
src/outputRootMgr.cc:68: erreur: expected `;' before ‘TTree’
src/outputRootMgr.cc:69: erreur: ‘nevt’ was not declared in this scope
src/outputRootMgr.cc:70: erreur: ‘timeMillis’ was not declared in this scope
src/outputRootMgr.cc:71: erreur: ‘timeOfFlight’ was not declared in this scope
src/outputRootMgr.cc:72: erreur: ‘sector’ was not declared in this scope
src/outputRootMgr.cc:73: erreur: ‘module’ was not declared in this scope
src/outputRootMgr.cc:74: erreur: ‘submodule’ was not declared in this scope
src/outputRootMgr.cc:75: erreur: ‘crystal’ was not declared in this scope
src/outputRootMgr.cc:76: erreur: ‘layer’ was not declared in this scope
src/outputRootMgr.cc:77: erreur: ‘sector1’ was not declared in this scope
src/outputRootMgr.cc:78: erreur: ‘module1’ was not declared in this scope
src/outputRootMgr.cc:79: erreur: ‘submodule1’ was not declared in this scope
src/outputRootMgr.cc:80: erreur: ‘crystal1’ was not declared in this scope
src/outputRootMgr.cc:81: erreur: ‘layer1’ was not declared in this scope
src/outputRootMgr.cc:83: erreur: ‘energy’ was not declared in this scope
src/outputRootMgr.cc:84: erreur: ‘energy1’ was not declared in this scope
src/outputRootMgr.cc:87: erreur: ‘gantryAngularPos’ was not declared in this
scope
src/outputRootMgr.cc:90: erreur: ‘gantryAxialPos’ was not declared in this scope
src/outputRootMgr.cc:93: erreur: ‘lmfTree’ was not declared in this scope
src/outputRootMgr.cc:93: erreur: expected type-specifier before ‘TTree’
src/outputRootMgr.cc:93: erreur: expected `;' before ‘TTree’
src/outputRootMgr.cc:94: erreur: ‘nevt’ was not declared in this scope
src/outputRootMgr.cc:95: erreur: ‘ownTime’ was not declared in this scope
src/outputRootMgr.cc:96: erreur: ‘sector’ was not declared in this scope
src/outputRootMgr.cc:97: erreur: ‘module’ was not declared in this scope
src/outputRootMgr.cc:98: erreur: ‘submodule’ was not declared in this scope
src/outputRootMgr.cc:99: erreur: ‘crystal’ was not declared in this scope
src/outputRootMgr.cc:100: erreur: ‘layer’ was not declared in this scope
src/outputRootMgr.cc:101: erreur: ‘radial’ was not declared in this scope
src/outputRootMgr.cc:102: erreur: ‘tangential’ was not declared in this scope
src/outputRootMgr.cc:103: erreur: ‘axial’ was not declared in this scope
src/outputRootMgr.cc:105: erreur: ‘energy’ was not declared in this scope
src/outputRootMgr.cc:106: erreur: ‘neighb’ was not declared in this scope
src/outputRootMgr.cc:108: erreur: ‘gantryAngularPos’ was not declared in this
scope
src/outputRootMgr.cc:111: erreur: ‘gantryAxialPos’ was not declared in this
scope
src/outputRootMgr.cc:146: erreur: ‘nevt’ was not declared in this scope
src/outputRootMgr.cc:147: erreur: ‘timeMillis’ was not declared in this scope
src/outputRootMgr.cc:147: erreur: expected `;' before ‘getTimeOfThisCOINCI’
src/outputRootMgr.cc:148: erreur: ‘timeOfFlight’ was not declared in this scope
src/outputRootMgr.cc:152: erreur: ‘sector’ was not declared in this scope
src/outputRootMgr.cc:152: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:153: erreur: ‘module’ was not declared in this scope
src/outputRootMgr.cc:153: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:154: erreur: ‘submodule’ was not declared in this scope
src/outputRootMgr.cc:154: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:155: erreur: ‘crystal’ was not declared in this scope
src/outputRootMgr.cc:155: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:156: erreur: ‘layer’ was not declared in this scope
src/outputRootMgr.cc:156: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:160: erreur: ‘sector1’ was not declared in this scope
src/outputRootMgr.cc:160: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:161: erreur: ‘module1’ was not declared in this scope
src/outputRootMgr.cc:161: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:162: erreur: ‘submodule1’ was not declared in this scope
src/outputRootMgr.cc:162: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:163: erreur: ‘crystal1’ was not declared in this scope
src/outputRootMgr.cc:163: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:164: erreur: ‘layer1’ was not declared in this scope
src/outputRootMgr.cc:164: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:167: erreur: ‘energy’ was not declared in this scope
src/outputRootMgr.cc:168: erreur: ‘energy1’ was not declared in this scope
src/outputRootMgr.cc:172: erreur: ‘gantryAngularPos’ was not declared in this
scope
src/outputRootMgr.cc:175: erreur: ‘gantryAxialPos’ was not declared in this
scope
src/outputRootMgr.cc:177: erreur: ‘lmfTree’ was not declared in this scope
src/outputRootMgr.cc:181: erreur: ‘nevt’ was not declared in this scope
src/outputRootMgr.cc:182: erreur: ‘ownTime’ was not declared in this scope
src/outputRootMgr.cc:188: erreur: ‘timeMillis’ was not declared in this scope
src/outputRootMgr.cc:196: erreur: ‘sector’ was not declared in this scope
src/outputRootMgr.cc:196: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:197: erreur: ‘module’ was not declared in this scope
src/outputRootMgr.cc:197: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:198: erreur: ‘submodule’ was not declared in this scope
src/outputRootMgr.cc:198: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:199: erreur: ‘crystal’ was not declared in this scope
src/outputRootMgr.cc:199: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:200: erreur: ‘layer’ was not declared in this scope
src/outputRootMgr.cc:200: erreur: expected `;' before ‘pcrist’
src/outputRootMgr.cc:205: erreur: ‘radial’ was not declared in this scope
src/outputRootMgr.cc:207: erreur: ‘tangential’ was not declared in this scope
src/outputRootMgr.cc:210: erreur: ‘axial’ was not declared in this scope
src/outputRootMgr.cc:214: erreur: ‘energy’ was not declared in this scope
src/outputRootMgr.cc:216: erreur: ‘neighb’ was not declared in this scope
src/outputRootMgr.cc:218: erreur: ‘lmfTree’ was not declared in this scope
src/outputRootMgr.cc: In function ‘void destroyOutputRootMgr()’:
src/outputRootMgr.cc:226: erreur: ‘lmfTree’ was not declared in this scope
src/outputRootMgr.cc:228: erreur: ‘pRootFile’ was not declared in this scope
make: *** [obj/outputRootMgr.o] Erreur 1
Can anyone helps me to solve the problem? Thank you.
Best regards
More information about the Gate-users
mailing list