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

S

stuart macgregor

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::eek:perator
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?
 
E

Elias Athanasopoulos

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::eek:perator
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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top