[R-sig-Debian] Cpp Error installing CRAN version of MatrixExtra on Ubuntu 18.04

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Mon Dec 20 17:49:47 CET 2021


On 20 December 2021 at 15:48, Sebastian Meyer wrote:
| Am 20.12.21 um 15:19 schrieb Dirk Eddelbuettel:
| > 
| > On 19 December 2021 at 18:14, David Winsemius wrote:
| > | I initially attempted installation of pkg:MatrixExtra with
| > | `install.packages on my Ubuntu 18.04 LTS system from within RStudio. It
| > | failed with an error attempting to compile a function named "matmul.cpp"
| > | so I tried running R from a Terminal session. Same error. Finally I
| > 
| > Well yes. Same system, same compiler and same R.  Can you remind me what
| > 
| >     gcc --version
| > 
| > says on Ubuntu 18.04. 
| 
| gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

That should be good enough.
 
| FWIW, "MatrixExtra" installs without problems for me on "ancient"

I am fairly certain that the (accidental ?) mishap of mixing current R,
i.e. his 4.1.2, with a 3.5.1 library is the issue.

It has been so long since I converted from pre-4.0.* that I forgot what the
error message looks like but the arcanae one in David's post may qualify.

| > R version 4.1.2 (2021-11-01)
| > Platform: x86_64-pc-linux-gnu (64-bit)
| > Running under: Ubuntu 18.04.6 LTS
| > 
| > Matrix products: default
| > BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
| > LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1
| 
| I see openblas in your sessionInfo(). Could that be a problem?

I do not think. Stable interface, unchanged for decades, hot-swappable.

Dirk

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



More information about the R-SIG-Debian mailing list