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

Why devtools::install_github("rstats-db/RPostgres") fails on Mac? #15

Closed
andreskull opened this issue Feb 18, 2015 · 5 comments
Closed

Comments

@andreskull
Copy link

> devtools::install_github("rstats-db/RPostgres")
Downloading github repo rstats-db/RPostgres@master
Installing RPostgres
'/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD INSTALL  \
  '/private/var/folders/gz/ys2sqm9j76x30y312y_15blm0000gn/T/RtmpQt0iXi/devtoolsb91d5912beaf/rstats-db-RPostgres-524876f'  \
  --library='/Library/Frameworks/R.framework/Versions/3.1/Resources/library'  \
  --install-tests 

* installing *source* package ‘RPostgres’ ...
/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory
/usr/local/bin/brew: line 23: /usr/local/Library/brew.rb: Undefined error: 0
Brewing libpq in ...
./configure: line 35: /bin/brew: No such file or directory
File /Cellar/postgresql/*/include/libpq-fe.h not found.
Homebrew of libgit2 failed :(
ERROR: configuration failed for package ‘RPostgres’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RPostgres’
Error: Command failed (1)
@jeroen
Copy link
Member

jeroen commented Feb 18, 2015

Which version of osx is this? Can you give me the output of:

which brew
brew --version

@andreskull
Copy link
Author

osx 10.10.2

which brew
/usr/local/bin/brew
brew --version
/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory
/usr/local/bin/brew: line 23: /usr/local/Library/brew.rb: Undefined error: 0

@jeroen
Copy link
Member

jeroen commented Feb 18, 2015

So it looks like there is a problem with your brew installation that is unrelated to RPostgres.

@jeroen jeroen closed this as completed Feb 18, 2015
@andreskull
Copy link
Author

@github-actions
Copy link

github-actions bot commented Dec 9, 2020

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2020
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