jcfiala: (Default)

This is a blog post copied from John's Website - please feel free to join him there and post comments. He has set up openid, so you can post there with your livejournal account using your openid, which is the same as your journal url minus the http://. You can find this entry at http://www.jcfiala.net/blog/2011/02/26/compiling-git.

So, I like working on Drupal in virtual machines, and my favorite is to use Ubuntu 8.04, because it's got PHP 5.2.x, which Drupal 6 works with better than it does PHP 5.3.x. Unfortunately, the git that Ubuntu provides us with is from 1.5.x, which doesn't allow use of git clone --branch. And the git
instructions seem to require those. What to do? Happily, you can compile git yourself:

  1. First, get rid of git if you've already installed it - sudo apt-get remove git-core should do that.
  2. apt-get install build-essential
  3. Download the latest version of git. http://kernel.org/pub/software/scm/git/git-1.7.4.1.tar.bz2 works currently.
  4. sudo apt-get build-dep git-core
  5. tar xjf git-1.7.4.1.tar.bz2 (or whichever version you downloaded)
  6. Change directive into the new directory.
  7. ./configure
  8. make
Read more... )

October 2020

S M T W T F S
    123
45678910
11121314151617
18192021222324
25262728293031

Syndicate

RSS Atom

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 13th, 2025 09:03 am
Powered by Dreamwidth Studios