Click here to Skip to main content
       

System Admin

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionGit Problem [modified]memberMember 81895223 Nov '12 - 11:53 
I am trying to install Git on my lucid vpn, I followed this tutorial.
http://kris.me.uk/2010/09/30/git-repository-server-gitolite.html[^]
 
It worked until I run this command:
src/gl-system-install ~/bin ~/share/gitolite/conf ~/share/gitolite/hooks
 
Which it outputs
 
bash: src/gl-system-install: No such file or directory

I can't find anything on it, it is my first time running gitolite anyone have any advice?
 
EDIT:
Found a directory gl-system-install
 /home/git/src/gl-system-install


modified 3 Nov '12 - 22:25.

AnswerRe: Git ProblemmvpRichard MacCutchan3 Nov '12 - 21:37 
Member 8189522 wrote:
Found a directory gl-system-install
You need to search your directory tree for the executable (gl-system-install). Also you may like to check on the site where you downloaded this from to see if they have a support forum.
One of these days I'm going to think of a really clever signature.

GeneralRe: Git ProblemmemberAlbert Holguin20 Nov '12 - 7:53 
See my answer to him... seems to me like he just missed the "log in as git user" step.
GeneralRe: Git ProblemmvpRichard MacCutchan20 Nov '12 - 21:11 
I did not bother to read the article, assuming any Linux user would understand about directory trees and search paths.
One of these days I'm going to think of a really clever signature.

AnswerRe: Git ProblemmemberAlbert Holguin20 Nov '12 - 7:52 
Your error seems to indicate you didn't follow the step that said... log in under your git account:
Quote:
Log in as the git user:

If you had logged in under the git account... you would be in the home directory for that user... which is:
/home/git/
...therefore when you typed the command...
src/gl-system-install ~/bin ~/share/gitolite/conf ~/share/gitolite/hooks
...you would already be in the git home directory... therefore the location src/gl-system-install would make sense... if you're ANYWHERE else in the system, the call will fail.
 
Edit: Going over the short article again... it seems to assume you've configured su to change you from your current directory to the home directory of the user you've logged in as. This isn't the default behavior of su. So you'll have to either log off and log back in to be in the right home directory or just cd into the right home directory (or change the default behavior of su).

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 12 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid