YuLab-SMU / ChIPseeker

:dart: ChIP peak Annotation, Comparison and Visualization
https://onlinelibrary.wiley.com/share/author/GYJGUBYCTRMYJFN2JFZZ?target=10.1002/cpz1.585
224 stars 74 forks source link

Installation issue "clang: error: unsupported option '-fopenmp'" (macOS Sierra) #62

Open chiefcat opened 7 years ago

chiefcat commented 7 years ago

Hi everyone,

Have you ever face "clang: error: unsupported option '-fopenmp'" issue when installing ChIPseeker (or other R packages)?

I'm using macOS Sierra and trying to install ChIPseeker via biocLite.

The error message is as below: clang: error: unsupported option '-fopenmp' make: *** [coxph.o] Error 1 ERROR: compilation failed for package ‘mgcv’

Thanks! Kylie

GuangchuangYu commented 7 years ago

Maybe you can try using the following command to install the mgcv package.

## in Terminal
wget -c https://cran.r-project.org/bin/macosx/el-capitan/contrib/3.4/mgcv_1.8-22.tgz
R CMD INSTALL mgcv_1.8-22.tgz