[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Problems with rb-gsl on ubuntu

Axel Etzold

8/5/2008 9:50:00 AM

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:in `make'
from setup.rb:1258:in `setup_dir_ext'
from setup.rb:1532:in `__send__'
from setup.rb:1532:in `traverse'
from setup.rb:1549:in `dive_into'
from setup.rb:1530:in `traverse'
from setup.rb:1524:in `exec_task_traverse'
from setup.rb:1519:in `each'
from setup.rb:1519:in `exec_task_traverse'
from setup.rb:1246:in `exec_setup'
from setup.rb:996:in `exec_setup'
from setup.rb:826:in `__send__'
from setup.rb:826:in `invoke'
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


--
GMX Kostenlose Spiele: Einfach online spielen und SpaÃ? haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzz...

2 Answers

ara.t.howard

8/6/2008 4:59:00 AM

0


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

> 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 =20=

> cannot be used without specially arranging
> the path,
> the actual 1.10.3 version does not install correctly (>ruby setup.rb =20=

> install stops with...):
>
> linalg.c:3532: warning: implicit declaration of function =20
> =91gsl_linalg_hesstri_decomp=92
> make: *** [linalg.o] Error 1
> setup.rb:655:in `command': system("make") failed (RuntimeError)
> from setup.rb:664:in `make'
> from setup.rb:1258:in `setup_dir_ext'
> from setup.rb:1532:in `__send__'
> from setup.rb:1532:in `traverse'
> from setup.rb:1549:in `dive_into'
> from setup.rb:1530:in `traverse'
> from setup.rb:1524:in `exec_task_traverse'
> from setup.rb:1519:in `each'
> from setup.rb:1519:in `exec_task_traverse'
> from setup.rb:1246:in `exec_setup'
> from setup.rb:996:in `exec_setup'
> from setup.rb:826:in `__send__'
> from setup.rb:826:in `invoke'
> 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 =20
> without path problems on ubuntu 7.10.
>
> Best regards,
>
> Axel
>
>
> --=20
> GMX Kostenlose Spiele: Einfach online spielen und Spa=DF haben mit =20
> Pastry Passion!
> =
http://games.entertainment.gmx.net/de/entertainment/games/free/pu...
196
>



gmake ?


a @ http://codeforp...
--
we can deny everything, except that we have the possibility of being =20
better. simply reflect on that.
h.h. the 14th dalai lama




daniel hoey

8/6/2008 5:33:00 AM

0

On Aug 5, 7:50 pm, Axel Etzold <AEtz...@gmx.de> wrote:
> 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:in `make'
> from setup.rb:1258:in `setup_dir_ext'
> from setup.rb:1532:in `__send__'
> from setup.rb:1532:in `traverse'
> from setup.rb:1549:in `dive_into'
> from setup.rb:1530:in `traverse'
> from setup.rb:1524:in `exec_task_traverse'
> from setup.rb:1519:in `each'
> from setup.rb:1519:in `exec_task_traverse'
> from setup.rb:1246:in `exec_setup'
> from setup.rb:996:in `exec_setup'
> from setup.rb:826:in `__send__'
> from setup.rb:826:in `invoke'
> 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
>
> --
> GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!http://games.entertainment.gmx.net/de/entertainment/games/f......

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);