Problems with rb-gsl on ubuntu

Dear all,

I am having problems with rb-gsl on ubuntu 8.04:

the (older) 1.9.2 version does not install its path anywhere, so it
cannot be used without specially arranging
the path,
the actual 1.10.3 version does not install correctly (>ruby setup.rb
install stops with…):

linalg.c:3532: warning: implicit declaration of function
‘gsl_linalg_hesstri_decomp’
make: *** [linalg.o] Error 1
setup.rb:655:in command': system("make") failed (RuntimeError) from setup.rb:664:inmake’
from setup.rb:1258:in setup_dir_ext' from setup.rb:1532:insend
from setup.rb:1532:in traverse' from setup.rb:1549:indive_into’
from setup.rb:1530:in traverse' from setup.rb:1524:inexec_task_traverse’
from setup.rb:1519:in each' from setup.rb:1519:inexec_task_traverse’
from setup.rb:1246:in exec_setup' from setup.rb:996:inexec_setup’
from setup.rb:826:in __send__' from setup.rb:826:ininvoke’
from setup.rb:773:in `invoke’
from setup.rb:1578

Am I the first to experience this ? I think I had 1.9.2 install without
path problems on ubuntu 7.10.

Best regards,

Axel

On Aug 5, 2008, at 3:50 AM, Axel E. wrote:

linalg.c:3532: warning: implicit declaration of function
from setup.rb:1519:in `each’

Best regards,

Axel


GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit
Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196

gmake ?

a @ http://codeforpeople.com/

On Aug 5, 7:50 pm, Axel E. [email protected] wrote:

setup.rb:655:in command': system("make") failed (RuntimeError) from setup.rb:996:inexec_setup’


GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle

I ran into that problem a while back. I think that the
gsl_linalg_hessenberg_set_zero used to return an int but now returns
void. So:

On line 3488 of ext/linalg.c replace

return INT2FIX(gsl_linalg_hessenberg_set_zero(H));

with

gsl_linalg_hessenberg_set_zero(H);
return INT2FIX(0);

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs