[Rd] Re: [R] minus I and minus L flags

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Tue 22 Feb 2005 - 01:07:49 EST

On 21 February 2005 at 10:17, Prof Brian Ripley wrote:
| [This is getting rather technical, so moved to R-devel.]

Yup.

| I looked at the examples on CRAN, and failed to find one that allowed
| users to specify the paths flexibly. RQuantian mentioned by Dirk does

(Nit: RQuantLib, not RQuantian)

| allow the Boost paths to be set, but not the quantlib-config path (at
| least it is not mentioned in RQuantian/configure --help), and it appears

I plead guiltu to ignoring the run-time switches to configure. QuantLib makes use of configuration helper script quantlib-config, and boost "worked" so far.

| not be make use of the Boost paths that can be set. (Dirk: surely they
| need to be appended to pkg_cxxflags and pkg_libs?)

I'm a bit puzzled about that:

edd@basebud:~> ldd /usr/lib/R/site-library/RQuantLib/libs/RQuantLib.so

        libQuantLib-0.3.8.so => /usr/lib/libQuantLib-0.3.8.so (0x400d2000)
        libR.so => not found
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40577000)
        libm.so.6 => /lib/libm.so.6 (0x40631000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40653000)
        libc.so.6 => /lib/libc.so.6 (0x4065c000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
edd@basebud:~>

Apparently it doesn't need boost to resolve the .so loaded into R. It does need the headers to compile. And it runs fine.

But your point is well taken. I should extend the configure.in one day.

Dirk

-- 
Better to have an approximate answer to the right question than a precise 
answer to the wrong question.  --  John Tukey as quoted by John Chambers

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Tue Feb 22 00:14:07 2005

This archive was generated by hypermail 2.1.8 : Tue 22 Feb 2005 - 01:31:45 EST