Minuit2

From: Patrick Dupre <pd520_at_york.ac.uk>
Date: Mon, 8 Dec 2008 01:19:16 +0000


Hello,

I upgrade my machine fedora 7 to Fedora 10, then, I downloaded root-5.21 , compiled it and installed it.

Then my application using Minuit2 failed (I cannot really tell why, memory leak ?), so I decided to recompile Minuit2.5.20 make:
.configure
make
make check,
but this failed:

make[2]: Entering directory
`/usr/src/misc/Minuit2/Minuit2-5.20.00/test/MnSim'
make test_Minuit2_DemoGaussSim test_Minuit2_DemoFumili test_Minuit2_PaulTest test_Minuit2_PaulTest2 test_Minuit2_PaulTest3 test_Minuit2_PaulTest4 test_Minuit2_ReneTest make[3]: Entering directory
`/usr/src/misc/Minuit2/Minuit2-5.20.00/test/MnSim'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../inc -g -O2 -Wall -MT GaussDataGen.o -MD -MP -MF ".deps/GaussDataGen.Tpo" -c -o GaussDataGen.o GaussDataGen.cxx; \

         then mv -f ".deps/GaussDataGen.Tpo" ".deps/GaussDataGen.Po"; else rm -f ".deps/GaussDataGen.Tpo"; exit 1; fi In file included from GaussDataGen.cxx:12: GaussRandomGen.h: In member function ‘double ROOT::Minuit2::GaussRandomGen::operator()() const’:

GaussRandomGen.h:36: error: ‘rand’ is not a member of ‘std’
GaussRandomGen.h:36: error: ‘RAND_MAX’ was not declared in this scope
GaussRandomGen.h:37: error: ‘rand’ is not a member of ‘std’
In file included from GaussDataGen.cxx:13: FlatRandomGen.h: In member function ‘double ROOT::Minuit2::FlatRandomGen::operator()() const’: FlatRandomGen.h:35: error: ‘rand’ is not a member of ‘std’ FlatRandomGen.h:35: error: ‘RAND_MAX’ was not declared in this scope make[3]: *** [GaussDataGen.o] Error 1
make[3]: Leaving directory
`/usr/src/misc/Minuit2/Minuit2-5.20.00/test/MnSim'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory
`/usr/src/misc/Minuit2/Minuit2-5.20.00/test/MnSim'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/usr/src/misc/Minuit2/Minuit2-5.20.00/test' make: *** [check-recursive] Error 1

Why ?

In addition, I do not understand why the compilation did not create the libMinuit2.so files ?

Am I not supposed to do a make install then ? I do not find the instruction in:
mnusersguide.pdf

thank for your help.

Received on Mon Dec 08 2008 - 02:19:24 CET

This archive was generated by hypermail 2.2.0 : Mon Dec 08 2008 - 11:50:02 CET