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

install from github not working in OS X #60

Closed
donlelek opened this issue Apr 12, 2015 · 3 comments
Closed

install from github not working in OS X #60

donlelek opened this issue Apr 12, 2015 · 3 comments

Comments

@donlelek
Copy link

Hi,
I tried to install from github, this is what I got:

> devtools::install_github("hadley/haven")
Downloading github repo hadley/haven@master
Installing haven
'/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD INSTALL  \
  '/private/var/folders/r_/fm5p9qsx519fxh8cvr2vbtt80000gp/T/Rtmp3Bpad8/devtools9be559edde1/hadley-haven-432ad52'  \
  --library='/Users/dprice/Library/R/3.1/library' --install-tests 

* installing *source* packagehaven...
** libs
clang -I/Library/Frameworks/R.framework/Resources/include     -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Users/dprice/Library/R/3.1/library/Rcpp/include" -I"/Users/dprice/Library/R/3.1/library/BH/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c CKHashTable.c -o CKHashTable.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/Library/Frameworks/R.framework/Resources/include     -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Users/dprice/Library/R/3.1/library/Rcpp/include" -I"/Users/dprice/Library/R/3.1/library/BH/include"   -fPIC  -Wall -mtune=core2 -O3    -c DfReader.cpp -o DfReader.o
In file included from DfReader.cpp:1:
In file included from /Users/dprice/Library/R/3.1/library/Rcpp/include/Rcpp.h:27:
In file included from /Users/dprice/Library/R/3.1/library/Rcpp/include/RcppCommon.h:29:
In file included from /Users/dprice/Library/R/3.1/library/Rcpp/include/Rcpp/platform/compiler.h:171:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/map:423:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__tree:15:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:341:10: fatal error: '__debug' file not found
#include <__debug>
         ^
1 error generated.
make: *** [DfReader.o] Error 1
ERROR: compilation failed for packagehaven* removing/Users/dprice/Library/R/3.1/library/haven* restoring previous/Users/dprice/Library/R/3.1/library/havenError: Command failed (1)
> Sys.info()
                                                                                           sysname 
                                                                                          "Darwin" 
                                                                                           release 
                                                                                          "14.3.0" 
                                                                                           version 
"Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64" 
                                                                                          nodename 
                                                                           "UPEI-MacBookAir.local" 
                                                                                           machine 
                                                                                          "x86_64" 
                                                                                             login 
                                                                                          "dprice" 
                                                                                              user 
                                                                                          "dprice" 
                                                                                    effective_user 
                                                                                          "dprice" 
> sessionInfo()
R version 3.1.3 (2015-03-09)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.3 (Yosemite)

locale:
[1] en_CA.UTF-8/en_CA.UTF-8/en_CA.UTF-8/C/en_CA.UTF-8/en_CA.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] bitops_1.0-6   devtools_1.7.0 evaluate_0.5.5 formatR_1.1    httr_0.6.1     knitr_1.9      RCurl_1.95-4.5 stringr_0.6.2  tools_3.1.3

Installing via install.packages worked though.

@donlelek
Copy link
Author

@tklebel
Copy link
Contributor

tklebel commented Apr 14, 2015

This is actually an issue with devtools on OS X. I opened an issue over there.

@donlelek
Copy link
Author

I will close this since it's not specific to this package.

@lock lock bot locked and limited conversation to collaborators Jun 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants