Re: Minuit2

From: Lorenzo Moneta <Lorenzo.Moneta_at_cern.ch>
Date: Mon, 8 Dec 2008 10:23:20 +0100


Hello Patrick,

  for using the standalone version of Minuit2, you can downloaded the latest one (5.21.06) a this link : Minuit2-5.21.06.tar

see also http://www.cern.ch/mathlibs/minuit/release/download.html

Best Regards

  Lorenzo
On Dec 8, 2008, at 2:19 AM, Patrick Dupre wrote:

> 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.
>
>
> -- ---
> =
> =
> =
> =
> ======================================================================
> Patrick DUPRÉ | |
> Department of Chemistry | | Phone: (44)-
> (0)-1904-434384
> The University of York | | Fax: (44)-
> (0)-1904-432516
> Heslington | |
> York YO10 5DD United Kingdom | | email: pd520_at_york.ac.uk
> =
> =
> =
> =
> ======================================================================
Received on Mon Dec 08 2008 - 10:22:59 CET

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