2013-03-31 113 views
1

我嘗試從源代碼編譯glib。但是I/O錯誤阻止了我。無法編譯glib

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 

回答

1

無法構建文檔,因爲無法加載外部轉換樣式表http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

嘗試將本機連接到Internet並再次運行構建。

+0

我按照你的建議,但再次失敗。我可以使用「wget http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl」來獲取該文件,但是當我嘗試編譯glib,再次失敗,並再次出現相同的提示。 – user2163729

+0

也許你可以再次配置,以避免連接....並要求在Gtk或Glib郵件列表會更好... –

+0

謝謝,先生。 – user2163729