git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: First time compiling source

From
Alex Riesen <raa.lkml@gmail.com>
Date
Jan 15, 2008, 21:23 UTC
Message-ID
<20080115212332.GD3213@steel.home>
In-Reply-To
<c0f2d4110801151234i2292ad2aw48e38f4f4fcb5ee7@mail.gmail.com>
Chris Ortman, Tue, Jan 15, 2008 21:34:12 +0100:
Show 17 quoted lines
> Up until today I've always run git off whatever debs come with ubuntu.
> But if I'm going to try to do some work I figured I should be
> compiling from source.
> 
> To compile I did
> git co -b current v1.5.3.8
> make
> make install
> 
> then to check
> which git
> /home/chrisortman/bin/git
> as expected
> 
> however git --version still reports 1.5.2.5
> 
> What did I miss?

The git in /usr/bin is stuck in hashed paths of your shell? For instance, bash remembers all the programs it managed to exec.

Previous: Chris Ortman
Message 4 of 4 in “First time compiling source”
  1. Chris OrtmanJan 15, 2008
  2. Jeff KingJan 15, 2008
  3. Chris OrtmanJan 15, 2008
  4. Alex RiesenJan 15, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.