Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Failed to install on OS X #6027

Closed
avioli opened this issue Jun 15, 2011 · 7 comments
Closed

Failed to install on OS X #6027

avioli opened this issue Jun 15, 2011 · 7 comments

Comments

@avioli
Copy link

avioli commented Jun 15, 2011

Hi all,
I've searched for "Failed during" in the issues but couldn't find anything so:

I'm on Mac OS X 10.6.7. Got ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0] on rvm 1.6.10.

Did a ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" and approved the group change to the proposed directories. Typed in the my admin password. And got this:

... sudo chmod g+w+ ... sudo chgrp staff ... [I've cut down the lines for clarity]

==> Downloading and Installing Homebrew...
share/man/: Cannot extract through symlink share
share/man/man1/: Cannot extract through symlink share
share/man/man1/brew-man.1: Cannot extract through symlink share
share/man/man1/brew.1: Cannot extract through symlink share
tar: Error exit delayed from previous errors.
Failed during: /bin/bash -o pipefail -c '/usr/bin/curl -sSfL https://github.com/mxcl/homebrew/tarball/master | /usr/bin/tar xz -m --strip 1'
~ $

Tried one more time and got the same result.
Any suggestions or questions?

@adamv
Copy link
Contributor

adamv commented Jun 15, 2011

which ruby ?

But try: /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" if you've installed a custom one.

@avioli
Copy link
Author

avioli commented Jun 15, 2011

Doesn't work with the one in /usr/bin/.
That one is ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]

The "default" rvm ruby is 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]

@adamv
Copy link
Contributor

adamv commented Jun 15, 2011

See: #3245

@avioli
Copy link
Author

avioli commented Jun 15, 2011

Thanks for that. My /usr/local/share/ is a symlink to /usr/share/ as in the thread you posted above, but in that directory there are lots of files.

What should I do? I cannot simply create a fresh, empty folder in /usr/local/ called share.. there might be stuff actually searching for other stuff in there.

At http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALSHARE1 it says the man dir in local/share should be a symlink to the other one.

@adamv
Copy link
Contributor

adamv commented Jun 15, 2011

You may have to bring this up in the mailing list or IRC channel; Homebrew expects a real physical /usr/local/share folder, not a symlink to a system folder, with its own permissions, etc. etc.

@avioli
Copy link
Author

avioli commented Jun 15, 2011

Thanks.

@avioli avioli closed this as completed Jun 15, 2011
@avioli avioli reopened this Jun 15, 2011
@avioli
Copy link
Author

avioli commented Jun 15, 2011

It appears that all there is to do with /usr/local/share/ is to put the manual in man/man1/brew*
I've replaced my /usr/local/share symlink with a regular directory.
Installed homebrew and then moved the manual into place in /usr/share/man/man1/brew*
Removed the /usr/local/share/ dir and created a symlink again to /usr/share/

@avioli avioli closed this as completed Jun 15, 2011
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
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