Git Product home page Git Product logo

tigerbrew's Introduction

Tigerbrew

A little experimental fork of Homebrew that adds support for PowerPC Macs, and Macs running Tiger (or Leopard).

Installation

You will first need the newest version of Xcode for your operating system installed. For Tiger that's Xcode 2.5, available from Apple here. For Leopard, Xcode 3.1.4, available from Apple here. Both downloads will require an Apple Developer account.

On the computer you're reading this on, control or right click this link and save it (the option will be something like "Save Link As" or "Download Linked File" depending on your browser) to disk:

https://raw.github.com/mistydemeo/tigerbrew/go/install

Transfer it to your Tiger or Leopard machine along with Xcode.

Type ruby followed by a space into your terminal prompt, then drag and drop the install file onto the same terminal window, and press return.

You'll also want to make sure that /usr/local/bin and /usr/local/sbin are in your PATH. (Unlike later Mac OS versions, /usr/local/bin isn't in the default PATH.) If you use bash as your shell, add this line to your ~/.bash_profile:

export PATH=/usr/local/sbin:/usr/local/bin:$PATH

What Packages Are Available?

  1. You can browse the Formula directory on GitHub.
  2. Or type brew search for a list.
  3. Or use brew desc to browse packages from the command line.

More Documentation

brew help or man brew or check our wiki.

FAQ

How do I switch from homebrew?

Run these commands from your terminal. You must have git installed.

cd `brew --repository`
git remote set-url origin https://github.com/mistydemeo/tigerbrew.git
git fetch origin
git reset --hard origin/master

Something broke!

Many of the formulae in the repository have been tested, but there are still many that haven't been tested on Tiger and/or PowerPC yet. If something doesn't work, report a bug (or submit a pull request!) and we'll get it working.

Credits

Homebrew is originally by mxcl, a splendid chap. This fork is by mistydemeo, incorporating some code originally written by @sceaga.

License

Code is under the BSD 2 Clause (NetBSD) license.

tigerbrew's People

Contributors

0xffea avatar adamv avatar afh avatar anarchivist avatar asaph avatar bfontaine avatar brettkoonce avatar dholm avatar domt4 avatar dstftw avatar dunn avatar jacknagel avatar jaimemf avatar lovebug356 avatar manphiz avatar mikemcquaid avatar mindtooth avatar mistydemeo avatar mkhl avatar mnaberez avatar mxcl avatar nijikon avatar noctem avatar samueljohn avatar sevan avatar sharpie avatar tdsmith avatar tschoonj avatar vszakats avatar xu-cheng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tigerbrew's Issues

The formula for tokyo-cabinet is broken for Tiger and Leo PPC.

Two bugs in the formula for tokyocabinet (called 'tokyo-cabinet' here in brew land).

(1) Neither TigerPPC nor LeopardPPC will brew tokyo-cabinet with the configure flag --enable-fastest set. This is the case even outside of tigerbrew, i.e., a plain old build. I solve this by removing that flag from the formula. I don't know whether intel is affected.

(2) Also I found that on TigerPPC, tokyo-cabinet will not build at all unless apple-gcc42 is installed. This is weird because tokyocabinet will compile and build just find outside of tigerbrew, and has done so for years on just the standard Tiger XCode. Using --env=std didn't fix it either. I've put the error message, the appropriate config.log, and brew --env into this gist: https://gist.github.com/chdiza/5376672.

I find bug (2) strange, and would hope that apple-gcc42 isn't really needed after all.

I can't recall for sure, I but I believe that bug (2) only touches Tiger, not Leo.

git 1.8.2.2 won't build on Tiger PPC

Git 1.8.2.2 refuses to build on tigerbrew on Tiger PPC. 1.8.2.1 worked fine.

Here is what happens: https://gist.github.com/chdiza/5523575

Though that gist shows I was using apple-gcc42, that doesn't matter; I first noticed the issue without having apple-gcc42 installed, and then installed it in the hopes that it would fix the build failure.

gmp-5.11 will not build (Leopard)

tmp-add_n.s:98:rldicl instruction is only for 64-bit implementations (not allowed without -force_cpusubtype_ALL option)

same file, same issue 'std', line 100.

gnupg2 refuses to build correctly on 10.5.8PPC, works perfectly on TigerPPC

