Re: Error installing package on CentOS 7


Dirk Eddelbuettel
 

On 11 September 2019 at 11:00, dick.r.chiang@gmail.com wrote:
| The package maintainer has previously not recommended the following, but it directly addresses the core problem.  The alternative is to upgrade to a CentOS version with boost libraries greater than 1.58.  Lots of back and forth on github issues #119, #132.

Oh dear I had forgotten all about! Indeed, old Boost / old compilers will do
that too. I should probably beef up the checks in configure.ac.

Thanks for pointing that out.

Minor nits below.

| 1. git clone `lballabio/QuantLib`
| ```
| ./autogen.sh`
| ./configure --prefix=$HOME/.local --enable-intraday

Hidden directory? Hm. Maybe $HOME/lib/ ? Anyway...

| make install
| ```
| 2. git clone `eddelbuettel/rquantlib` and remove `CXX_STD=CXX11` from `src/Makevars.in`
| 3. From the `rquantlib` parent directory, fire up R and execute
| ```
| library(devtools)
| install()

Or just say 'R CMD INSTALL .'

Dirk

| library(RQuantLib)
| getHolidayList("UnitedStates", as.Date("2018-12-01"), as.Date("2019-01-02"))
| ```
|
|
|

--
http://dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org

Join rquantlib@groups.io to automatically receive all group messages.