|
From: richard a. <ric...@ya...> - 2007-03-30 18:46:59
|
Looks like Ruby Open Babel SVN rev 1917 has some things in it that Ruby doesn't like. The Ruby cpp wrapper defines some costants like "_1MA" that are invalid Ruby constants. So, when you load openbabel from ruby, you get: $ irb irb(main):001:0> require 'openbabel' (eval): warning: rb_define_const: invalide name `_1MA' for constant (eval): warning: rb_define_const: invalide name `_5MC' for constant (eval): warning: rb_define_const: invalide name `_1MG' for constant (eval): warning: rb_define_const: invalide name `_2MG' for constant (eval): warning: rb_define_const: invalide name `_7MG' for constant (eval): warning: rb_define_const: invalide name `_5MU' for constant => true It looks like ruby open babel still works, but this is an eyesore. Any ideas on how to clear it up? The offending code is around line 87152 in the openbabel_ruby.cpp file. ____________________________ Richard Apodaca Blog: http://depth-first.com ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265 |