Install cgit

Installation

a) Download cgit, https://git.zx2c4.com/cgit/about/

b) unzip or extract file, change the directory to the directory;

c) make get-git

d) make (make clean)

提示缺少 crypto

e) yum install openssl openssl-devel

f) make clean
rm -f cgitrc.5 cgitrc.5.html cgitrc.5.pdf cgitrc.5.xml cgitrc.5.fo
rm -f cgit VERSION CGIT-CFLAGS *.o tags
rm -f -r .deps
g) make

    SUBDIR git
CGIT_VERSION = v1.1
    * new CGit build flags
    CC ../cgit.o
    CC ../cache.o
    CC ../cmd.o
    CC ../configfile.o
    CC ../filter.o
    CC ../html.o
    CC ../parsing.o
    CC ../scan-tree.o
    CC ../shared.o
    CC ../ui-atom.o
    CC ../ui-blob.o
    CC ../ui-clone.o
    CC ../ui-commit.o
    CC ../ui-diff.o
    CC ../ui-log.o
    CC ../ui-patch.o
    CC ../ui-plain.o
    CC ../ui-refs.o
    CC ../ui-repolist.o
    CC ../ui-shared.o
    CC ../ui-snapshot.o
    CC ../ui-ssdiff.o
    CC ../ui-stats.o
    CC ../ui-summary.o
    CC ../ui-tag.o
    CC ../ui-tree.o
    * linking without autodetected Lua support
    LINK ../cgit

你可能感兴趣的:(Install cgit)