安装git时出现问题

时间:2015-09-30 10:17:42

标签: git makefile install doc

我克隆了当前的source tree并尝试构建它,我收到以下错误。 有人可以告诉我为什么以及是否有一种简单的方法来解决它? 我正在使用Ubuntu系统。

    Build steps:
     $ make configure ;# as yourself
     $ ./configure --prefix=/usr ;# as yourself
     $ make all doc ;# as yourself
(errors occur)
    .
    .
    .
    ASCIIDOC technical/shallow.html
    ASCIIDOC technical/trivial-merge.html
    GEN technical/api-index.txt    
    ASCIIDOC technical/api-index.html
    sed "s|@@MAN_BASE_URL@@|file:///usr/local/share/doc/git/|" manpage-base-url.xsl.in > manpage-base-url.xsl
    ASCIIDOC git-add.xml
    XMLTO git-add.1
    compilation error: file /tmp/xmlto-xsl.ORAr7p line 6 element include
    xsl:include : invalid URI reference /home/gary/下载/git/Documentation/manpage-normal.xsl
    compilation error: file /tmp/xmlto-xsl.ORAr7p line 7 element include
    xsl:include : invalid URI reference /home/gary/下载/git/Documentation/manpage-base-url.xsl
    make[1]: *** [git-add.1] 错误 1
    make[1]:正在离开目录 `/home/gary/下载/git/Documentation'
    make: *** [doc] 错误 2

1 个答案:

答案 0 :(得分:1)

Zlojcomments

中回答了我的问题
  

您是否尝试将所有内容放在不包含下载字符的目录中?