Christian,

Could you possibly help with some Ruby assistance?  

First, ruby 2.0 and 1.9.1 failed with setup.rb until I uncommented the line

   #require 'ftools'

Next, with the line commented-out and using Ruby 1.9.1, I now have unit tests
failing with messages like 

testing QuantLib 1.3
(cd Ruby && ruby setup.rb test                  )
setup.rb:62: Use RbConfig instead of obsolete and deprecated Config.
creating Makefile
make[1]: Entering directory `/tmp/buildd/quantlib-swig-1.3/Ruby'
compiling quantlib_wrap.cpp
quantlib_wrap.cpp: In function 'VALUE _wrap_new_Array__SWIG_3(int, VALUE*, 
VALUE)':
quantlib_wrap.cpp:46062:36: error: 'struct RArray' has no member named 'len'
       Size size = RARRAY(argv[0])->len;
                                    ^
quantlib_wrap.cpp:46066:36: error: 'struct RArray' has no member named 'ptr'
         VALUE o = RARRAY(argv[0])->ptr[i];
                                    ^
quantlib_wrap.cpp: In function 'VALUE _wrap_Array___len__(int, VALUE*, VALUE)':
quantlib_wrap.cpp:46190:33: error: 'struct RArray' has no member named 'len'
       Size size = RARRAY(self)->len;
                                 ^
quantlib_wrap.cpp:46194:33: error: 'struct RArray' has no member named 'ptr'
         VALUE o = RARRAY(self)->ptr[i];
                                 ^

and many, many more like this.  Do you know your way around ruby? Can you
help?  

I know the upstream team pretty well and know of their Python/SWIG skills,
but am not aware of a local Ruby expert.

Many thanks,  Dirk


-- 
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to