CentOS 1810 源码安装 git-2.22.0

  1.  
    [root@desktop git-2.22.0]# ./configure 
    configure: Setting lib to 'lib' (the default)
    configure: Will try -pthread then -lpthread to enable POSIX Threads.
    configure: CHECKS for site configuration
    checking for gcc... no
    checking for cc... no
    checking for cl.exe... no
    configure: error: in `/usr/local/lib/git-2.22.0':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details
    [root@desktop git-2.22.0]#
  2.  
    yum -y install gcc
  3.  
    [root@desktop git-2.22.0]# ./configure 
    configure: Setting lib to 'lib' (the default)
    configure: Will try -pthread then -lpthread to enable POSIX Threads.
    configure: CHECKS for site configuration
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for size_t... yes
    checking for working alloca.h... yes
    checking for alloca... yes
    configure: CHECKS for programs
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking for inline... inline
    checking if linker supports -R... no
    checking if linker supports -Wl,-rpath,... yes
    checking for gar... no
    checking for ar... ar
    checking for gtar... gtar
    checking for gnudiff... no
    checking for gdiff... no
    checking for diff... diff
    checking for asciidoc... no
    Using 'grep -a' for sane_grep
    configure: CHECKS for libraries
    checking for SHA1_Init in -lcrypto... no
    checking for SHA1_Init in -lssl... no
    checking for curl_global_init in -lcurl... no
    checking for XML_ParserCreate in -lexpat... no
    checking for iconv in -lc... yes
    checking for deflateBound in -lz... no
    checking for socket in -lc... yes
    checking for inet_ntop... yes
    checking for inet_pton... yes
    checking for hstrerror... yes
    checking for basename in -lc... yes
    checking if libc contains libintl... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    configure: CHECKS for header files
    checking sys/select.h usability... yes
    checking sys/select.h presence... yes
    checking for sys/select.h... yes
    checking poll.h usability... yes
    checking poll.h presence... yes
    checking for poll.h... yes
    checking sys/poll.h usability... yes
    checking sys/poll.h presence... yes
    checking for sys/poll.h... yes
    checking for inttypes.h... (cached) yes
    checking for old iconv()... no
    configure: CHECKS for typedefs, structures, and compiler characteristics
    checking for socklen_t... yes
    checking for struct itimerval... yes
    checking for struct stat.st_mtimespec.tv_nsec... no
    checking for struct stat.st_mtim.tv_nsec... yes
    checking for struct dirent.d_type... yes
    checking for struct passwd.pw_gecos... yes
    checking for struct sockaddr_storage... yes
    checking for struct addrinfo... yes
    checking for getaddrinfo... yes
    checking for library containing getaddrinfo... none required
    checking whether the platform regex supports REG_STARTEND... yes
    checking whether system succeeds to read fopen'ed directory... yes
    checking whether snprintf() and/or vsnprintf() return bogus value... no
    checking whether the platform uses typical file type bits... yes
    configure: CHECKS for library functions
    checking libgen.h usability... yes
    checking libgen.h presence... yes
    checking for libgen.h... yes
    checking paths.h usability... yes
    checking paths.h presence... yes
    checking for paths.h... yes
    checking libcharset.h usability... no
    checking libcharset.h presence... no
    checking for libcharset.h... no
    checking for strings.h... (cached) yes
    checking for locale_charset in -liconv... no
    checking for locale_charset in -lcharset... no
    checking for clock_gettime... yes
    checking for library containing clock_gettime... none required
    checking for CLOCK_MONOTONIC... yes
    checking for setitimer... yes
    checking for library containing setitimer... none required
    checking for strcasestr... yes
    checking for library containing strcasestr... none required
    checking for memmem... yes
    checking for library containing memmem... none required
    checking for strlcpy... no
    checking for uintmax_t... yes
    checking for strtoumax... yes
    checking for library containing strtoumax... none required
    checking for setenv... yes
    checking for library containing setenv... none required
    checking for unsetenv... yes
    checking for library containing unsetenv... none required
    checking for mkdtemp... yes
    checking for library containing mkdtemp... none required
    checking for initgroups... yes
    checking for library containing initgroups... none required
    checking for getdelim... yes
    checking for library containing getdelim... none required
    checking for BSD sysctl... no
    checking for POSIX Threads with ''... no
    checking for POSIX Threads with '-mt'... no
    checking for POSIX Threads with '-pthread'... yes
    configure: creating ./config.status
    config.status: creating config.mak.autogen
    config.status: executing config.mak.autogen commands
    [root@desktop git-2.22.0]# 
    
  4.  
    [root@desktop git-2.22.0]# make
    GIT_VERSION = 2.22.0
        * new build flags
        CC fuzz-commit-graph.o
    In file included from commit-graph.h:7:0,
                     from fuzz-commit-graph.c:1:
    cache.h:21:18: 致命错误:zlib.h:没有那个文件或目录
     #include <zlib.h>
                      ^
    编译中断。
    make: *** [fuzz-commit-graph.o] 错误 1
    [root@desktop git-2.22.0]# 
    
  5.  
    [root@desktop git-2.22.0]# yum -y install zlib-devel
    已加载插件:fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
     * base: mirrors.huaweicloud.com
     * extras: mirrors.huaweicloud.com
     * updates: mirrors.huaweicloud.com
    正在解决依赖关系
    --> 正在检查事务
    ---> 软件包 zlib-devel.x86_64.0.1.2.7-18.el7 将被 安装
    --> 解决依赖关系完成
    
    依赖关系解决
    
    ==============================================================================================================================================================================
     Package                                    架构                                   版本                                            源                                    大小
    ==============================================================================================================================================================================
    正在安装:
     zlib-devel                                 x86_64                                 1.2.7-18.el7                                    base                                  50 k
    
    事务概要
    ==============================================================================================================================================================================
    安装  1 软件包
    
    总下载量:50 k
    安装大小:132 k
    Downloading packages:
    zlib-devel-1.2.7-18.el7.x86_64.rpm                                                                                                                     |  50 kB  00:00:00     
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      正在安装    : zlib-devel-1.2.7-18.el7.x86_64                                                                                                                            1/1 
      验证中      : zlib-devel-1.2.7-18.el7.x86_64                                                                                                                            1/1 
    
    已安装:
      zlib-devel.x86_64 0:1.2.7-18.el7                                                                                                                                            
    
    完毕!
    [root@desktop git-2.22.0]# 
    
  6.  
    [root@desktop git-2.22.0]# ./configure 
    configure: Setting lib to 'lib' (the default)
    configure: Will try -pthread then -lpthread to enable POSIX Threads.
    configure: CHECKS for site configuration
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for size_t... yes
    checking for working alloca.h... yes
    checking for alloca... yes
    configure: CHECKS for programs
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking for inline... inline
    checking if linker supports -R... no
    checking if linker supports -Wl,-rpath,... yes
    checking for gar... no
    checking for ar... ar
    checking for gtar... gtar
    checking for gnudiff... no
    checking for gdiff... no
    checking for diff... diff
    checking for asciidoc... no
    Using 'grep -a' for sane_grep
    configure: CHECKS for libraries
    checking for SHA1_Init in -lcrypto... no
    checking for SHA1_Init in -lssl... no
    checking for curl_global_init in -lcurl... no
    checking for XML_ParserCreate in -lexpat... no
    checking for iconv in -lc... yes
    checking for deflateBound in -lz... yes
    checking for socket in -lc... yes
    checking for inet_ntop... yes
    checking for inet_pton... yes
    checking for hstrerror... yes
    checking for basename in -lc... yes
    checking if libc contains libintl... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    configure: CHECKS for header files
    checking sys/select.h usability... yes
    checking sys/select.h presence... yes
    checking for sys/select.h... yes
    checking poll.h usability... yes
    checking poll.h presence... yes
    checking for poll.h... yes
    checking sys/poll.h usability... yes
    checking sys/poll.h presence... yes
    checking for sys/poll.h... yes
    checking for inttypes.h... (cached) yes
    checking for old iconv()... no
    configure: CHECKS for typedefs, structures, and compiler characteristics
    checking for socklen_t... yes
    checking for struct itimerval... yes
    checking for struct stat.st_mtimespec.tv_nsec... no
    checking for struct stat.st_mtim.tv_nsec... yes
    checking for struct dirent.d_type... yes
    checking for struct passwd.pw_gecos... yes
    checking for struct sockaddr_storage... yes
    checking for struct addrinfo... yes
    checking for getaddrinfo... yes
    checking for library containing getaddrinfo... none required
    checking whether the platform regex supports REG_STARTEND... yes
    checking whether system succeeds to read fopen'ed directory... yes
    checking whether snprintf() and/or vsnprintf() return bogus value... no
    checking whether the platform uses typical file type bits... yes
    configure: CHECKS for library functions
    checking libgen.h usability... yes
    checking libgen.h presence... yes
    checking for libgen.h... yes
    checking paths.h usability... yes
    checking paths.h presence... yes
    checking for paths.h... yes
    checking libcharset.h usability... no
    checking libcharset.h presence... no
    checking for libcharset.h... no
    checking for strings.h... (cached) yes
    checking for locale_charset in -liconv... no
    checking for locale_charset in -lcharset... no
    checking for clock_gettime... yes
    checking for library containing clock_gettime... none required
    checking for CLOCK_MONOTONIC... yes
    checking for setitimer... yes
    checking for library containing setitimer... none required
    checking for strcasestr... yes
    checking for library containing strcasestr... none required
    checking for memmem... yes
    checking for library containing memmem... none required
    checking for strlcpy... no
    checking for uintmax_t... yes
    checking for strtoumax... yes
    checking for library containing strtoumax... none required
    checking for setenv... yes
    checking for library containing setenv... none required
    checking for unsetenv... yes
    checking for library containing unsetenv... none required
    checking for mkdtemp... yes
    checking for library containing mkdtemp... none required
    checking for initgroups... yes
    checking for library containing initgroups... none required
    checking for getdelim... yes
    checking for library containing getdelim... none required
    checking for BSD sysctl... no
    checking for POSIX Threads with ''... no
    checking for POSIX Threads with '-mt'... no
    checking for POSIX Threads with '-pthread'... yes
    configure: creating ./config.status
    config.status: creating config.mak.autogen
    config.status: executing config.mak.autogen commands
    [root@desktop git-2.22.0]# 
    
  7.  
    [root@desktop git-2.22.0]# make
        * new build flags
        CC fuzz-commit-graph.o
        CC fuzz-pack-headers.o
        CC fuzz-pack-idx.o
        CC credential-store.o
        * new link flags
        CC common-main.o
        CC abspath.o
        CC advice.o
        CC alias.o
        CC alloc.o
        CC apply.o
        CC archive.o
        CC archive-tar.o
        CC archive-zip.o
        CC argv-array.o
        * new prefix flags
        CC attr.o
        CC base85.o
        CC bisect.o
        CC blame.o
        CC blob.o
        CC branch.o
        CC bulk-checkin.o
        CC bundle.o
        CC cache-tree.o
        CC chdir-notify.o
        CC checkout.o
        CC color.o
        CC column.o
        CC combine-diff.o
        CC commit.o
        CC commit-graph.o
        CC commit-reach.o
        CC compat/obstack.o
        CC compat/terminal.o
        CC config.o
        CC connect.o
        CC connected.o
        CC convert.o
        CC copy.o
        CC credential.o
        CC csum-file.o
        CC ctype.o
        CC date.o
        CC decorate.o
        CC delta-islands.o
        CC diffcore-break.o
        CC diffcore-delta.o
        CC diffcore-order.o
        CC diffcore-pickaxe.o
        CC diffcore-rename.o
        CC diff-delta.o
        CC diff-lib.o
        CC diff-no-index.o
        CC diff.o
        CC dir.o
        CC dir-iterator.o
        CC editor.o
        CC entry.o
        CC environment.o
        CC ewah/bitmap.o
        CC ewah/ewah_bitmap.o
        CC ewah/ewah_io.o
        CC ewah/ewah_rlw.o
        CC exec-cmd.o
        CC fetch-negotiator.o
        CC fetch-object.o
        CC fetch-pack.o
        CC fsck.o
        CC fsmonitor.o
        CC gettext.o
        CC gpg-interface.o
        CC graph.o
        CC grep.o
        CC hashmap.o
        CC linear-assignment.o
        GEN command-list.h
        CC help.o
        CC hex.o
        CC ident.o
        CC interdiff.o
        CC json-writer.o
        CC kwset.o
        CC levenshtein.o
        CC line-log.o
        CC line-range.o
        CC list-objects.o
        CC list-objects-filter.o
        CC list-objects-filter-options.o
        CC ll-merge.o
        CC lockfile.o
        CC log-tree.o
        CC ls-refs.o
        CC mailinfo.o
        CC mailmap.o
        CC match-trees.o
        CC mem-pool.o
        CC merge.o
        CC merge-blobs.o
        CC merge-recursive.o
        CC mergesort.o
        CC midx.o
        CC name-hash.o
        CC negotiator/default.o
        CC negotiator/skipping.o
        CC notes.o
        CC notes-cache.o
        CC notes-merge.o
        CC notes-utils.o
        CC object.o
        CC oidmap.o
        CC oidset.o
        CC packfile.o
        CC pack-bitmap.o
        CC pack-bitmap-write.o
        CC pack-check.o
        CC pack-objects.o
        CC pack-revindex.o
        CC pack-write.o
        CC pager.o
        CC parse-options.o
        CC parse-options-cb.o
        CC patch-delta.o
        CC patch-ids.o
        CC path.o
        CC pathspec.o
        CC pkt-line.o
        CC preload-index.o
        CC pretty.o
        CC prio-queue.o
        CC progress.o
        CC prompt.o
        CC protocol.o
        CC quote.o
        CC range-diff.o
        CC reachable.o
        CC read-cache.o
        CC rebase-interactive.o
        CC reflog-walk.o
        CC refs.o
        CC refs/files-backend.o
        CC refs/iterator.o
        CC refs/packed-backend.o
        CC refs/ref-cache.o
        CC refspec.o
        CC ref-filter.o
        CC remote.o
        CC replace-object.o
        CC repository.o
        CC rerere.o
        CC resolve-undo.o
        CC revision.o
        CC run-command.o
        CC send-pack.o
        CC sequencer.o
        CC serve.o
        CC server-info.o
        CC setup.o
        CC sha1-array.o
        CC sha1-lookup.o
        CC sha1-file.o
        CC sha1-name.o
        CC shallow.o
        CC sideband.o
        CC sigchain.o
        CC split-index.o
        CC strbuf.o
        CC streaming.o
        CC string-list.o
        CC submodule.o
        CC submodule-config.o
        CC sub-process.o
        CC symlinks.o
        CC tag.o
        CC tempfile.o
        CC thread-utils.o
        CC tmp-objdir.o
        CC trace.o
        CC trace2.o
        CC trace2/tr2_cfg.o
        CC trace2/tr2_cmd_name.o
        CC trace2/tr2_dst.o
        CC trace2/tr2_sid.o
        CC trace2/tr2_sysenv.o
        CC trace2/tr2_tbuf.o
        CC trace2/tr2_tgt_event.o
        CC trace2/tr2_tgt_normal.o
        CC trace2/tr2_tgt_perf.o
        CC trace2/tr2_tls.o
        CC trailer.o
        CC transport.o
        CC transport-helper.o
        CC tree-diff.o
        CC tree.o
        CC tree-walk.o
        CC unpack-trees.o
        CC upload-pack.o
        CC url.o
        CC urlmatch.o
        CC usage.o
        CC userdiff.o
        CC utf8.o
        CC varint.o
        CC version.o
        CC versioncmp.o
        CC walker.o
        CC wildmatch.o
        CC worktree.o
        CC wrapper.o
        CC write-or-die.o
        CC ws.o
        CC wt-status.o
        CC xdiff-interface.o
        CC zlib.o
        CC unix-socket.o
        CC sha1dc_git.o
        CC sha1dc/sha1.o
        CC sha1dc/ubc_check.o
        CC sha256/block/sha256.o
        CC compat/fopen.o
        CC compat/strlcpy.o
        CC compat/qsort_s.o
        AR libgit.a
        CC xdiff/xdiffi.o
        CC xdiff/xprepare.o
        CC xdiff/xutils.o
        CC xdiff/xemit.o
        CC xdiff/xmerge.o
        CC xdiff/xpatience.o
        CC xdiff/xhistogram.o
        AR xdiff/lib.a
        LINK git-credential-store
        CC daemon.o
        LINK git-daemon
        CC fast-import.o
        LINK git-fast-import
        CC http-backend.o
        LINK git-http-backend
        CC imap-send.o
        LINK git-imap-send
        CC sh-i18n--envsubst.o
        LINK git-sh-i18n--envsubst
        CC shell.o
        LINK git-shell
        CC remote-testsvn.o
        CC vcs-svn/line_buffer.o
        CC vcs-svn/sliding_window.o
        CC vcs-svn/fast_export.o
        CC vcs-svn/svndiff.o
        CC vcs-svn/svndump.o
        AR vcs-svn/lib.a
        LINK git-remote-testsvn
        CC credential-cache.o
        LINK git-credential-cache
        CC credential-cache--daemon.o
        LINK git-credential-cache--daemon
        * new script parameters
        GEN git-bisect
        GEN git-difftool--helper
        GEN git-filter-branch
        GEN git-merge-octopus
        GEN git-merge-one-file
        GEN git-merge-resolve
        GEN git-mergetool
        GEN git-quiltimport
        GEN git-legacy-stash
        GEN git-request-pull
        GEN git-submodule
        GEN git-web--browse
        * new perl-specific parameters
        GEN GIT-PERL-HEADER
        GEN git-add--interactive
        GEN git-archimport
        GEN git-cvsexportcommit
        GEN git-cvsimport
        GEN git-cvsserver
        GEN git-send-email
        GEN git-svn
        * new Python interpreter location
        GEN git-p4
        GEN git-instaweb
        GEN git-mergetool--lib
        GEN git-parse-remote
        GEN git-rebase--am
        GEN git-rebase--common
        GEN git-rebase--preserve-merges
        GEN git-sh-setup
        GEN git-sh-i18n
        CC git.o
        CC builtin/add.o
        CC builtin/am.o
        CC builtin/annotate.o
        CC builtin/apply.o
        CC builtin/archive.o
        CC builtin/bisect--helper.o
        CC builtin/blame.o
        CC builtin/branch.o
        CC builtin/bundle.o
        CC builtin/cat-file.o
        CC builtin/check-attr.o
        CC builtin/check-ignore.o
        CC builtin/check-mailmap.o
        CC builtin/check-ref-format.o
        CC builtin/checkout-index.o
        CC builtin/checkout.o
        CC builtin/clean.o
        CC builtin/clone.o
        CC builtin/column.o
        CC builtin/commit-tree.o
        CC builtin/commit.o
        CC builtin/commit-graph.o
        CC builtin/config.o
        CC builtin/count-objects.o
        CC builtin/credential.o
        CC builtin/describe.o
        CC builtin/diff-files.o
        CC builtin/diff-index.o
        CC builtin/diff-tree.o
        CC builtin/diff.o
        CC builtin/difftool.o
        CC builtin/fast-export.o
        CC builtin/fetch-pack.o
        CC builtin/fetch.o
        CC builtin/fmt-merge-msg.o
        CC builtin/for-each-ref.o
        CC builtin/fsck.o
        CC builtin/gc.o
        CC builtin/get-tar-commit-id.o
        CC builtin/grep.o
        CC builtin/hash-object.o
        CC builtin/help.o
        CC builtin/index-pack.o
        CC builtin/init-db.o
        CC builtin/interpret-trailers.o
        CC builtin/log.o
        CC builtin/ls-files.o
        CC builtin/ls-remote.o
        CC builtin/ls-tree.o
        CC builtin/mailinfo.o
        CC builtin/mailsplit.o
        CC builtin/merge.o
        CC builtin/merge-base.o
        CC builtin/merge-file.o
        CC builtin/merge-index.o
        CC builtin/merge-ours.o
        CC builtin/merge-recursive.o
        CC builtin/merge-tree.o
        CC builtin/mktag.o
        CC builtin/mktree.o
        CC builtin/multi-pack-index.o
        CC builtin/mv.o
        CC builtin/name-rev.o
        CC builtin/notes.o
        CC builtin/pack-objects.o
        CC builtin/pack-redundant.o
        CC builtin/pack-refs.o
        CC builtin/patch-id.o
        CC builtin/prune-packed.o
        CC builtin/prune.o
        CC builtin/pull.o
        CC builtin/push.o
        CC builtin/range-diff.o
        CC builtin/read-tree.o
        CC builtin/rebase.o
        CC builtin/receive-pack.o
        CC builtin/reflog.o
        CC builtin/remote.o
        CC builtin/remote-ext.o
        CC builtin/remote-fd.o
        CC builtin/repack.o
        CC builtin/replace.o
        CC builtin/rerere.o
        CC builtin/reset.o
        CC builtin/rev-list.o
        CC builtin/rev-parse.o
        CC builtin/revert.o
        CC builtin/rm.o
        CC builtin/send-pack.o
        CC builtin/shortlog.o
        CC builtin/show-branch.o
        CC builtin/show-index.o
        CC builtin/show-ref.o
        CC builtin/stash.o
        CC builtin/stripspace.o
        CC builtin/submodule--helper.o
        CC builtin/symbolic-ref.o
        CC builtin/tag.o
        CC builtin/unpack-file.o
        CC builtin/unpack-objects.o
        CC builtin/update-index.o
        CC builtin/update-ref.o
        CC builtin/update-server-info.o
        CC builtin/upload-archive.o
        CC builtin/upload-pack.o
        CC builtin/var.o
        CC builtin/verify-commit.o
        CC builtin/verify-pack.o
        CC builtin/verify-tag.o
        CC builtin/worktree.o
        CC builtin/write-tree.o
        LINK git
        BUILTIN git-add
        BUILTIN git-am
        BUILTIN git-annotate
        BUILTIN git-apply
        BUILTIN git-archive
        BUILTIN git-bisect--helper
        BUILTIN git-blame
        BUILTIN git-branch
        BUILTIN git-bundle
        BUILTIN git-cat-file
        BUILTIN git-check-attr
        BUILTIN git-check-ignore
        BUILTIN git-check-mailmap
        BUILTIN git-check-ref-format
        BUILTIN git-checkout-index
        BUILTIN git-checkout
        BUILTIN git-clean
        BUILTIN git-clone
        BUILTIN git-column
        BUILTIN git-commit-tree
        BUILTIN git-commit
        BUILTIN git-commit-graph
        BUILTIN git-config
        BUILTIN git-count-objects
        BUILTIN git-credential
        BUILTIN git-describe
        BUILTIN git-diff-files
        BUILTIN git-diff-index
        BUILTIN git-diff-tree
        BUILTIN git-diff
        BUILTIN git-difftool
        BUILTIN git-fast-export
        BUILTIN git-fetch-pack
        BUILTIN git-fetch
        BUILTIN git-fmt-merge-msg
        BUILTIN git-for-each-ref
        BUILTIN git-fsck
        BUILTIN git-gc
        BUILTIN git-get-tar-commit-id
        BUILTIN git-grep
        BUILTIN git-hash-object
        BUILTIN git-help
        BUILTIN git-index-pack
        BUILTIN git-init-db
        BUILTIN git-interpret-trailers
        BUILTIN git-log
        BUILTIN git-ls-files
        BUILTIN git-ls-remote
        BUILTIN git-ls-tree
        BUILTIN git-mailinfo
        BUILTIN git-mailsplit
        BUILTIN git-merge
        BUILTIN git-merge-base
        BUILTIN git-merge-file
        BUILTIN git-merge-index
        BUILTIN git-merge-ours
        BUILTIN git-merge-recursive
        BUILTIN git-merge-tree
        BUILTIN git-mktag
        BUILTIN git-mktree
        BUILTIN git-multi-pack-index
        BUILTIN git-mv
        BUILTIN git-name-rev
        BUILTIN git-notes
        BUILTIN git-pack-objects
        BUILTIN git-pack-redundant
        BUILTIN git-pack-refs
        BUILTIN git-patch-id
        BUILTIN git-prune-packed
        BUILTIN git-prune
        BUILTIN git-pull
        BUILTIN git-push
        BUILTIN git-range-diff
        BUILTIN git-read-tree
        BUILTIN git-rebase
        BUILTIN git-receive-pack
        BUILTIN git-reflog
        BUILTIN git-remote
        BUILTIN git-remote-ext
        BUILTIN git-remote-fd
        BUILTIN git-repack
        BUILTIN git-replace
        BUILTIN git-rerere
        BUILTIN git-reset
        BUILTIN git-rev-list
        BUILTIN git-rev-parse
        BUILTIN git-revert
        BUILTIN git-rm
        BUILTIN git-send-pack
        BUILTIN git-shortlog
        BUILTIN git-show-branch
        BUILTIN git-show-index
        BUILTIN git-show-ref
        BUILTIN git-stash
        BUILTIN git-stripspace
        BUILTIN git-submodule--helper
        BUILTIN git-symbolic-ref
        BUILTIN git-tag
        BUILTIN git-unpack-file
        BUILTIN git-unpack-objects
        BUILTIN git-update-index
        BUILTIN git-update-ref
        BUILTIN git-update-server-info
        BUILTIN git-upload-archive
        BUILTIN git-upload-pack
        BUILTIN git-var
        BUILTIN git-verify-commit
        BUILTIN git-verify-pack
        BUILTIN git-verify-tag
        BUILTIN git-worktree
        BUILTIN git-write-tree
        BUILTIN git-cherry
        BUILTIN git-cherry-pick
        BUILTIN git-format-patch
        BUILTIN git-fsck-objects
        BUILTIN git-init
        BUILTIN git-merge-subtree
        BUILTIN git-show
        BUILTIN git-stage
        BUILTIN git-status
        BUILTIN git-whatchanged
        SUBDIR git-gui
    GITGUI_VERSION = 0.21.GITGUI
        * new locations or Tcl/Tk interpreter
        GEN git-gui
        INDEX lib/
        * tclsh failed; using unoptimized loading
        MSGFMT    po/de.msg 520 条已翻译消息.
        MSGFMT po/pt_pt.msg 550 条已翻译消息.
        MSGFMT    po/vi.msg 543 条已翻译消息.
        MSGFMT    po/hu.msg 514 条已翻译消息.
        MSGFMT    po/nb.msg 474 条已翻译消息,39 条未翻译消息.
        MSGFMT    po/sv.msg 547 条已翻译消息.
        MSGFMT    po/fr.msg 520 条已翻译消息.
        MSGFMT    po/it.msg 519 条已翻译消息,1 条未翻译消息.
        MSGFMT    po/ja.msg 546 条已翻译消息,1 条未翻译消息.
        MSGFMT po/pt_br.msg 520 条已翻译消息.
        MSGFMT    po/bg.msg 565 条已翻译消息.
        MSGFMT    po/ru.msg 520 条已翻译消息.
        MSGFMT po/zh_cn.msg 366 条已翻译消息,7 条模糊消息,17 条未翻译消息.
        MSGFMT    po/el.msg 381 条已翻译消息,4 条模糊消息,6 条未翻译消息.
        SUBDIR gitk-git
        * new Tcl/Tk interpreter location
        GEN gitk-wish
    Generating catalog po/de.msg
    msgfmt --statistics --tcl po/de.po -l de -d po/
    307 条已翻译消息.
    Generating catalog po/pt_pt.msg
    msgfmt --statistics --tcl po/pt_pt.po -l pt_pt -d po/
    311 条已翻译消息.
    Generating catalog po/vi.msg
    msgfmt --statistics --tcl po/vi.po -l vi -d po/
    307 条已翻译消息.
    Generating catalog po/ca.msg
    msgfmt --statistics --tcl po/ca.po -l ca -d po/
    307 条已翻译消息.
    Generating catalog po/hu.msg
    msgfmt --statistics --tcl po/hu.po -l hu -d po/
    277 条已翻译消息,18 条模糊消息,12 条未翻译消息.
    Generating catalog po/es.msg
    msgfmt --statistics --tcl po/es.po -l es -d po/
    184 条已翻译消息,46 条模糊消息,77 条未翻译消息.
    Generating catalog po/sv.msg
    msgfmt --statistics --tcl po/sv.po -l sv -d po/
    311 条已翻译消息.
    Generating catalog po/fr.msg
    msgfmt --statistics --tcl po/fr.po -l fr -d po/
    311 条已翻译消息.
    Generating catalog po/it.msg
    msgfmt --statistics --tcl po/it.po -l it -d po/
    274 条已翻译消息,17 条模糊消息,16 条未翻译消息.
    Generating catalog po/ja.msg
    msgfmt --statistics --tcl po/ja.po -l ja -d po/
    311 条已翻译消息.
    Generating catalog po/pt_br.msg
    msgfmt --statistics --tcl po/pt_br.po -l pt_br -d po/
    279 条已翻译消息,16 条模糊消息,12 条未翻译消息.
    Generating catalog po/bg.msg
    msgfmt --statistics --tcl po/bg.po -l bg -d po/
    317 条已翻译消息.
    Generating catalog po/ru.msg
    msgfmt --statistics --tcl po/ru.po -l ru -d po/
    317 条已翻译消息.
        SUBDIR templates
        MSGFMT po/build/locale/pt_PT/LC_MESSAGES/git.mo
    3198 条已翻译消息.
        MSGFMT po/build/locale/de/LC_MESSAGES/git.mo
    4581 条已翻译消息.
        MSGFMT po/build/locale/vi/LC_MESSAGES/git.mo
    4581 条已翻译消息.
        MSGFMT po/build/locale/is/LC_MESSAGES/git.mo
    14 条已翻译消息.
        MSGFMT po/build/locale/ca/LC_MESSAGES/git.mo
    3636 条已翻译消息,399 条模糊消息,328 条未翻译消息.
        MSGFMT po/build/locale/ko/LC_MESSAGES/git.mo
    3608 条已翻译消息.
        MSGFMT po/build/locale/es/LC_MESSAGES/git.mo
    4581 条已翻译消息.
        MSGFMT po/build/locale/sv/LC_MESSAGES/git.mo
    4577 条已翻译消息.
        MSGFMT po/build/locale/fr/LC_MESSAGES/git.mo
    4581 条已翻译消息.
        MSGFMT po/build/locale/it/LC_MESSAGES/git.mo
    3890 条已翻译消息,140 条模糊消息,551 条未翻译消息.
        MSGFMT po/build/locale/bg/LC_MESSAGES/git.mo
    4581 条已翻译消息.
        MSGFMT po/build/locale/ru/LC_MESSAGES/git.mo
    3366 条已翻译消息,594 条未翻译消息.
        MSGFMT po/build/locale/zh_CN/LC_MESSAGES/git.mo
    4581 条已翻译消息.
        MSGFMT po/build/locale/el/LC_MESSAGES/git.mo
    1038 条已翻译消息,3325 条未翻译消息.
        GEN perl/build/lib/Git.pm
        GEN perl/build/lib/Git/IndexInfo.pm
        GEN perl/build/lib/Git/Packet.pm
        GEN perl/build/lib/Git/SVN.pm
        GEN perl/build/lib/Git/I18N.pm
        GEN perl/build/lib/Git/LoadCPAN.pm
        GEN perl/build/lib/Git/LoadCPAN/Error.pm
        GEN perl/build/lib/Git/SVN/GlobSpec.pm
        GEN perl/build/lib/Git/SVN/Fetcher.pm
        GEN perl/build/lib/Git/SVN/Utils.pm
        GEN perl/build/lib/Git/SVN/Prompt.pm
        GEN perl/build/lib/Git/SVN/Ra.pm
        GEN perl/build/lib/Git/SVN/Editor.pm
        GEN perl/build/lib/Git/SVN/Migration.pm
        GEN perl/build/lib/Git/SVN/Log.pm
        GEN perl/build/lib/Git/LoadCPAN/Mail/Address.pm
        GEN perl/build/lib/Git/SVN/Memoize/YAML.pm
        GEN perl/build/lib/FromCPAN/Error.pm
        GEN perl/build/lib/FromCPAN/Mail/Address.pm
        CC t/helper/test-fake-ssh.o
        LINK t/helper/test-fake-ssh
        CC t/helper/test-line-buffer.o
        LINK t/helper/test-line-buffer
        CC t/helper/test-svn-fe.o
        LINK t/helper/test-svn-fe
        CC t/helper/test-tool.o
        CC t/helper/test-chmtime.o
        CC t/helper/test-config.o
        CC t/helper/test-ctype.o
        CC t/helper/test-date.o
        CC t/helper/test-delta.o
        CC t/helper/test-drop-caches.o
        CC t/helper/test-dump-cache-tree.o
        CC t/helper/test-dump-fsmonitor.o
        CC t/helper/test-dump-split-index.o
        CC t/helper/test-dump-untracked-cache.o
        CC t/helper/test-example-decorate.o
        CC t/helper/test-genrandom.o
        CC t/helper/test-genzeros.o
        CC t/helper/test-hash.o
        CC t/helper/test-hashmap.o
        CC t/helper/test-hash-speed.o
        CC t/helper/test-index-version.o
        CC t/helper/test-json-writer.o
        CC t/helper/test-lazy-init-name-hash.o
        CC t/helper/test-match-trees.o
        CC t/helper/test-mergesort.o
        CC t/helper/test-mktemp.o
        CC t/helper/test-online-cpus.o
        CC t/helper/test-parse-options.o
        CC t/helper/test-path-utils.o
        CC t/helper/test-pkt-line.o
        CC t/helper/test-prio-queue.o
        CC t/helper/test-reach.o
        CC t/helper/test-read-cache.o
        CC t/helper/test-read-midx.o
        CC t/helper/test-ref-store.o
        CC t/helper/test-regex.o
        CC t/helper/test-repository.o
        CC t/helper/test-revision-walking.o
        CC t/helper/test-run-command.o
        CC t/helper/test-scrap-cache-tree.o
        CC t/helper/test-serve-v2.o
        CC t/helper/test-sha1.o
        CC t/helper/test-sha1-array.o
        CC t/helper/test-sha256.o
        CC t/helper/test-sigchain.o
        CC t/helper/test-strcmp-offset.o
        CC t/helper/test-string-list.o
        CC t/helper/test-submodule-config.o
        CC t/helper/test-submodule-nested-repo-config.o
        CC t/helper/test-subprocess.o
        CC t/helper/test-trace2.o
        CC t/helper/test-urlmatch-normalization.o
        CC t/helper/test-xml-encode.o
        CC t/helper/test-wildmatch.o
        CC t/helper/test-windows-named-pipe.o
        CC t/helper/test-write-cache.o
        LINK t/helper/test-tool
        GEN bin-wrappers/git
        GEN bin-wrappers/git-upload-pack
        GEN bin-wrappers/git-receive-pack
        GEN bin-wrappers/git-upload-archive
        GEN bin-wrappers/git-shell
        GEN bin-wrappers/git-cvsserver
        GEN bin-wrappers/test-fake-ssh
        GEN bin-wrappers/test-line-buffer
        GEN bin-wrappers/test-svn-fe
        GEN bin-wrappers/test-tool
    [root@desktop git-2.22.0]# 
    
  8.  
    [root@desktop git-2.22.0]# make install
        SUBDIR git-gui
        SUBDIR gitk-git
        SUBDIR templates
    install -d -m 755 '/usr/local/bin'
    install -d -m 755 '/usr/local/libexec/git-core'
    install   git-credential-store git-daemon git-fast-import git-http-backend git-imap-send git-sh-i18n--envsubst git-shell git-remote-testsvn git-credential-cache git-credential-cache--daemon git-bisect git-difftool--helper git-filter-branch git-merge-octopus git-merge-one-file git-merge-resolve git-mergetool git-quiltimport git-legacy-stash git-request-pull git-submodule git-web--browse git-add--interactive git-archimport git-cvsexportcommit git-cvsimport git-cvsserver git-send-email git-svn git-p4 git-instaweb '/usr/local/libexec/git-core'
    install -m 644  git-mergetool--lib git-parse-remote git-rebase--am git-rebase--common git-rebase--preserve-merges git-sh-setup git-sh-i18n '/usr/local/libexec/git-core'
    install git git-upload-pack git-receive-pack git-upload-archive git-shell git-cvsserver '/usr/local/bin'
    make -C templates DESTDIR='' install
    make[1]: 进入目录“/usr/local/lib/git-2.22.0/templates”
    install -d -m 755 '/usr/local/share/git-core/templates'
    (cd blt && gtar cf - .) | \
    (cd '/usr/local/share/git-core/templates' && umask 022 && gtar xof -)
    make[1]: 离开目录“/usr/local/lib/git-2.22.0/templates”
    install -d -m 755 '/usr/local/libexec/git-core/mergetools'
    install -m 644 mergetools/* '/usr/local/libexec/git-core/mergetools'
    install -d -m 755 '/usr/local/share/locale'
    (cd po/build/locale && gtar cf - .) | \
    (cd '/usr/local/share/locale' && umask 022 && gtar xof -)
    install -d -m 755 '/usr/local/share/perl5'
    (cd perl/build/lib && gtar cf - .) | \
    (cd '/usr/local/share/perl5' && umask 022 && gtar xof -)
    make -C gitweb install
    make[1]: 进入目录“/usr/local/lib/git-2.22.0/gitweb”
    make[2]: 进入目录“/usr/local/lib/git-2.22.0”
    make[2]: “GIT-VERSION-FILE”是最新的。
    make[2]: 离开目录“/usr/local/lib/git-2.22.0”
        GEN gitweb.cgi
        GEN static/gitweb.js
    install -d -m 755 '/usr/local/share/gitweb'
    install -m 755 gitweb.cgi '/usr/local/share/gitweb'
    install -d -m 755 '/usr/local/share/gitweb/static'
    install -m 644 static/gitweb.js static/gitweb.css static/git-logo.png static/git-favicon.png '/usr/local/share/gitweb/static'
    make[1]: 离开目录“/usr/local/lib/git-2.22.0/gitweb”
    make -C gitk-git install
    make[1]: 进入目录“/usr/local/lib/git-2.22.0/gitk-git”
    install -d -m 755 '/usr/local/bin'
    install -m 755 gitk-wish '/usr/local/bin'/gitk
    install -d -m 755 '/usr/local/share/gitk/lib/msgs'
    install -m 644 po/de.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/ja.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/sv.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/it.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/hu.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/pt_pt.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/fr.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/pt_br.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/ru.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/ca.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/vi.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/bg.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/es.msg '/usr/local/share/gitk/lib/msgs' && true
    make[1]: 离开目录“/usr/local/lib/git-2.22.0/gitk-git”
    make -C git-gui gitexecdir='/usr/local/libexec/git-core' install
    make[1]: 进入目录“/usr/local/lib/git-2.22.0/git-gui”
      DEST /usr/local/libexec/git-core
        INSTALL 755 git-gui
        INSTALL 755 git-gui--askpass
        LINK        git-citool -> git-gui
      DEST /usr/local/share/git-gui/lib
        INSTALL 644 tclIndex
        INSTALL 644 themed.tcl
        INSTALL 644 line.tcl
        INSTALL 644 console.tcl
        INSTALL 644 checkout_op.tcl
        INSTALL 644 transport.tcl
        INSTALL 644 remote_add.tcl
        INSTALL 644 browser.tcl
        INSTALL 644 tools.tcl
        INSTALL 644 branch_checkout.tcl
        INSTALL 644 spellcheck.tcl
        INSTALL 644 status_bar.tcl
        INSTALL 644 diff.tcl
        INSTALL 644 remote.tcl
        INSTALL 644 choose_font.tcl
        INSTALL 644 option.tcl
        INSTALL 644 mergetool.tcl
        INSTALL 644 tools_dlg.tcl
        INSTALL 644 search.tcl
        INSTALL 644 shortcut.tcl
        INSTALL 644 branch_rename.tcl
        INSTALL 644 class.tcl
        INSTALL 644 remote_branch_delete.tcl
        INSTALL 644 choose_repository.tcl
        INSTALL 644 about.tcl
        INSTALL 644 blame.tcl
        INSTALL 644 branch.tcl
        INSTALL 644 win32.tcl
        INSTALL 644 sshkey.tcl
        INSTALL 644 branch_create.tcl
        INSTALL 644 commit.tcl
        INSTALL 644 branch_delete.tcl
        INSTALL 644 index.tcl
        INSTALL 644 encoding.tcl
        INSTALL 644 logo.tcl
        INSTALL 644 date.tcl
        INSTALL 644 choose_rev.tcl
        INSTALL 644 database.tcl
        INSTALL 644 error.tcl
        INSTALL 644 merge.tcl
        INSTALL 644 git-gui.ico
        INSTALL 644 win32_shortcut.js
      DEST /usr/local/share/git-gui/lib/msgs
        INSTALL 644 pt_br.msg
        INSTALL 644 hu.msg
        INSTALL 644 zh_cn.msg
        INSTALL 644 de.msg
        INSTALL 644 sv.msg
        INSTALL 644 it.msg
        INSTALL 644 ja.msg
        INSTALL 644 pt_pt.msg
        INSTALL 644 fr.msg
        INSTALL 644 ru.msg
        INSTALL 644 el.msg
        INSTALL 644 vi.msg
        INSTALL 644 bg.msg
        INSTALL 644 nb.msg
    make[1]: 离开目录“/usr/local/lib/git-2.22.0/git-gui”
    bindir=$(cd '/usr/local/bin' && pwd) && \
    execdir=$(cd '/usr/local/libexec/git-core' && pwd) && \
    destdir_from_execdir_SQ=$(echo 'libexec/git-core' | sed -e 's|[^/][^/]*|..|g') && \
    { test "$bindir/" = "$execdir/" || \
      for p in git git-shell git-cvsserver; do \
    	rm -f "$execdir/$p" && \
    	test -n "" && \
    	ln -s "$destdir_from_execdir_SQ/bin/$p" "$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 git-upload-pack; do \
    	rm -f "$bindir/$p" && \
    	test -n "" && \
    	ln -s "git" "$bindir/$p" || \
    	{ test -z "" && \
    	  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-am git-annotate git-apply git-archive git-bisect--helper git-blame git-branch git-bundle git-cat-file git-check-attr git-check-ignore git-check-mailmap git-check-ref-format git-checkout-index git-checkout git-clean git-clone git-column git-commit-tree git-commit git-commit-graph git-config git-count-objects git-credential git-describe git-diff-files git-diff-index git-diff-tree git-diff git-difftool git-fast-export git-fetch-pack git-fetch git-fmt-merge-msg git-for-each-ref git-fsck git-gc git-get-tar-commit-id git-grep git-hash-object git-help git-index-pack git-init-db git-interpret-trailers 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-multi-pack-index 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-pull git-push git-range-diff git-read-tree git-rebase git-receive-pack git-reflog git-remote git-remote-ext git-remote-fd git-repack 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-index git-show-ref git-stash git-stripspace git-submodule--helper git-symbolic-ref git-tag git-unpack-file git-unpack-objects git-update-index git-update-ref git-update-server-info git-upload-archive git-upload-pack git-var git-verify-commit git-verify-pack git-verify-tag git-worktree git-write-tree git-cherry git-cherry-pick git-format-patch git-fsck-objects git-init git-merge-subtree git-show git-stage git-status git-whatchanged; do \
    	rm -f "$execdir/$p" && \
    	test -n "" && \
    	ln -s "$destdir_from_execdir_SQ/bin/git" "$execdir/$p" || \
    	{ test -z "" && \
    	  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="" && \
    for p in $remote_curl_aliases; do \
    	rm -f "$execdir/$p" && \
    	test -n "" && \
    	ln -s "git-remote-http" "$execdir/$p" || \
    	{ test -z "" && \
    	  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"
    [root@desktop git-2.22.0]# 
    
  9.  
    [root@desktop git-2.22.0]# git --version
    git version 2.22.0
    
发布了94 篇原创文章 · 获赞 32 · 访问量 5万+

猜你喜欢

转载自blog.csdn.net/qq_32596527/article/details/97574888