Error Port Git-core Not Found
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How to install git with Macports? up vote 2 down vote favorite Git used to work fine on my Mac OS X. Today i found it not working: $ git -bash: git: command not found I installed previously with Macports. Now if i try again, the following happens: $ sudo port install git-core Portfile changed since last build; discarding previous state. ---> Computing dependencies for git-core ---> Fetching archive for git-core ---> Attempting to fetch git-core-1.8.0.2_0+credential_osxkeychain+doc+pcre+python27.darwin_10.x86_64.tbz2 from http://packages.macports.org/git-core ---> Attempting to fetch git-core-1.8.0.2_0+credential_osxkeychain+doc+pcre+python27.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/git-core ---> Attempting to fetch git-core-1.8.0.2_0+credential_osxkeychain+doc+pcre+python27.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/git-core ---> Fetching distfiles for git-core ---> Attempting to fetch git-1.8.0.2.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/git-core ---> Attempting to fetch git-manpages-1.8.0.2.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/git-core ---> Attempting to fetch git-htmldocs-1.8.0.2.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/git-core ---> Verifying checksum(s) for git-core ---> Extracting git-core ---> Applying patches to git-core ---> Configuring git-core ---> Building git-core ---> Staging git-core into destroot ---> Installing git-core
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The http://stackoverflow.com/questions/13889177/how-to-install-git-with-macports best answers are voted up and rise to the top Cannot install git-core using macports up vote 0 down vote favorite Snow Leopard 10.6.4 mac ports 1.9.1 I have just installed macports and I want to install git-core. However, I get the following errors: ---> Computing dependencies for git-core ---> Dependencies to be installed: python26 db46 gdbm readline sqlite3 rsync popt ---> Building db46 Error: Target http://superuser.com/questions/203088/cannot-install-git-core-using-macports org.macports.build returned: shell command failed Log for db46 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/main.log Error: The following dependencies failed to build: python26 db46 gdbm readline sqlite3 rsync popt Error: Status 1 encountered during processing. To report a bug, see
intellij (4) java (429) jdbc (26) swing (74) jsp (9) latex (26) linux/unix (289) mac os x (315) mysql (54) ooa/ood (11) perl (156) php (97) postgresql (17) programming (43) ruby (56) scala (640) sencha (23) servlets (10) technology (84) testing (13) uml (24) zen (47) How to install Git on Mac OS X By Alvin Alexander. Last updated: June 3 2016 Mac Git installation FAQ: How do I install Git on Mac OS X? There are at least http://alvinalexander.com/mac-os-x/how-install-git-mac-os-x-osx two different ways to install Git on Mac OS X systems, and I've used both of http://apple.stackexchange.com/questions/18470/why-is-git-not-found-after-installing-os-x-lion these methods. The first approach is to use a Mac GUI installer, and the second is to use the command-line MacPorts project to install Git on Mac OS X. 1) Install Git on Mac OS X with the Git OS X installer The simplest way to install Git on Mac OS X is to use a project named "Git OS X installer", which is hosted on Google error port Code. As of this writing (June 14, 2010), this GUI installer is very up to date, with a recent release on May 7, 2010. Their support forum also seems active. I just used this Git installer to install Git on my iMac, which is running Mac OS X 10.6. The installer crashed the first time I tried to run it, but then I tried a second time, and it worked fine. The README file that comes with the installer error port git-core said that you can optionally run a shell script to get Git to work with GUI tools, and I did that as well. The shell script they provide had spaces in the filename, so I renamed it, opened a Terminal window, viewed the script source, and then ran it. I have to say, I don't know how necessary this is, but I know that I wouldn't remember to come back and do this later, so I did it now. After running this script you also need to log out, and log back in again for the changes to take effect. 2) Install Git on Mac OS X with MacPorts A second way to install Git is by using MacPorts. If you already have MacPorts installed on your system, and are comfortable using it, this is also a pretty easy option. I believe it's how I install Git on my MacBook Pro, which is running Mac OS X 10.5. To install Git on OS X using MacPorts, just run the MacPorts "port" command like this: sudo port install git-core +svn or perhaps like this: sudo port install git-core +svn +doc +bash_completion +gitweb to install Git on your Mac OS X system, depending on the options you'd like to have installed. (In a related note, I found that second command on the website for the excellent -- and free -- Pro Git book.) Git Mac GUI client As a fin
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Different Questions Tags Users Badges Unanswered Ask Question _ Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Why is Git not found after installing OS X Lion? up vote 84 down vote favorite 26 I just upgraded to OS X Lion and now cannot initialize Git where it used to work fine: $ git add . -bash: git: command not found I'm new to Git and to programming, so I'm sure it's a quick fix, any help is greatly appreciated. Thanks guys! lion migration share|improve this question edited Sep 11 '11 at 20:35 bmike♦ 116k38202441 asked Jul 20 '11 at 16:55 pruett migrated from stackoverflow.com Jul 24 '11 at 10:11 This question came from our site for professional and enthusiast programmers. 1 do you have macports installed? –jamapag Jul 20 '11 at 16:57 i do not...do you recommend installing? –pruett Jul 20 '11 at 16:58 9 personally I would install it using homebrew instead of macports - mxcl.github.com/homebrew –house9 Jul 20 '11 at 17:56 2 brew > ports, also maybe git just isn't in your $PATH any longer. Try sudo find / -name git and you might just find your binary. –Nick Radford Jul 20 '11 at 18:05 1 Why would you recommend Macports or Homebrew just for git? Just curious. I've been using code.google.com/p/git-osx-installer –Dan Rosenstark Apr 24 '12 at 22:45 | show 1 more comment 16 Answers 16 active oldest votes up vote 71 down vote If /usr/local/git already exists, you'll need to either add it to your $PATH or make a symlink placing the symlink inside a directory that is in your existing PATH. A common practice is to make /usr/local/bin if it doesn't exist and add a link: sudo -s mkdir -p /usr/local/bin ln -s /usr/local/git/bin/git /usr/local/bin/git exit share|improve this answer edited Aug 28 '13 at 21:55 Mark 6,53412243 answered Jul 21 '11 at 14:28 anler 81154 4 this is the proper answer –TheLindyHop Jul 21 '11 at 1