-
Notifications
You must be signed in to change notification settings - Fork 36
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
compilation error with brew gcc #39
Comments
I found two other similar installation issues for other packages if you search for:
This leads me to believe that this might not be an issue with the presto code, but rather an issue with the system you're installing it on. Have you installed R with conda or brew? If so, could you try uninstalling and using the packages from the official R website? https://www.r-project.org/ If you find any other solution, please consider sharing it here so others may benefit in the future. Thanks! |
You might consider trying to update Rcpp and RcppArmadillo, then update the other packages, then install presto: # Update Rcpp and RcppArmadillo
install.packages("Rcpp")
install.packages("RcppArmadillo")
# Update all other packages
update.packages(ask = FALSE)
# Try reinstalling the 'presto' package
devtools::install_github("immunogenomics/presto") If you still run into the same issue, then there is a possibility that your R installation is using the wrong On my system, here are all the paths to the
Again, my best guess is that your system is setup differently due to using conda or brew. I could be mistaken. Consider sharing the output of |
To answer your earlier question, I downloaded R from the official website so I don't believe thats the issue. I also tried updating all of the packages and that didn't fix it either. I think you may be right about the except.h file stuff. I am working on a computer that others have used in the past, so I think the setup/pathing may be messed up due to that? I tried running the command, heres the list that I got back if it's any help:
|
Since you have a It seems to me like the brew version of gcc is not working for you, since you are seeing the error about When gcc was installed with brew, I think this probably created I am not certain about how to fix your setup, but here are some steps you might consider trying:
You might find this page helpful to figure out how to install xcode and gfortran: If these steps did not help, then you might want to search around for other issue reports in other R packages to see how others have tried to deal with using gcc from brew when compiling R packages, and maybe you might find some steps that worked for someone else. Please consider sharing your steps if you eventually find a solution. I wish you the best of luck! I hope you can get your system working soon. |
I'm am struggling to install presto and no one else seems to be having the same issue. Here is the error message I get:
Here is the session info:
Any ideas of what I should try?
The text was updated successfully, but these errors were encountered: