I'm so sorry, but if it makes you feel any better, my fun-time-Buffy party night involved watching a robot throw Spike through a window, so if you want to trade... no wait, I wouldn't give up that memory for anything.

Buffy ,'Get It Done'


Buffistechnology 3: "Press Some Buttons, See What Happens."

Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!


Jon B. - May 31, 2009 12:06:06 pm PDT #10221 of 25501
A turkey in every toilet -- only in America!

Anyone use git? Actually, this may be more of a generic unix question. I installed git on my shared server using the instructions here. Namely,

cd ~/                          
test -d ~/src || mkdir ~/src   
cd ~/src                       
curl -O [link]
tar -xvzf git-1.6.3.1.tar.gz   
cd git-1.6.3.1 
./configure --prefix=$HOME
make
make install
echo "export PATH=$PATH:$HOME/bin" >> ~/.bashrc

It all seemed to run fine -- no errors. But when type "git" on the shell command prompt, I get the response "git: command not found". This happens even if I'm in the bin folder where I can clearly see that there's an executable (755) file called "git". What am I missing?


Tom Scola - May 31, 2009 12:07:56 pm PDT #10222 of 25501
Remember that the frontier of the Rebellion is everywhere. And even the smallest act of insurrection pushes our lines forward.

Try /usr/local/bin/git


Jon B. - May 31, 2009 12:16:24 pm PDT #10223 of 25501
A turkey in every toilet -- only in America!

The equivalent of that on my server is

/hsphere/local/home/wobbly/bin/git
and that DID work!

Now what?


Tom Scola - May 31, 2009 12:18:54 pm PDT #10224 of 25501
Remember that the frontier of the Rebellion is everywhere. And even the smallest act of insurrection pushes our lines forward.

You need to edit your .profile and add /usr/local/bin to your PATH.


Jon B. - May 31, 2009 12:22:18 pm PDT #10225 of 25501
A turkey in every toilet -- only in America!

Where would the .profile be? It's not in my home directory.


Tom Scola - May 31, 2009 12:25:53 pm PDT #10226 of 25501
Remember that the frontier of the Rebellion is everywhere. And even the smallest act of insurrection pushes our lines forward.

Create a .profile in your home directory containing the line

PATH=$PATH:/usr/local/bin


Jon B. - May 31, 2009 12:29:40 pm PDT #10227 of 25501
A turkey in every toilet -- only in America!

It's still not working. :(

I've got to run, but thanks for all your help so far, Tom!


DCJensen - May 31, 2009 4:27:45 pm PDT #10228 of 25501
All is well that ends in pizza.

What we're going to do right here is go back, back into time:

[link]


Jon B. - May 31, 2009 5:22:15 pm PDT #10229 of 25501
A turkey in every toilet -- only in America!

Turns out I needed to log out and log back in for the path addition in .profile to kick in.

Thanks, Tom!


tommyrot - Jun 01, 2009 10:32:22 am PDT #10230 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

In case Dana hasn't bought a netbook yet - from Lifehacker: Five Best Netbooks

Based on reader votes.