I tried twice in the last five months to get gnupg2 to build on 10.5.8 PPC. I mean, I really tried (to the best of my limited ability). To no avail. Gnupg2 would always freak out during the "make check", and endlessly spawn new gpg-agent instances (worse: each instance attempted to eat all the CPU it could possibly find). I tried this first just from bare source, from the gnupg archives. I tried versions 2.0.14 thru 2.0.19, to no avail, same exact problem everytime. Then when I started using homebrew, I tried from within Tigerbrew. Same problem.

It appeared to me that everything about gnupg2 (i.e., it's myriad deps) had built fine, except either gpg-agent or that aspect of gnupg2 proper which interfaces with gpg-agent.

The endless gpg-agent spawns happened quickly enough that my poor Powerbook G4 12-inch ground to a halt because of all the CPU hogging. I couldn't even quit them fast enough in Activity Monitor. They didn't respond to killall [process number].

I would get a message in the terminal saying to "set a breakpoint" somewhere, but I didn't know what that meant.

I thought that MacGPG's crappy 2.0.16 .pkg file, which I had been using, messed things up with it's putting of all kinds of potentially screwy libs right in /usr/local/lib (e.g., gettext, libiconv). But I deleted all traces of it, and still the exact problems arose.

Oddly, gnupg2 works beautifully on 10.4.11PPC. Moreover, I never had a problem compiling plain gnupg (v. 1) on 10.5.8 PPC.

When I get a chance on my Leopard machine I'll try to build to see if the output proves useful.

G5/970 support?

Hi Misty.

I'm pretty new to GitHub so I don't know if this is an appropriate venue for this question or not. I wanted to know if you are planning to support 64-bit builds for G5 processors at any point. I'm sure that adds another layer of headache to what is otherwise an obvious labor-of-love, so this is an inquiry, rather than cajoling. :-)

Add formula for newer ld

Certain software, like git, is running into issues with the old ld shipped by Tiger. In the long term, investigate the possibility of shipping a newer ld for those packages which need it.

What about Leopard 10.5 ?

As far as I know 10.5 is the latest PPC based OS X.
And homebrew core does not support 10.5 any longer.

How to make homebrew use a specific version of a library?

Hi.

This is actually a question (or, perhaps, a bug, depending on how "it just works" you expect the system to be).

The problem, as we know if 10.4 and 10.5 is that the system provided libraries are older than what some software require, which may make, say, the configure step of some programs simply fail rejecting the versions that we have in our system of, say, libxml2 (I forget which packages I tried to install, but I saw this kind of error more than once).

With that in mind, what would be the proper/elegant way of telling a formula that, on tiger or leopard, we not only require a specific package, but also tell the build system to use that version, especially if the dependency is a keg-only formula?

I would like to fix some of these issues here and, of course, once I do that, send some ammended formulas for tigerbrew.

Thanks.

No GCC found

Hi. First of all, thank you very much for maintaing this for fork of homebrew for older PPC machines.

I installed tigerbrew a few hours ago and one of the first things I tried to do was to install git (of course). Unfortunately, that failed because in ENV.rb, the only version of GCC that is looked for is gcc-4.2 (resp. g++-4.2), but Xcode 2.5 (the last one available for Tiger) only supplies gcc 3.3 and gcc 4.0.

After changing that directly, I could start grabbing some things with brew (but I had some other problems which I will describe later).

Sorry for not sending a patch at this time.

sdl_image 1.2.11 and newer won't build on Tiger

Beginning with 2.1.11, sdl_image uses some CGColorSpace code which was first added to 10.5. Tiger is stuck with 1.2.10 unless someone is interested in writing replacement code for Tiger.

The code in question is in IMG_ImageIO.m.

brew refuses to install gcc4.2 on my ppc leopard 10.5.8

My XCode only has gcc4.0, not 4.2, so when I try to get the brew version:

graphmac:~ god$ brew install apple-gcc42
gcc-4.2 is only provided for Tiger, as it is officially available
from an Xcode shipped with Leopard.
Error: An unsatisfied requirement failed this build.
graphmac:~ god$

Any ideas? I have ppc 10.5.8 machine and can maintain a homebrew for that configuration, if you can help me get started

`brew doctor` emitting some weirdness, Tiger PPC

brew doctor just spit out some weirdness I've never seen before:

Error: Failed to import: appledoc
Error: Failed to import: asymptote
Error: Failed to import: auctex
Error: Failed to import: blueutil
Error: Failed to import: chktex
Error: Failed to import: dbslayer
Error: Failed to import: fontforge
Error: Failed to import: imagesnap
Error: Failed to import: inspircd
Error: Failed to import: irrlicht
Error: Failed to import: jstalk
Error: Failed to import: latex-mk
Error: Failed to import: libmxml
Error: Failed to import: libpqxx
Error: Failed to import: libzdb
Error: Failed to import: lilypond
Error: Failed to import: macvim
Error: Failed to import: minizinc
Error: Failed to import: mogenerator
Error: Failed to import: mongodb
Error: Failed to import: mydumper
Error: Failed to import: mysql-proxy
Error: Failed to import: pdfjam
Error: Failed to import: pg_top
Error: Failed to import: pgpool-ii
Error: Failed to import: pgtap
Error: Failed to import: postgres-xc
Error: Failed to import: pypy
Error: Failed to import: saga-core
Error: Failed to import: slony
Error: Failed to import: v8
Error: Failed to import: vim
Error: Failed to import: wry
Error: Failed to import: xctool
Error: Failed to import: zabbix

libxml2 failed to build on 10.4

See gist https://gist.github.com/rghammonds/5600165

$ brew doctor
Your system is ready to brew.
$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install libxml2 > libxml2_brew_log &
[1] 3810
$ ranlib: file: .libs/libxml2.a(xzlib.o) has no symbols
ranlib: file: .libs/libxml2.a(xzlib.o) has no symbols
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
_gzdirect
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: libxml2 did not build

Error: operation is already in progress for apr

Trying to brew install subversion results in this error:

Error: Operation already in progress for apr
Another active Homebrew process is already using apr.
Please wait for it to finish or terminate it to continue.

But no Homebrew processes are running. /Library/Caches/Homebrew/Formula is also starting to fill up with *.brewing files. Removing all of them and trying to brew install subversion results in *.brewing files for all dependencies showing up again.

Removing apr doesn't change the error while installing subversion. I can reinstall apr just fine.

I was able to install zile successfully today, with its two dependencies, so it doesn't happen for all formulae. I tried installing autoconf, which also depends on a tap in homebrew/dupes, and it started to download m4 just fine. There is even an m4.brewing in /Library/Caches/Homebrew/Formula but it doesn't raise an error.

gcc-4.0 is used even when apple-gcc42 is installed.

With gcc-4.2 installed from the apple-gcc42 package, brew still used gcc-4.0. I thought it might be because brew was locating gcc in /usr/bin before /usr/local/bin (macos.rb)

In the meantime, I have used the following commands allowed brew to start using gcc-4.2:

sudo ln -s /usr/local/bin/gcc-4.2 /usr/bin/
sudo ln -s /usr/local/bin/g++-4.2 /usr/bin/
sudo ln -s /usr/local/include/gcc/darwin/4.2 /usr/include/gcc/darwin/
sudo gcc_select 4.2

git 1.8.2.3 not building

==> Downloading http://git-core.googlecode.com/files/git-1.8.2.3.tar.gz

################################################################## 100.0%

==> make prefix=/usr/local/Cellar/git/1.8.2.3 CC=/usr/bin/gcc-4.2 CFLAGS=-Os -w -pipe -mcpu=970 -m64 -mmacosx-versio
_write_idx_file in libgit.a(pack-write.o)
_diff_flush_patch_id in libgit.a(diff.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

And here's the brew --config:
https://gist.github.com/anonymous/5579515

Odd build failures for things like imagemagick, git, ghostscript on 10.4.11PPC

Sometime recently image magick, git, and ghostscript started failing to to build. I see strange error messages. For instance, here's what happened when I tried to brew install imagemagick: https://gist.github.com/chdiza/5350314

What the heck is zlib doing among the things tigerbrew thinks is necessary? That doesn't appear in any of imagemagick's deps.

Here is brew --config: https://gist.github.com/chdiza/5350324

Here is brew --env: https://gist.github.com/chdiza/5350336

This happens on totally fresh tigerbrew installs, and it happens whether or not I install cctools and its deps.

Doctor output is here:https://gist.github.com/chdiza/5350356

The non-keg only autoconf is unavoidable, because without it it's impossible to build mutt. Besides, that was always there and never caused any problems before.

Note the weird doctor complaint about m4. m4 is already installed using a custom formula (required for mutt), so I don't know why the doctor thinks there needs to be a formula for it. Again, this never happened before.

Git error installing on 10.5 PPC

I'm trying to run "rvm install 1.9.3" on my Powerbook G4 running Leopard and since homebrew is not supported I tried using tigerbrew

Here is the output:
Mak:~ priyesh$ ruby -e "$(curl -fsSkL http://raw.github.com/mistydemeo/tigerbrew/go)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
==> The following directories will be made group writable:
/usr/local/.
/usr/local/bin
/usr/local/include
/usr/local/lib
/usr/local/share
/usr/local/share/man
/usr/local/share/man/man1
/usr/local/share/man/man3
/usr/local/share/doc
==> The following directories will have their group set to admin:
/usr/local/.
/usr/local/bin
/usr/local/include
/usr/local/lib
/usr/local/share
/usr/local/share/man
/usr/local/share/man/man1
/usr/local/share/man/man3
/usr/local/share/doc

Press ENTER to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/man/man3 /usr/local/share/doc
Password:
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/. /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/man/man3 /usr/local/share/doc
==> Downloading and Installing Homebrew...
error: The requested URL returned error: 403
fatal: Couldn't find remote ref master
Failed during: git fetch origin master:refs/remotes/origin/master -n

Perhaps we can figure out whats required to get this working on Leopard together :)

FYI, my ultimate goal is to get SiriProxy working which requires rvm so this is just one step towards that.

libgphoto2 failed to build on mac OS 10.4

see https://gist.github.com/rghammonds/5273673 for details

errors:
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
conftest.c:35:21: error: libintl.h: No such file or directory
conftest.c:45: error: conflicting types for 'libiconv'
conftest.cpp:24:28: error: ac_nonexistent.h: No such file or directory
conftest.c:35:21: error: libintl.h: No such file or directory
conftest.c:36:21: error: libintl.h: No such file or directory
conftest.c:45: error: conflicting types for 'libiconv'
/usr/include/iconv.h:82: error: previous declaration of 'libiconv' was here
conftest.c:43: error: nested functions are disabled, use -fnested-functions to re-enable
conftest.c:44: error: nested functions are disabled, use -fnested-functions to re-enable
conftest.c:47: error: nested functions are disabled, use -fnested-functions to re-enable
conftest.c:80:20: error: mcheck.h: No such file or directory
conftest.c:47:20: error: mcheck.h: No such file or directory
conftest.c:85: error: parse error before ')' token
conftest.c:69:24: error: sys/statfs.h: No such file or directory
conftest.c:70:21: error: sys/vfs.h: No such file or directory
conftest.c:85: error: 'struct statfs' has no member named 'f_favail'
conftest.c:74: error: storage size of 'ac_aggr' isn't known
conftest.c:67:22: error: byteswap.h: No such file or directory

Something is wrong wrt brewing git

Something's wrong with the latest pull of tigerbrew on Tiger PPC.

Firstly I noticed that brew outdated didn't show git 1.8.2.3, even though the brewed version is 1.8.2.2.

So I did brew remove git. Then when I did brew install -d git, I got this nonsense:

Error: No available formula for git 
/usr/local/Library/Homebrew/formula.rb:468:in `factory'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `formulae'
/usr/local/Library/Homebrew/cmd/install.rb:25:in `install'
/usr/local/Library/brew.rb:81:in `send'
/usr/local/Library/brew.rb:81

This is weird; there is a formula for git in /usr/local/library/formula.

I tried it with a custom git formula too: brew install -d ./git, with the same error message.

Other formulas will still brew like normal.

`brew untap homebrew/foo` chokes w/ error message

Previously I had succesfully done brew tap homebrew/dupes.

Now doing brew untap homebrew/dupes gives the following:

Error: undefined method `count' for #<Array:0x38c5e8>
Please report this bug:
    https://github.com/mistydemeo/tigerbrew/wiki/troubleshooting
/usr/local/Library/Homebrew/cmd/untap.rb:24:in `untap'
/usr/local/Library/brew.rb:81:in `send'
/usr/local/Library/brew.rb:81

This is on 10.5.8PPC. Other taps fail to untap too, with the same error message.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.