Message: Instalation problem for geant4.9.4.p04 in ubuntu 12.04 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Instalation problem for geant4.9.4.p04 in ubuntu 12.04 

Forum: Installation and Configuration
Date: 11 Sep, 2012
From: Ariel Tarifenio-Saldivia <Ariel Tarifenio-Saldivia>

Hi all,

I have fail to install geant4.9.4.p04 in ubuntu 12.04. After command ./Configure -build I have gotten some errors while compiling libraries. These are:

Compiling G4BinaryCascade.cc ... src/G4BinaryCascade.cc: In member function ‘G4Fragment* G4BinaryCascade::FindFragments()’: src/G4BinaryCascade.cc:2288: error: conversion from ‘int’ to non-scalar type ‘G4LorentzVector’ requested src/G4BinaryCascade.cc: In member function ‘G4LorentzVector G4BinaryCascade::GetFinalNucleusMomentum()’: src/G4BinaryCascade.cc:2402: error: conversion from ‘int’ to non-scalar type ‘G4LorentzVector’ requested make[2]: *** [/home/ariel/Documentos/academico/2012/G4/geant4.9.4/geant4.9.4.p04/tmp/Linux-g++/G4hadronic_binary/G4BinaryCascade.o] Error 1

Compiling G4Quasmon.cc ... src/G4Quasmon.cc: In member function ‘G4QHadronVector G4Quasmon::HadronizeQuasmon(G4QNucleus&, G4int)’: src/G4Quasmon.cc:3527: error: no match for ‘operator+=’ in ‘rQ4Mom += dMass’ /usr/local/include/CLHEP/Vector/LorentzVector.icc:92: note: candidates are: CLHEP::HepLorentzVector& CLHEP::HepLorentzVector::operator+=(const CLHEP::HepLorentzVector&) make[2]: *** [/home/ariel/Documentos/academico/2012/G4/geant4.9.4/geant4.9.4.p04/tmp/Linux-g++/G4hadronic_body_ci/G4Quasmon.o] Error 1

Compiling G4QFragmentation.cc ... src/G4QFragmentation.cc: In member function ‘G4QHadronVector* G4QFragmentation::Fragment()’: src/G4QFragmentation.cc:2159: error: no match for ‘operator>’ in ‘curh4M > 0.0’ /usr/local/include/CLHEP/Vector/LorentzVector.h:365: note: candidates are: bool CLHEP::HepLorentzVector::operator>(const CLHEP::HepLorentzVector&) const /usr/local/include/CLHEP/Vector/LorentzRotation.h:375: note: bool CLHEP::operator>(const CLHEP::HepBoost&, const CLHEP::HepLorentzRotation&) /usr/local/include/CLHEP/Vector/LorentzRotation.h:362: note: bool CLHEP::operator>(const CLHEP::HepRotation&, const CLHEP::HepLorentzRotation&) src/G4QFragmentation.cc: In member function ‘void G4QFragmentation::SwapPartons()’: src/G4QFragmentation.cc:4517: error: no matching function for call to ‘G4QParton::Set4Momentum(G4double)’ /home/ariel/Documentos/academico/2012/G4/geant4.9.4/geant4.9.4.p04/source/processes/hadronic/models/chiral_inv_phase_space/body/include/G4QParton.hh:76: note: candidates are: void G4QParton::Set4Momentum(const G4LorentzVector&) src/G4QFragmentation.cc:4518: error: no matching function for call to ‘G4QParton::Set4Momentum(G4double)’ /home/ariel/Documentos/academico/2012/G4/geant4.9.4/geant4.9.4.p04/source/processes/hadronic/models/chiral_inv_phase_space/body/include/G4QParton.hh:76: note: candidates are: void G4QParton::Set4Momentum(const G4LorentzVector&) make[2]: *** [/home/ariel/Documentos/academico/2012/G4/geant4.9.4/geant4.9.4.p04/tmp/Linux-g++/G4hadronic_fragm_ci/G4QFragmentation.o] Error 1

Compiling G4NeutronHPCaptureFS.cc ... src/G4NeutronHPCaptureFS.cc: In member function ‘virtual G4HadFinalState* G4NeutronHPCaptureFS::ApplyYourself(const G4HadProjectile&)’: src/G4NeutronHPCaptureFS.cc:208: error: no match for ‘operator>’ in ‘G4DynamicParticle::Get4Momentum() const() > 0’ /usr/local/include/CLHEP/Vector/LorentzVector.h:365: note: candidates are: bool CLHEP::HepLorentzVector::operator>(const CLHEP::HepLorentzVector&) const /usr/local/include/CLHEP/Vector/LorentzRotation.h:375: note: bool CLHEP::operator>(const CLHEP::HepBoost&, const CLHEP::HepLorentzRotation&) /usr/local/include/CLHEP/Vector/LorentzRotation.h:362: note: bool CLHEP::operator>(const CLHEP::HepRotation&, const CLHEP::HepLorentzRotation&) make[2]: *** [/home/ariel/Documentos/academico/2012/G4/geant4.9.4/geant4.9.4.p04/tmp/Linux-g++/G4had_neu_hp/G4NeutronHPCaptureFS.o] Error 1

Compiling G4ExcitedStringDecay.cc ... src/G4ExcitedStringDecay.cc: In member function ‘G4bool G4ExcitedStringDecay::EnergyAndMomentumCorrector(G4KineticTrackVector*, G4LorentzVector&)’: src/G4ExcitedStringDecay.cc:184: error: no match for ‘operator<’ in ‘SumMom < 1’ /usr/local/include/CLHEP/Vector/LorentzVector.h:366: note: candidates are: bool CLHEP::HepLorentzVector::operator<(const CLHEP::HepLorentzVector&) const /usr/local/include/CLHEP/Vector/LorentzRotation.h:373: note: bool CLHEP::operator<(const CLHEP::HepBoost&, const CLHEP::HepLorentzRotation&) /usr/local/include/CLHEP/Vector/LorentzRotation.h:360: note: bool CLHEP::operator<(const CLHEP::HepRotation&, const CLHEP::HepLorentzRotation&) src/G4ExcitedStringDecay.cc:184: error: no match for ‘operator>’ in ‘SumMom > -0x00000000000000001’ /usr/local/include/CLHEP/Vector/LorentzVector.h:365: note: candidates are: bool CLHEP::HepLorentzVector::operator>(const CLHEP::HepLorentzVector&) const /usr/local/include/CLHEP/Vector/LorentzRotation.h:375: note: bool CLHEP::operator>(const CLHEP::HepBoost&, const CLHEP::HepLorentzRotation&) /usr/local/include/CLHEP/Vector/LorentzRotation.h:362: note: bool CLHEP::operator>(const CLHEP::HepRotation&, const CLHEP::HepLorentzRotation&) make[2]: *** [/home/ariel/Documentos/academico/2012/G4/geant4.9.4/geant4.9.4.p04/tmp/Linux-g++/G4had_string_frag/G4ExcitedStringDecay.o] Error 1

I am using gcc version 4.4.7.

Do you have ideas how to solve these problems?

Thanks in advance!

 Add Message Add Message
to: "Instalation problem for geant4.9.4.p04 in ubuntu 12.04"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]