[R-SIG-Mac] trying to compile packages from source, but lacking /opt/local/bin/gcc-mp-5

Vincent Carey stvjc at channing.harvard.edu
Tue Nov 21 05:03:03 CET 2017

%vjcair> R CMD config CC


I don't seem to be able to override this using environment variable CC.  And

I cannot see how to install gcc-mp-5.  This version of R was obtained from

r.research.att.com, R-3.4-branch-el-capitan.pkg.

I would have expected clang to be the c compiler for this build.  I will

appreciate any suggestions.  As it stands, any installation from source

compilation throws errors like

/bin/sh: /opt/local/bin/g++-mp-5: No such file or directory

R version 3.4.2 Patched (2017-10-20 r73567) -- "Short Summer"

Copyright (C) 2017 The R Foundation for Statistical Computing

Platform: x86_64-apple-darwin15.6.0 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.

You are welcome to redistribute it under certain conditions.

Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.

Type 'contributors()' for more information and

'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or

'help.start()' for an HTML browser interface to help.

Type 'q()' to quit R.

> sessionInfo()

R version 3.4.2 Patched (2017-10-20 r73567)

Platform: x86_64-apple-darwin15.6.0 (64-bit)

Running under: macOS Sierra 10.12.6

Matrix products: default


LAPACK: /Library/Frameworks/R.framework/Versions/3.4

	[[alternative HTML version deleted]]

More information about the R-SIG-Mac mailing list