Fudge / gltail

Real-time visualization of server traffic, events and statistics with Ruby, SSH and OpenGL
http://www.fudgie.org
610 stars 100 forks source link

Missing or outdated gem: ruby-opengl (>=0.40.1) #15

Open Bigjoos opened 12 years ago

Bigjoos commented 12 years ago

When i updated from Ubuntu 11.04 to 11.10 all of a sudden Gltail ceased to work throwing that error message everytime and i cannot work out why or whats changed or how to further debug this issue, any pointers ?

Missing or outdated gem: ruby-opengl (>=0.40.1) Ubuntu: sudo apt-get install rake ruby1.8-dev libgl1-mesa-dev libglu1-mesa-dev libglut3-dev sudo gem install -y ruby-opengl -r

My gems installed :

* LOCAL GEMS *

file-tail (1.0.6) Author: Florian Frank Rubyforge: http://rubyforge.org/projects/file-tail Homepage: http://flori.github.com/file-tail Installed at: /var/lib/gems/1.8

File::Tail for Ruby

mkrf (0.2.3) Author: Kevin Clark Rubyforge: http://rubyforge.org/projects/mkrf Homepage: http://glu.ttono.us Installed at: /var/lib/gems/1.8

Generate Rakefiles to Build C Extensions to Ruby

needle (1.3.0) Author: Jamis Buck Homepage: http://needle.rubyforge.org Installed at: /var/lib/gems/1.8

Needle is a Dependency Injection/Inversion of Control container for
Ruby. It supports both type-2 (setter) and type-3 (constructor)
injection. It takes advantage of the dynamic nature of Ruby to
provide a rich and flexible approach to injecting dependencies.

net-ssh (2.2.1, 1.1.4) Authors: Jamis Buck, Delano Mandelbaum Rubyforge: http://rubyforge.org/projects/net-ssh Homepage: http://github.com/net-ssh/net-ssh Installed at (2.2.1): /var/lib/gems/1.8 (1.1.4): /var/lib/gems/1.8

Net::SSH: a pure-Ruby implementation of the SSH2 client protocol.

net-ssh-gateway (1.1.0, 1.0.1) Author: Jamis Buck Rubyforge: http://rubyforge.org/projects/net-ssh-gateway Homepage: http://net-ssh.rubyforge.org/gateway Installed at (1.1.0): /var/lib/gems/1.8 (1.0.1): /var/lib/gems/1.8

A simple library to assist in establishing tunneled Net::SSH
connections

rake (0.9.2) Author: Jim Weirich Rubyforge: http://rubyforge.org/projects/rake Homepage: http://rake.rubyforge.org Installed at: /var/lib/gems/1.8

Ruby based make-like utility.

ruby-opengl (0.60.1) Authors: Alain Hoang, Jan Dvorak, Minh Thu Vo, James Adam Rubyforge: http://rubyforge.org/projects/ruby-opengl Homepage: http://ruby-opengl.rubyforge.org Installed at: /var/lib/gems/1.8

OpenGL Interface for Ruby

spruz (0.2.13) Author: Florian Frank Homepage: http://flori.github.com/spruz Installed at: /var/lib/gems/1.8

Useful stuff.

LIke i say i have no idea where to look and i cannot find any information on it either.

eholzbach commented 12 years ago

I cant get it to run on FreeBSD because of the same issue. If I comment out the recovery error in Fudge-gltail-9d2b843/lib/gl_tail.rb it produces the following error:

/usr/local/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1/lib/glut.so: /usr/local/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1/lib/glut.so: Undefined symbol "glutStrokeMonoRoman" - /usr/local/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1/lib/glut.so (LoadError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in require' from ../bin/../lib/gl_tail.rb:29 from ../bin/gl_tail:77:inrequire' from ../bin/gl_tail:77

Current installed gems:

chipmunk (5.3.4.5 ruby) file-tail (1.0.7 ruby) gltail (0.1.8 ruby) mkrf (0.2.3 ruby) needle (1.3.0 ruby) net-ssh (2.2.1 ruby, 2.1.4 ruby, 1.1.4 ruby) net-ssh-gateway (1.1.0 ruby) rake (0.9.2.2 ruby) ruby-opengl (0.60.1 ruby) ruby-termios (0.9.6 ruby) tins (0.3.5 ruby)

j0ney3 commented 12 years ago

@respite same issue as yours on Ubuntu latest...

c-schmitz commented 12 years ago

Same here. Please let us know if you find a workaround.

c-schmitz commented 12 years ago

This pull request fixed the issue for me:

https://github.com/Fudge/gltail/pull/20

I downloaded the fork from https://github.com/petersondrew/gltail