Trouble installing RubyRoot_v1.0.3 and also ruby-gsl-0.1.9.tar.gz + any good optimisers?


(stuart macgregor) #1

A new install of root_v4.00.01.source.tar.gz with
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5),
ruby 1.8.1 (2003-12-25) [i686-linux] and SWIG-1.3.20
failed to build RubyRoot_v1.0.3 :
The .cxx file failed to compile with the message: -

/home/stuart/root/include/TROOT.h: In function VALUE _wrap_new_TROOT(int, VALUE*, long unsigned int)': /home/stuart/root/include/TROOT.h:127:static void* TROOT::operator
new(unsigned int)’ is protected
ROOT_wrapnew.cxx:93820: within this context
make: *** [ROOT_wrapnew.o] Error 1

Any suggestions?

Also:

A new installation of gsl-1.4 did not have the const_mks/cgs files
expected by ruby-gsl-0.1.9

I had hoped to use the non linear minimisers in gsl - but the interface
was missing in ruby-gsl anyway. I scribbled a basic simplex in ruby, but
I could do with some better algorithms.

Can anyone suggest an existing ruby interface to OPT++ or any other
extensive optimisation lib?


(Elias Athanasopoulos) #2

Hello!

A new install of root_v4.00.01.source.tar.gz with
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5),
ruby 1.8.1 (2003-12-25) [i686-linux] and SWIG-1.3.20
failed to build RubyRoot_v1.0.3 :
The .cxx file failed to compile with the message: -

/home/stuart/root/include/TROOT.h: In function VALUE _wrap_new_TROOT(int, VALUE*, long unsigned int)': /home/stuart/root/include/TROOT.h:127:static void* TROOT::operator
new(unsigned int)’ is protected
ROOT_wrapnew.cxx:93820: within this context
make: *** [ROOT_wrapnew.o] Error 1

Any suggestions?

While you are there, you might want to try ruby-root. You can find
it on raa, or directly to:

http://null.edunet.uoa.gr/~elathan/rr/

As far as RubyRoot is concerned, I have removed the TROOT class from
the configuration process and it compiles fine (you miss of course the
TROOT interface).

Regards,

···

On Thu, Feb 12, 2004 at 12:04:59PM +0900, stuart macgregor wrote:

University of Athens I bet the human brain
Physics Department is a kludge --Marvin Minsky