我的windows下安装有:msysgit软件,我从官方网站克隆gitolite,安装总是失败,执行到
gl-system-install,该如何设置环境变量,谢谢
$ ./gl-setup /tmp/test.pub
./gl-setup: line 102: /usr/share/gitolite/conf/example.gitolite.rc: No such file or directory
Use of uninitialized value $template in substitution (s///) at /home/test/gitolite/src/./gitolite_env.pm line 149.
Use of uninitialized value $template in substitution (s///) at /home/test/gitolite/src/./gitolite_env.pm line 150.
Use of uninitialized value $template in substitution (s///) at /home/test/gitolite/src/./gitolite_env.pm line 151.
Use of uninitialized value $gitolite_env::REPO_UMASK in umask at /home/test/gitolite/src/./gitolite_env.pm line 65.
Use of uninitialized value $dir in -d at /home/test/gitolite/src/./gitolite.pm line 113.
Use of uninitialized value $dir in mkdir at /home/test/gitolite/src/./gitolite.pm line 114.
Use of uninitialized value $dir in concatenation (.) or string at /home/test/gitolite/src/./gitolite.pm line 114.
mkdir failed: No such file or directory
./gl-setup: line 188: /conf/gitolite.conf: No such file or directory
Use of uninitialized value $_[1] in open at /home/test/gitolite/src/./gitolite.pm line 123.
Use of uninitialized value $_[1] in concatenation (.) or string at /home/test/gitolite/src/./gitolite.pm line 123.
***** ABORTING *****
open failed: No such file or directory at /usr/local/bin/gl-compile-conf line 339
./gl-setup: line 197: cd: /home/test//gitolite-admin.git: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
error: could not lock config file .git/config: No such file or directory
error: could not lock config file .git/config: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
Use of uninitialized value $template in substitution (s///) at /home/test/gitolite/src/./gitolite_env.pm line 149.
Use of uninitialized value $template in substitution (s///) at /home/test/gitolite/src/./gitolite_env.pm line 150.
Use of uninitialized value $template in substitution (s///) at /home/test/gitolite/src/./gitolite_env.pm line 151.
Use of uninitialized value $gitolite_env::REPO_UMASK in umask at /home/test/gitolite/src/./gitolite_env.pm line 65.
Use of uninitialized value $dir in -d at /home/test/gitolite/src/./gitolite.pm line 113.
Use of uninitialized value $dir in mkdir at /home/test/gitolite/src/./gitolite.pm line 114.
Use of uninitialized value $dir in concatenation (.) or string at /home/test/gitolite/src/./gitolite.pm line 114.
mkdir failed: No such file or directory
./gl-setup: line 215: cd: /keydir: Not a directory
sshkeys-lint: WARNING: authkeys line 3 (shell access) will be ignored by sshd; same key found on line 1 (shell access)
export path="/home/test/bin:$PATH";
执行后,还是安装不成功.
test@LUOBO-20120812K ~/gitolite/src
$ ./gl-setup -q /tmp/test.pub
./gl-setup: line 102: /usr/share/gitolite/conf/example.gitolite.rc: No such file or directory
error parsing /home/test/.gitolite.rc
Compilation failed in require at ./gl-query-rc line 17.
error parsing /home/test/.gitolite.rc
Compilation failed in require at ./gl-query-rc line 17.
error parsing /home/test/.gitolite.rc
Compilation failed in require at ./gl-query-rc line 17.
ENV GL_BINDIR not set
BEGIN failed--compilation aborted at /home/test/bin/gl-install line 17.
./gl-setup: line 188: /conf/gitolite.conf: No such file or directory
ENV GL_BINDIR not set
BEGIN failed--compilation aborted at /home/test/bin/gl-compile-conf line 16.
./gl-setup: line 197: cd: /gitolite-admin.git: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
ENV GL_BINDIR not set
BEGIN failed--compilation aborted at /home/test/bin/gl-install line 17.
./gl-setup: line 215: cd: /keydir: Not a directory
./gl-setup: line 216: /sshkeys-lint: No such file or directory
ENV GL_BINDIR not set?应该如何set