On 31 December 2013 at 16:17, Luigi Ballabio wrote:
| Hi Dirk and Christian,
|     the module does compile and install. I'm not sure if it's in any
| shape to be released, though: 3 scripts out of the four in
| Ruby/examples dump core on my machine (truth be told, it might have
| also happened with 1.8. I should go and check that, too). It looks
| like something going awry in a destructor. Do they run on yours?

I didn't try. I just built the Debian package in a dedicated chroot.
 
| Supporting both 1.8 and 1.9 might be doable in the wrappers if I can
| get the Ruby version (I see a macro for it in ruby/version.h, but the
| comments are discouraging me from using it); it should be just a
| matter of defining some macro QL_RARRAY_LEN(x) to expand to
| RARRAY(x)->len for 1.8 and RARRAY_LEN(x) for 1.9.

Good point.

| My Ruby-fu is very rusty, though, so I'm not sure how to require
| 'ftools' or 'fileutils' depending on the version, or how to alias a
| common name to the correct one. Christian, do you have any
| suggestions? (Also on the version thing above?)
| 
| Later,
|     Luigi
| 
| (oh, and a happy new year in case I don't hear from you today)

Happy New Year from me too!

Dirk

| On Tue, Dec 31, 2013 at 5:34 AM, Dirk Eddelbuettel <e...@debian.org> wrote:
| >
| > Ok, one last one:  I just updated the pull request
| >
| >     https://github.com/lballabio/quantlib/pull/65
| >
| > and the second patch contains further fixes to setup.rb to do the install
| > step under Ruby 1.9. (The third patch just corrects the version back to 
'1.4'
| > for the dev tree.)
| >
| > Supporting 1.8 and 1.9 upstream may be a bit of a pain though.
| >
| > I also uploaded a repaired new Debian package -- thanks again to Christian.
| >
| > Dirk
| >
| > --
| > Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com
| 
| 
| 
| -- 
| <https://implementingquantlib.blogspot.com>
| <https://twitter.com/lballabio>

-- 
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