mistydemeo / tigerbrew

Experimental fork of homebrew for PPC Macs on Tiger
Other
542 stars 130 forks source link

Unable to install on a PPC xserve running os x 10.4.11 #99

Closed pkropf closed 11 years ago

pkropf commented 11 years ago

core:~ admin$ ruby -e "$(curl -fsSkL raw.github.com/mistydemeo/tigerbrew/go)" ==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1

Press ENTER to continue or any other key to abort ==> Downloading and Installing Homebrew... csh: if: Missing file name. -e:180: command not found: --version -e:80:in git': undefined method<' for nil:NilClass (NoMethodError) from -e:148 from -e:147:in `chdir' from -e:147 core:~ admin$

mistydemeo commented 11 years ago

Can you retry the installer? There was a bug in the git version parsing if you didn't have git installed.

mistydemeo commented 11 years ago

Also, can you tell me what the output is on Tiger of running /usr/bin/which -s git?

pkropf commented 11 years ago

core:~ admin$ ruby -e "$(curl -fsSkL raw.github.com/mistydemeo/tigerbrew/go)" ==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1

Press ENTER to continue or any other key to abort ==> Downloading and Installing Homebrew... csh: if: Missing file name. /bin/bash: line 0: /bin/bash: pipefail: invalid option name Failed during: /bin/bash -o pipefail -c '/usr/bin/curl -fsSLk https://github.com/mxcl/homebrew/tarball/master | /usr/bin/tar xz -m --strip 1' core:~ admin$

pkropf commented 11 years ago

This is very strange:

core:~ admin$ /usr/bin/which -s git csh: if: Missing file name. core:~ admin$

ghost commented 11 years ago

I'll jump in here as well. I'm running a 7450e PPC Tiger Powerbook. I just installed XCode 2.5 earlier today and was running into the same initial error pkropf had and now I'm duplicating pkropf's most recent error.

This is what I'm seeing now:

new-host-3:~ apple$ echo $PATH /usr/local/sbin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin new-host-3:~ apple$ ruby -e "$(curl -fsSkL raw.github.com/mistydemeo/tigerbrew/go)" ==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1

Press ENTER to continue or any other key to abort ==> Downloading and Installing Homebrew... csh: if: Missing file name. /bin/bash: line 0: /bin/bash: pipefail: invalid option name Failed during: /bin/bash -o pipefail -c '/usr/bin/curl -fsSLk https://github.com/mxcl/homebrew/tarball/master | /usr/bin/tar xz -m --strip 1'

mistydemeo commented 11 years ago

Hm, I guess this is Tiger's which acting deficient again. I'll replace the shelling out with a copy of the helper function from the main homebrew code.

/bin/bash: line 0: /bin/bash: pipefail: invalid option name

pipefail must not have been added until bash 3.x. I'll remove that call here.

mistydemeo commented 11 years ago

OK, retry - removed pipefail, replaced which with the helper from homebrew, and fixed another couple of things. Should be working now.

ghost commented 11 years ago

Worked flawlessly! Thanks!! After this initial setup, what are the main differences that I should look for between this and homebrew? I have done a fair amount of research on Tigerbrew, well looked at about everything I could find. I still don't understand if this is it's own beast or if Tigerbrew is a way to just get Tiger users to where 10.5+ users are with Homebrew.

pkropf commented 11 years ago

Oh yeah, much better! Thanks for the quick turn around and fix.

mistydemeo commented 11 years ago

Great, glad it's working!

After this initial setup, what are the main differences that I should look for between this and homebrew?

The goal of tigerbrew is basically to let users on Tiger/anything and Leopard/PPC run anything that people on Intel and newer OS X versions can get with homebrew. That's not always possible (some software simply will not work on PowerPC, or on older OS X versions), but I try to get as much working as absolutely possible.

There are three main areas of changes:

Let me know if you have any other questions! I really need to document some of this stuff more clearly.

ghost commented 11 years ago

This is great. You've really gone out of your way to help. I appreciate it.