taozihk / git-core

Automatically exported from code.google.com/p/git-core
Other
0 stars 0 forks source link

git "make install" error #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure --prefix=/usr/local/git
   make
   make install
2.
3.

What is the expected output? What do you see instead?

[root@yao-linux git-1.7.6.3]# make
    SUBDIR gitweb
    SUBDIR ../
make[2]: `GIT-VERSION-FILE' is up to date.
    GEN git-instaweb
    SUBDIR git-gui
    SUBDIR gitk-git
make[1]: Nothing to be done for `all'.
    SUBDIR perl
    SUBDIR git_remote_helpers
    SUBDIR templates

[root@yao-linux git-1.7.6.3]# make install
    SUBDIR gitweb
    SUBDIR ../
make[2]: `GIT-VERSION-FILE' is up to date.
    GEN git-instaweb
    SUBDIR git-gui
    SUBDIR gitk-git
make[1]: Nothing to be done for `all'.
    SUBDIR perl
    SUBDIR git_remote_helpers
    SUBDIR templates
install -d -m 755 '/usr/local/git/bin'
install -d -m 755 '/usr/local/git/libexec/git-core'
install   git-daemon git-fast-import git-imap-send git-shell git-show-index 
git-upload-pack git-http-backend git-sh-i18n--envsubst git-http-fetch 
git-http-push git-remote-http git-remote-https git-remote-ftp git-remote-ftps 
git-am git-bisect git-difftool--helper git-filter-branch git-lost-found 
git-merge-octopus git-merge-one-file git-merge-resolve git-mergetool git-pull 
git-quiltimport git-rebase git-repack git-request-pull git-stash git-submodule 
git-web--browse git-add--interactive git-difftool git-archimport 
git-cvsexportcommit git-cvsimport git-cvsserver git-relink git-send-email 
git-svn git-remote-testgit git-instaweb '/usr/local/git/libexec/git-core'
install -m 644  git-mergetool--lib git-parse-remote git-rebase--am 
git-rebase--interactive git-rebase--merge git-sh-setup git-sh-i18n 
'/usr/local/git/libexec/git-core'
install git git-upload-pack git-receive-pack git-upload-archive git-shell 
git-cvsserver '/usr/local/git/bin'
make -C templates DESTDIR='' install
make[1]: Entering directory `/tmp/git-1.7.6.3/templates'
install -d -m 755 '/usr/local/git/share/git-core/templates'
(cd blt && gtar cf - .) | \
(cd '/usr/local/git/share/git-core/templates' && umask 022 && gtar xof -)
make[1]: Leaving directory `/tmp/git-1.7.6.3/templates'
make -C perl prefix='/usr/local/git' DESTDIR='' install
make[1]: Entering directory `/tmp/git-1.7.6.3/perl'
make[2]: Entering directory `/tmp/git-1.7.6.3/perl'
Writing 
/usr/local/git/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Git/.packl
ist
Appending installation info to 
/usr/local/git/lib/perl5/5.8.0/i386-linux-thread-multi/perllocal.pod
make[2]: Leaving directory `/tmp/git-1.7.6.3/perl'
make[1]: Leaving directory `/tmp/git-1.7.6.3/perl'
make -C gitweb install
make[1]: Entering directory `/tmp/git-1.7.6.3/gitweb'
make[2]: Entering directory `/tmp/git-1.7.6.3'
make[2]: `GIT-VERSION-FILE' is up to date.
make[2]: Leaving directory `/tmp/git-1.7.6.3'
install -d -m 755 '/usr/local/git/share/gitweb'
install -m 755 gitweb.cgi '/usr/local/git/share/gitweb'
install -d -m 755 '/usr/local/git/share/gitweb/static'
install -m 644 static/gitweb.js static/gitweb.css static/git-logo.png 
static/git-favicon.png '/usr/local/git/share/gitweb/static'
make[1]: Leaving directory `/tmp/git-1.7.6.3/gitweb'
make -C git_remote_helpers prefix='/usr/local/git' DESTDIR='' install
make[1]: Entering directory `/tmp/git-1.7.6.3/git_remote_helpers'
/usr/bin/python setup.py install --prefix /usr/local/git
running install
running build
running build_py
not copying __init__.py (output up-to-date)
not copying util.py (output up-to-date)
not copying git/__init__.py (output up-to-date)
not copying git/exporter.py (output up-to-date)
not copying git/git.py (output up-to-date)
not copying git/importer.py (output up-to-date)
not copying git/non_local.py (output up-to-date)
not copying git/repo.py (output up-to-date)
running install_lib
not copying build/lib/git_remote_helpers/__init__.py (output up-to-date)
not copying build/lib/git_remote_helpers/util.py (output up-to-date)
not copying build/lib/git_remote_helpers/git/__init__.py (output up-to-date)
not copying build/lib/git_remote_helpers/git/exporter.py (output up-to-date)
not copying build/lib/git_remote_helpers/git/git.py (output up-to-date)
not copying build/lib/git_remote_helpers/git/importer.py (output up-to-date)
not copying build/lib/git_remote_helpers/git/non_local.py (output up-to-date)
not copying build/lib/git_remote_helpers/git/repo.py (output up-to-date)
skipping byte-compilation of 
/usr/local/git/lib/python2.2/site-packages/git_remote_helpers/__init__.py to 
__init__.pyc
skipping byte-compilation of 
/usr/local/git/lib/python2.2/site-packages/git_remote_helpers/util.py to 
util.pyc
skipping byte-compilation of 
/usr/local/git/lib/python2.2/site-packages/git_remote_helpers/git/__init__.py 
to __init__.pyc
skipping byte-compilation of 
/usr/local/git/lib/python2.2/site-packages/git_remote_helpers/git/exporter.py 
to exporter.pyc
byte-compiling 
/usr/local/git/lib/python2.2/site-packages/git_remote_helpers/git/git.py to 
git.pyc
<string>:251: Warning: 'yield' will become a reserved keyword in the future
  File "/usr/local/git/lib/python2.2/site-packages/git_remote_helpers/git/git.py", line 326
    @classmethod
    ^
