[fxruby-users] ruby-1.8.5 loads fox16.so more than once

Joel VanderWerf vjoel at path.berkeley.edu
Fri Sep 1 02:48:01 EDT 2006


Hi, all,

After upgrading ruby from 1.8.4 to 1.8.5, loading fox16 causes a warning 
for each constant, and $" shows that the .so has been loaded more than 
once (see below).

I remember reporting this long ago for ruby 1.9 [1]. Maybe something 
from 1.9 has now appeared in 1.8.5 that is causing this problem?

Could it be that I just need to rebuild fox16 against the newer ruby?

[1] http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/117682




$ ruby -vr fox16 -e 'p $".grep(/fox/)'
ruby 1.8.4 (2005-12-24) [i686-linux]
/usr/local/lib/ruby/site_ruby/1.8/fox16/core.rb:177: warning: method 
redefined; discarding old readBoolEntry
/usr/local/lib/ruby/site_ruby/1.8/fox16/core.rb:185: warning: method 
redefined; discarding old writeBoolEntry
/usr/local/lib/ruby/site_ruby/1.8/fox16/aliases.rb:3573: warning: method 
redefined; discarding old position
["fox16.so", "fox16/core.rb", "fox16/dict.rb", "fox16/settings.rb", 
"fox16/iterators.rb", "fox16/keys.rb", "fox16/aliases.rb", 
"fox16/responder2.rb", "fox16/responder.rb", "fox16/timeout.rb", 
"fox16/chore.rb", "fox16/signal.rb", "fox16/input.rb", 
"fox16/glgroup.rb", "fox16/execute_nonmodal.rb", "fox16/version.rb"]




$ ruby -vr fox16 -e 'p $".grep(/fox/)'
ruby 1.8.5 (2006-08-25) [i686-linux]
/usr/local/lib/ruby/site_ruby/1.8/fox16/core.rb:177: warning: method 
redefined; discarding old readBoolEntry
/usr/local/lib/ruby/site_ruby/1.8/fox16/core.rb:185: warning: method 
redefined; discarding old writeBoolEntry
/usr/local/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already 
initialized constant TRUE
/usr/local/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already 
initialized constant FALSE
/usr/local/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already 
initialized constant MAYBE
/usr/local/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already 
initialized constant NULL
/usr/local/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already 
initialized constant SEL_NONE
/usr/local/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already 
initialized constant SEL_KEYPRESS
.
.
.
initialized constant ID_REFRESH
/usr/local/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already 
initialized constant ID_LAST
/usr/local/lib/ruby/site_ruby/1.8/fox16/aliases.rb:3573: warning: method 
redefined; discarding old position
["fox16/core.rb", "fox16/dict.rb", "fox16/settings.rb", 
"fox16/execute_nonmodal.rb", "fox16.so", "fox16/version.rb", "fox16.so", 
"fox16/glgroup.rb", "fox16.so", "fox16/responder.rb", 
"fox16/timeout.rb", "fox16/chore.rb", "fox16/signal.rb", 
"fox16/input.rb", "fox16/responder2.rb", "fox16.so", "fox16/aliases.rb", 
"fox16.so", "fox16/keys.rb", "fox16.so", "fox16/iterators.rb", "fox16.so"]

-- 
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407


More information about the fxruby-users mailing list