# Problems with rb-gsl on ubuntu

**URL:** <https://www.ruby-forum.com/t/problems-with-rb-gsl-on-ubuntu/145024>\
**Category:** Ruby\
**Created:** [August 5, 2008, 11:52am UTC](https://www.ruby-forum.com/t/problems-with-rb-gsl-on-ubuntu/145024 "2008-08-05T11:52:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [August 5, 2008, 11:52am UTC](https://www.ruby-forum.com/t/problems-with-rb-gsl-on-ubuntu/145024/1 "2008-08-05T11:52:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [August 6, 2008, 7:01am UTC](https://www.ruby-forum.com/t/problems-with-rb-gsl-on-ubuntu/145024/2 "2008-08-06T07:01:33Z")

</div>

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!  
> [Aktuelle Nachrichten aus Politik, Wirtschaft & Panorama | GMX](http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196)

gmake ?

a @ [http://codeforpeople.com/](http://codeforpeople.com/)

---

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [August 6, 2008, 8:18am UTC](https://www.ruby-forum.com/t/problems-with-rb-gsl-on-ubuntu/145024/3 "2008-08-06T08:18:09Z")

</div>

On Aug 5, 7:50 pm, Axel E. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> setup.rb:655:in `command': system("make") failed (RuntimeError) from setup.rb:996:in `exec\_setup’
> 
> –  
> GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion! [Aktuelle Nachrichten aus Politik, Wirtschaft & Panorama | GMX](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);