SyntaxError: invalid syntax
skipping byte-compilation of 
/usr/local/git/lib/python2.2/site-packages/git_remote_helpers/git/importer.py 
to importer.pyc
skipping byte-compilation of 
/usr/local/git/lib/python2.2/site-packages/git_remote_helpers/git/non_local.py 
to non_local.pyc
byte-compiling 
/usr/local/git/lib/python2.2/site-packages/git_remote_helpers/git/repo.py to 
repo.pyc
  File "/usr/local/git/lib/python2.2/site-packages/git_remote_helpers/git/repo.py", line 60
    self.revmap = dict(sanitize(i) for i in output)
                                     ^
SyntaxError: invalid syntax
warning: install: modules installed to 
'/usr/local/git/lib/python2.2/site-packages/', which is not in Python's module 
search path (sys.path) -- you'll have to change the search path yourself
make[1]: Leaving directory `/tmp/git-1.7.6.3/git_remote_helpers'
make -C gitk-git install
make[1]: Entering directory `/tmp/git-1.7.6.3/gitk-git'
install -m 755 gitk-wish '/usr/local/git/bin'/gitk
install -d -m 755 '/usr/local/git/share/gitk/lib/msgs'
install -m 644 po/de.msg '/usr/local/git/share/gitk/lib/msgs' &&  install -m 
644 po/es.msg '/usr/local/git/share/gitk/lib/msgs' &&  install -m 644 po/fr.msg 
'/usr/local/git/share/gitk/lib/msgs' &&  install -m 644 po/hu.msg 
'/usr/local/git/share/gitk/lib/msgs' &&  install -m 644 po/it.msg 
'/usr/local/git/share/gitk/lib/msgs' &&  install -m 644 po/ja.msg 
'/usr/local/git/share/gitk/lib/msgs' &&  install -m 644 po/pt_br.msg 
'/usr/local/git/share/gitk/lib/msgs' &&  install -m 644 po/ru.msg 
'/usr/local/git/share/gitk/lib/msgs' &&  install -m 644 po/sv.msg 
'/usr/local/git/share/gitk/lib/msgs' && true
make[1]: Leaving directory `/tmp/git-1.7.6.3/gitk-git'
make -C git-gui gitexecdir='/usr/local/git/libexec/git-core' install
make[1]: Entering directory `/tmp/git-1.7.6.3/git-gui'
  DEST /usr/local/git/libexec/git-core
    INSTALL 755 git-gui
    INSTALL 755 git-gui--askpass
    LINK        git-citool -> git-gui
  DEST /usr/local/git/share/git-gui/lib
    INSTALL 644 tclIndex
    INSTALL 644 about.tcl
    INSTALL 644 blame.tcl
    INSTALL 644 branch_checkout.tcl
    INSTALL 644 branch_create.tcl
    INSTALL 644 branch_delete.tcl
    INSTALL 644 branch_rename.tcl
    INSTALL 644 branch.tcl
    INSTALL 644 browser.tcl
    INSTALL 644 checkout_op.tcl
    INSTALL 644 choose_font.tcl
    INSTALL 644 choose_repository.tcl
    INSTALL 644 choose_rev.tcl
    INSTALL 644 class.tcl
    INSTALL 644 commit.tcl
    INSTALL 644 console.tcl
    INSTALL 644 database.tcl
    INSTALL 644 date.tcl
    INSTALL 644 diff.tcl
    INSTALL 644 encoding.tcl
    INSTALL 644 error.tcl
    INSTALL 644 index.tcl
    INSTALL 644 logo.tcl
    INSTALL 644 merge.tcl
    INSTALL 644 mergetool.tcl
    INSTALL 644 option.tcl
    INSTALL 644 remote_add.tcl
    INSTALL 644 remote_branch_delete.tcl
    INSTALL 644 remote.tcl
    INSTALL 644 search.tcl
    INSTALL 644 shortcut.tcl
    INSTALL 644 spellcheck.tcl
    INSTALL 644 sshkey.tcl
    INSTALL 644 status_bar.tcl
    INSTALL 644 themed.tcl
    INSTALL 644 tools_dlg.tcl
    INSTALL 644 tools.tcl
    INSTALL 644 transport.tcl
    INSTALL 644 win32.tcl
    INSTALL 644 git-gui.ico
    INSTALL 644 win32_shortcut.js
  DEST /usr/local/git/share/git-gui/lib/msgs
    INSTALL 644 de.msg
    INSTALL 644 el.msg
    INSTALL 644 fr.msg
    INSTALL 644 hu.msg
    INSTALL 644 it.msg
    INSTALL 644 ja.msg
    INSTALL 644 nb.msg
    INSTALL 644 pt_br.msg
    INSTALL 644 ru.msg
    INSTALL 644 sv.msg
    INSTALL 644 zh_cn.msg
