Comments on: git package for Mac OS X http://metastatic.org/text/Concern/2007/08/18/git-package-for-mac-os-x/ In Which We Worry and Complain Out Loud in Our Outside Voice Wed, 22 Jul 2009 22:24:06 -0700 http://wordpress.org/?v=2.8.4 hourly 1 By: roger http://metastatic.org/text/Concern/2007/08/18/git-package-for-mac-os-x/comment-page-1/#comment-72163 roger Wed, 04 Jun 2008 23:06:34 +0000 http://metastatic.org/text/Concern/2007/08/18/git-package-for-mac-os-x/#comment-72163 looks like the macport version has version 1.5.5, as an option, too :) looks like the macport version has version 1.5.5, as an option, too :)

]]>
By: csm http://metastatic.org/text/Concern/2007/08/18/git-package-for-mac-os-x/comment-page-1/#comment-44899 csm Thu, 20 Sep 2007 02:54:12 +0000 http://metastatic.org/text/Concern/2007/08/18/git-package-for-mac-os-x/#comment-44899 You should only need expat if you want to enable git-push over http/https. The configure script should detect that it isn't there. FWIW, the configure and compile commands I used (for the 1.5.3.1 release) are: <blockquote><code>NO_DARWIN_PORTS=1 CFLAGS='-O -arch i386 -arch ppc' LDFLAGS='-arch i386 -arch ppc' ./configure --prefix=/usr/local make NO_DARWIN_PORTS=1 make install NO_DARWIN_PORTS=1 DESTDIR=/Users/csm/Source/git-install</code></blockquote> Then I use PackageMaker to create the package. My system has MacPorts on it, and you need to do something similar to NO_DARWIN_PORTS if you use fink. You should only need expat if you want to enable git-push over http/https. The configure script should detect that it isn’t there.

FWIW, the configure and compile commands I used (for the 1.5.3.1 release) are:

NO_DARWIN_PORTS=1 CFLAGS='-O -arch i386 -arch ppc' LDFLAGS='-arch i386 -arch ppc' ./configure --prefix=/usr/local
make NO_DARWIN_PORTS=1
make install NO_DARWIN_PORTS=1 DESTDIR=/Users/csm/Source/git-install

Then I use PackageMaker to create the package. My system has MacPorts on it, and you need to do something similar to NO_DARWIN_PORTS if you use fink.

]]>
By: Greg WIshart http://metastatic.org/text/Concern/2007/08/18/git-package-for-mac-os-x/comment-page-1/#comment-44893 Greg WIshart Wed, 19 Sep 2007 23:34:54 +0000 http://metastatic.org/text/Concern/2007/08/18/git-package-for-mac-os-x/#comment-44893 Thanks for this! I tried building git for OSX so I could get LINA to build but kept getting an annoying "/usr/bin/ld: can't locate file for: -lexpat" error. How did you get around that? Thanks for this! I tried building git for OSX so I could get LINA to build but kept getting an annoying “/usr/bin/ld: can’t locate file for: -lexpat” error. How did you get around that?

]]>