Re: More problems with QuantLib-Ruby

Posted by Luigi Ballabio-2 on
URL: http://quantlib.414.s1.nabble.com/More-problems-with-QuantLib-Ruby-tp10416p10420.html

On 2003.11.05 07:44, Liguo Song wrote:
> It just became a fashion for me to reply myself. A bad habit. :(
>
> This turn out to be another bug report.
>
> In ruby-1.8 and later (if there is), string and regex pattern cannot
> mix together any more in the gsub().

Ok, I fixed this for 0.3.4

> In the setup.scm, the usage message is still talking about mzscheme.
> It is a good source of historical information, but need correction.

Tee-hee. I fixed this as well.

> Here is another problems that I found in QuantLib-Guile:
>   "guile -s setup.scm wrap" reports "./SWIG/cashflows.i:27: Unable to
> find 'scheduler.i'"

Hmm. The file didn't get included in the tarball. It it fixed for  
0.3.4. As for 0.3.3, you can work around it by taking scheduler.i from  
any of the other modules (Python, Ruby, MzScheme) and copying it  
together with the other .i files in QuantLib-Guile.

> Also, I am not able to specify --prefix for the installation. Is
> there an solution to this?

Not a quick one---I'll have to code it into setup.scm.
I'll see what I can do.

Later,
        Luigi