make[1]: Leaving directory `/tmp/git-1.7.6.3/git-gui'
bindir=$(cd '/usr/local/git/bin' && pwd) && \
execdir=$(cd '/usr/local/git/libexec/git-core' && pwd) && \
{ test "$bindir/" = "$execdir/" || \
  for p in git git-shell git-upload-pack git-cvsserver; do \
        rm -f "$execdir/$p" && \
        test -z "" && \
        ln "$bindir/$p" "$execdir/$p" 2>/dev/null || \
        cp "$bindir/$p" "$execdir/$p" || exit; \
  done; \
} && \
for p in git-receive-pack git-upload-archive; do \
        rm -f "$bindir/$p" && \
        ln "$bindir/git" "$bindir/$p" 2>/dev/null || \
        ln -s "git" "$bindir/$p" 2>/dev/null || \
        cp "$bindir/git" "$bindir/$p" || exit; \
done && \
for p in  git-add git-annotate git-apply git-archive git-bisect--helper 
git-blame git-branch git-bundle git-cat-file git-check-attr 
git-check-ref-format git-checkout-index git-checkout git-clean git-clone 
git-commit-tree git-commit git-config git-count-objects git-describe 
git-diff-files git-diff-index git-diff-tree git-diff git-fast-export 
git-fetch-pack git-fetch git-fmt-merge-msg git-for-each-ref git-fsck git-gc 
git-grep git-hash-object git-help git-index-pack git-init-db git-log 
git-ls-files git-ls-remote git-ls-tree git-mailinfo git-mailsplit git-merge
git-merge-base git-merge-file git-merge-index git-merge-ours 
git-merge-recursive git-merge-tree git-mktag git-mktree git-mv git-name-rev 
git-notes git-pack-objects git-pack-redundant git-pack-refs git-patch-id 
git-prune-packed git-prune git-push git-read-tree git-receive-pack git-reflog 
git-remote git-remote-ext git-remote-fd git-replace git-rerere git-reset 
git-rev-list git-rev-parse git-revert git-rm git-send-pack git-shortlog 
git-show-branch git-show-ref git-stripspace git-symbolic-ref git-tag 
git-tar-tree git-unpack-file git-unpack-objects git-update-index git-update-ref 
git-update-server-info git-upload-archive git-var git-verify-pack 
git-verify-tag git-write-tree git-cherry git-cherry-pick git-format-patch 
git-fsck-objects git-get-tar-commit-id git-init git-merge-subtree 
git-peek-remote git-repo-config git-show git-stage git-status git-whatchanged; 
do \
        rm -f "$execdir/$p" && \
        ln "$execdir/git" "$execdir/$p" 2>/dev/null || \
        ln -s "git" "$execdir/$p" 2>/dev/null || \
        cp "$execdir/git" "$execdir/$p" || exit; \
done && \
remote_curl_aliases="git-remote-https git-remote-ftp git-remote-ftps" && \
for p in $remote_curl_aliases; do \
        rm -f "$execdir/$p" && \
        ln "$execdir/git-remote-http" "$execdir/$p" 2>/dev/null || \
        ln -s "git-remote-http" "$execdir/$p" 2>/dev/null || \
        cp "$execdir/git-remote-http" "$execdir/$p" || exit; \
done && \
./check_bindir "z$bindir" "z$execdir" "$bindir/git-add"

What version of the product are you using? On what operating system?
red hat 4

Please provide any additional information below.

Original issue reported on code.google.com by phenixya...@gmail.com on 27 Jun 2012 at 8:27

GoogleCodeExporter commented 9 years ago
Hi,

I am trying to install git manually, and getting exactly same error. 
My system has 32-bit centos(6.6) installed.

Could anyone give suggestion to solve this 

Thanks.

Original comment by anoopk...@gmail.com on 4 Jul 2015 at 11:01