|
BuildYourOwn
The git repo contains the build script that I have been using. git clone git://github.com/timcharper/git_osx_installer.git |
► Sign in to add a comment
|
Search
|
|
BuildYourOwn
The git repo contains the build script that I have been using. git clone git://github.com/timcharper/git_osx_installer.git |
how do we upgrade git?
how do we uninstall? if I delete the folder here: /usr/local/git, and I delete the git files here /etc/paths.d and here /etc/manpaths.d, then will git be completely uninstalled? or were there other changes made when i installed it?
thanks! :)
Yes - you are correct
Thanks!
I noticed there's a newer version. Is there an easy way to upgrade, or should I just uninstall as instructed and reinstall the new version?
Also, if I have mac ports installed, do u recommend I do <code>sudo port install git-core +svn</code> or should i used the git-osx-installer. and why?
I know I can also compile from source, but I'm lazy and don't really care that much how it all works... :)
Will there be any x86_64 builds? Or will I need to build my own? We're having a problem where very large files (a couple gigs or more) are crashing due to mmap() failures, and are wondering whether or not a 64-bit build would fix the problem. I'm willing to build it myself, assuming it's feasible, but we've heard of other people on the net having similar problems, so perhaps a 64 bit build isn't an unreasonable request?
Okay, we did our own 64-bit build and it seems to work fine. My notes are below... not as a recommended approach, just something of a record of what we did here.
We didn't try to package it up into a .dmg, I just tarred up the directories
/usr/local/git// /etc/paths.d/git /etc/manpaths.d/git
and handed it off to the person who needed it, who reported back that after unpacking the pieces and putting them in the right place, things worked just fine.
FYI.
Sarah
so i've hacked my Makefile to avoid what i don't have(expat.h, tkl)
$ make LDFLAGS="-L/usr/lib" prefix=/usr/local/git /usr/bin/ld: Undefined symbols: ERR_error_string ERR_get_errorbut i've got:
/usr/lib/libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.dylib /usr/lib/libcrypto.dylib
wtf?
I've got the same questions as liveloveprosper, how best to upgrade?
Why aren't there new packages for PPC? :-( I'm using PowerBook? G4 now. It's old but still works fine. Unfortunately, building packages is very slow on it. :-( Hope to download newer PPC binary.
exaos.lee - I'm still waiting for someone to step up to the plate, as I have no powerbook mac in my possession I'd be least qualified to perform the task.
Re: how to best upgrade from a port install to the package installer, you've a few options:
A) Use the port uninstall feature, and then install the package.
B) Install the package, and then make sure the /opt/local/bin comes after /usr/local/git/bin in your path
C) Manually remove the old git, and all of it's support files. This can be dangerous as you must be root to perform the task. You may wish to create a backup before you let a wood-chipper loose in the forest.
Uninstallation instructions for the package are included in the disk image. But, since they are brief, I will simply confirm that you are correct, liveloveprosper
Note, btw, that for those wanting 64 bit versions or ppc versions, I uploaded a build.sh to Issue 20 that will automatically create full universal binaries (ppc/ppc64/i386/x86_64) when building.
I installed git through the dmg installer on this page. typing git command to install some textmate bundles gives me : git - command not found. is there anything else i have to do to make it work?
Updating to snow leopard, you will need to re-create the /etc/path.d/git and /etc/manpaths.d/git files, since apparently they get deleted in the process.
How can I install/compile git on OSX 10.4
Hi Tim Charper,
After analyzing your source code from the GitHub? link you provided above, and also reviewing the Makefile & INSTALL files in the git package, and reading up on make and other compiler things, I decided to do a Git install from source since I already had Xcode installed. Also, although it's easier to install Git with the installer, I wanted to have more control, get the latest version, and learn more about how compiling & installing from source works in general and with Git specifically.
I saved my commands and then decided to post this git-install.sh script: http://www.mattdipasquale.com/blog/2010/05/30/instructions-how-to-install-git-from-source-on-mac-os-x-10-6-snow-leopard-intel-x86-32-bit
It automatically detects the latest stable release of Git and installs it for you. It even installs git-completion.bash, and you can run it again when a new release of Git comes out and it will update your installed version of Git by overwriting it (installing into the same directory).
Matt
I was able to use the above script to compile current git for Mac OS X 10.5.8 PowerPC by simply replacing 10.6 with 10.5 and i386 with ppc.