linux 无法编译glib

mwkjh3gx  于 2023-08-03  发布在  Linux
关注(0)|答案(2)|浏览(121)

我尝试从源代码编译glib。但是一个I/O错误阻止了我。

make[2]: Entering directory `/usr/src/gtk3/glib-2.36.0/docs'
Making all in reference
make[3]: Entering directory `/usr/src/gtk3/glib-2.36.0/docs/reference'
Making all in glib
make[4]: Entering directory `/usr/src/gtk3/glib-2.36.0/docs/reference/glib'
  GEN      glib-gettextize.1
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
make[4]: *** [glib-gettextize.1] Error 4
make[4]: Leaving directory `/usr/src/gtk3/glib-2.36.0/docs/reference/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/gtk3/glib-2.36.0/docs/reference'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gtk3/glib-2.36.0/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gtk3/glib-2.36.0'
make: *** [all] Error 2

字符串

ffscu2ro

ffscu2ro1#

无法生成文档,因为无法加载外部转换样式表http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
尝试将此计算机连接到Internet并再次运行生成。

dgjrabp2

dgjrabp22#

安装docbook-xls似乎解决了我的问题:

sudo apt-get install -y docbook-xsl

字符串

相关问题