Skip to content
This repository has been archived by the owner on Nov 27, 2017. It is now read-only.

Homebrew does not support your computer's CPU architecture #16

Closed
staticfloat opened this issue Jun 25, 2013 · 6 comments
Closed

Homebrew does not support your computer's CPU architecture #16

staticfloat opened this issue Jun 25, 2013 · 6 comments
Assignees

Comments

@staticfloat
Copy link
Contributor

I'm really glad to see someone tackling Homebrew on linux! I know this is a monumental task, so anything I can do to decrease the workload my issues will create, please point out!

$ brew install git
Sorry, Homebrew does not support your computer's CPU architecture.
For PPC support, see: https://github.com/mistydemeo/tigerbrew
$ uname -a
Linux lebaron.ee.washington.edu 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:30 UTC 2013 i686 i686 i686 GNU/Linux
$ cat /proc/cpuinfo | grep name
model name      : Intel(R) Core(TM)2 Duo CPU     E7500  @ 2.93GHz
model name      : Intel(R) Core(TM)2 Duo CPU     E7500  @ 2.93GHz
@sjackman
Copy link
Member

Hi Elliot,

I believe that you're running a 32-bit kernel, because of the i686. Can you confirm that's the case? Do you have a particular reason to use a 32-bit kernel, and could you switch to a 64-bit kernel?

Cheers,
Shaun

@staticfloat
Copy link
Contributor Author

Hm. Interesting. When I bought this processor, I could have sworn it said it was 32-bit only, but it appears I've got a 64-bit processor.

Switching to 64-bit is a non-trivial process; is there an inherent problem with 32-bit and homebrew?

@sjackman
Copy link
Member

No, it's quite fixable. It should be a one-line patch. Here's the code to fix:
https://github.com/Homebrew/linuxbrew/blob/linuxbrew/Library/Homebrew/os/linux/hardware.rb#L9

Is that something you'd like to do?

@staticfloat
Copy link
Contributor Author

Sure, I did it, and now I get:

$ brew install git
Error: Permission denied - /Library

@sjackman
Copy link
Member

Set HOMEBREW_CACHE. See #2
This issue could be improved for sure.

@staticfloat
Copy link
Contributor Author

That works, thanks!

@ghost ghost assigned sjackman Jun 29, 2013
@sjackman sjackman reopened this Jun 29, 2013
@sjackman sjackman reopened this Jun 29, 2013
tokiloki pushed a commit to tokiloki/linuxbrew that referenced this issue Aug 18, 2013
Closes Linuxbrew#16

Closes #20903.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
handyman5 pushed a commit to handyman5/homebrew that referenced this issue Oct 7, 2013
Closes Linuxbrew/legacy-linuxbrew#16

Closes Homebrew#20903.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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