Re: Upgrading GIT via MacPorts OS X Mountain Lion
Mark Ritchie <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
Silly me for reading on a small screen... I missed that you were already installing a variant. So I gave that a whirl and it seems to have worked too: sudo port install git-core +svn +bash_completion ... ---> Deactivating git-core @1.7.12.3_1+credential_osxkeychain+doc+pcre+python27 ---> Cleaning git-core ---> Activating git-core @1.7.12.3_1+bash_completion+credential_osxkeychain+doc+pcre+python27+svn ... HTH, Mark On 30 Oct, 2012,at 07:39 PM, Mark Ritchie <[email protected]> wrote: Interesting pointer to homebrew, I'll have to check that out. For the record, sudo port install git-core Just worked for me on 10.8.2 Recently cleanly installed the machine and only about 8 previous port installs (top level requests, not counting all the bits which for example support wireshark. ;-) I got git-core @1.7.12.3, Revision 1 (devel) in case the specific version helps. In the past I've had success with building variants when the default would not build. YMMV widely. ;-) Good luck! Mark Sent from my iPhone On 2012-10-30, at 16:45, Maik Musall <[email protected]> wrote: > Hi Michael, > > I suggest moving away from macports and use homebrew. Much less hassle. I've started with a few machines and have now migrated all of them. > > Maik > > > Am 30.10.2012 um 21:34 schrieb Michael Hast <[email protected]>: > >> Hello: >> >> I watched Kieran's talk about GIT from last years WOWODC. He has a slide >> approving MacPorts to install git. Well git is already installed on my >> Mac OS X (Mountain Lion) machine, but I would like to upgrade it. I am >> using MacPorts todo so. >> >> sudo port install git-core +svn+bash_completion >> >> I get the error: >> >> :info:configure checking whether the C compiler works... no >> :info:configure configure: error: in >> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work/expat-2.1.0': >> :info:configure configure: error: C compiler cannot create executables >> :info:configure See `config.log' for more details >> >> From the config.log I get: >> >> configure:3215: >> /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -pipe >> -O2 -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64 >> conftest.c >&5 >> ld: library not found for -lcrt1.10.6.o >> collect2: ld returned 1 exit status >> >> It can't find crt1.10.6.o, so I did the following: >> >> export C_INCLUDE_PATH=/Developer/SDKs/MacOSX10.7.sdk/usr/include >> export LIBRARY_PATH=/Developer/SDKs/MacOSX10.7.sdk/usr/lib >> >> I still get the same error. Has anyone used MacPorts with Xcode 4.5.1 >> installed on Mountain Lion to install/upgrade git? >> >> Michael >> -- >> Tel: (602) 279-4600 ext: 635 >> Desert Sky Software: www.desertsky.com >> Specializing in the Development and Hosting of >> e-Business Applications. >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_sfd2d_oct >> _______________________________________________ >> Wonder-disc mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/wonder-disc > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Wonder-disc mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wonder-disc ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Wonder-disc mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wonder-disc ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Wonder-disc mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wonder-disc