Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error on Mac #137

Open
ksadtle3 opened this issue Feb 14, 2018 · 4 comments
Open

Installation error on Mac #137

ksadtle3 opened this issue Feb 14, 2018 · 4 comments

Comments

@ksadtle3
Copy link

Hi, I am trying to work through the FlowJo plugin for SPADE. And currently am having an issue on one of my computers (of course the one with more processing power) where I cannot get the SPADE package to download in R. Apologies if this is an obvious/simple error to fix -- I am not well versed in R. Here is the error I am receiving:

> install_github("nolanlab/Rclusterpp")
Downloading GitHub repo nolanlab/Rclusterpp@master
from URL https://api.github.com/repos/nolanlab/Rclusterpp/zipball/master
Installing Rclusterpp
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  '/private/var/folders/4r/wqfd9gm11z14vsmt57qy7thc0000gn/T/RtmplAojvg/devtools2b24e66c3d8/nolanlab-Rclusterpp-740cb0b'  \
  --library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library' --install-tests 

* installing *source* package ‘Rclusterpp’ ...
** libs
clang++  -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/RcppEigen/include" -I/usr/local/include  -I../inst/include -fopenmp -fPIC  -Wall -g -O2  -c hclust.cpp -o hclust.o
clang: error: unsupported option '-fopenmp'
make: *** [hclust.o] Error 1
ERROR: compilation failed for package ‘Rclusterpp’
* removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rclusterpp’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rclusterpp’
Installation failed: Command failed (1)

@lifengt
Copy link

lifengt commented Feb 21, 2018

I have a same issue with you. Hope someone can help us.

@nolanlab nolanlab deleted a comment from cytobank-nikesh Feb 21, 2018
@SamGG
Copy link

SamGG commented Feb 22, 2018

Hi, the error states a problem with installing Rclusterpp. I think the best is to post your message to the Rclusterpp Github repository. Robert Bruggner is the maintainer of Rclusterpp and knows everything about compilation on Mac.
https://github.com/nolanlab/Rclusterpp

@zbjornson
Copy link
Collaborator

Can you try the steps listed here please? velocyto-team/velocyto.R#2 (comment)

Sounds like using an older version of R might work also, but that's not a very nice solution.

@zbjornson
Copy link
Collaborator

A more direct link to R's instructions: https://cloud.r-project.org/bin/macosx/tools/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants