安装时出现问题 git
problems when installing git
我克隆了当前的 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
Zloj has answered my question in the :
Have you tried to put everything in a dir that doesn't contain characters like 下载 ?
我克隆了当前的 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
Zloj has answered my question in the
Have you tried to put everything in a dir that doesn't contain characters like 下载 ?