Trying to install GEANT4 on my powerbook G4 running 10.4 gcc 4.0 I get the following 
error. Any suggestions ?

Hans

Making all in src
g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../GenericFunctions -I..  -I/sw/include -O -ansi -pedantic -Wall -D_GNU_SOURCE -g -O2 -c -o Abs.o Abs.cc
g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../GenericFunctions -I..  -I/sw/include -O -ansi -pedantic -Wall -D_GNU_SOURCE -g -O2 -c -o AbsFunctional.o AbsFunctional.cc
g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../GenericFunctions -I..  -I/sw/include -O -ansi -pedantic -Wall -D_GNU_SOURCE -g -O2 -c -o AbsFunction.o AbsFunction.cc
AbsFunction.cc: In function `Genfun::FunctionPlusParameter Genfun::operator-(const Genfun::AbsFunction&, const Genfun::AbsParameter&)':
AbsFunction.cc:127: error: cannot allocate an object of abstract type 'Genfun::AbsParameter'
../CLHEP/GenericFunctions/AbsParameter.hh:22: note:   because the following virtual functions are pure within 'Genfun::AbsParameter':
../CLHEP/GenericFunctions/AbsParameter.hh:36: note:  virtual double Genfun::AbsParameter::getValue() const
../CLHEP/GenericFunctions/AbsParameter.hh:50: note:  virtual Genfun::AbsParameter* Genfun::AbsParameter::_clone() const
AbsFunction.cc: In function `Genfun::FunctionTimesParameter Genfun::operator/(const Genfun::AbsFunction&, const Genfun::AbsParameter&)':
AbsFunction.cc:133: error: cannot allocate an object of abstract type 'Genfun::AbsParameter'
../CLHEP/GenericFunctions/AbsParameter.hh:22: note:   since type 'Genfun::AbsParameter' has pure virtual functions
AbsFunction.cc: In function `Genfun::FunctionPlusParameter Genfun::operator-(const Genfun::AbsParameter&, const Genfun::AbsFunction&)':
AbsFunction.cc:146: error: cannot allocate an object of abstract type 'Genfun::AbsFunction'
../CLHEP/GenericFunctions/AbsFunction.hh:47: note:   because the following virtual functions are pure within 'Genfun::AbsFunction':
../CLHEP/GenericFunctions/AbsFunction.hh:64: note:  virtual double Genfun::AbsFunction::operator()(double) const
../CLHEP/GenericFunctions/AbsFunction.hh:65: note:  virtual double Genfun::AbsFunction::operator()(const Genfun::Argument&) const
../CLHEP/GenericFunctions/AbsFunction.hh:87: note:  virtual Genfun::AbsFunction* Genfun::AbsFunction::_clone() const
AbsFunction.cc: In function `Genfun::FunctionTimesParameter Genfun::operator/(const Genfun::AbsParameter&, const Genfun::AbsFunction&)':
AbsFunction.cc:151: error: cannot allocate an object of abstract type 'Genfun::AbsFunction'
../CLHEP/GenericFunctions/AbsFunction.hh:47: note:   since type 'Genfun::AbsFunction' has pure virtual functions
make[2]: *** [AbsFunction.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
### execution of make failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-clhep-1.9.2.1-51
(Reading database ... 28647 files and directories currently installed.)
Removing fink-buildlock-clhep-1.9.2.1-51 ...
Failed: phase compiling: clhep-1.9.2.1-51 failed
 





Reply via email to