开源项目地址:
http://openbookproject.googlecode.com/svn/trunk/DiP
编译中的错误信息:
jelly@jelly-kubuntu9:~/DiP$ ls
common doc en index.html prebuilt readme.txt zh-cn
jelly@jelly-kubuntu9:~/DiP$ cd zh-cn/
jelly@jelly-kubuntu9:~/DiP/zh-cn$ ls
add_oa.sh build.sh build.xml dist export.sh index.html index.html? make.bat make.sh xml
jelly@jelly-kubuntu9:~/DiP/zh-cn$ ./build.sh
Parsing stylesheet ../../common/xsl/html.xsl took 1 ms
compilation error: file ../../common/xsl/html.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag code line 1018
^
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag template line 1013
^
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag stylesheet line 5
^
compilation error: file ../../common/docbook/xsl/html/docbook.xsl line 62 element include
xsl:include : unable to load ../../common/docbook/xsl/html/synop.xsl
compilation error: file ../../common/xsl/htmlcommon.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
compilation error: file ../../common/xsl/common.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
Parsing stylesheet ../../common/xsl/index.xsl took 1 ms
compilation error: file ../../common/xsl/index.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag code line 1018
^
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag template line 1013
^
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag stylesheet line 5
^
compilation error: file ../../common/docbook/xsl/html/docbook.xsl line 62 element include
xsl:include : unable to load ../../common/docbook/xsl/html/synop.xsl
compilation error: file ../../common/xsl/htmlcommon.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
compilation error: file ../../common/xsl/common.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
cd: 12: can't cd to dist/html/
Parsing stylesheet ../../common/xsl/htmlsingle.xsl took 0 ms
compilation error: file ../../common/xsl/htmlsingle.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag code line 1018
^
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag template line 1013
^
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag stylesheet line 5
^
compilation error: file ../../common/docbook/xsl/html/docbook.xsl line 62 element include
xsl:include : unable to load ../../common/docbook/xsl/html/synop.xsl
compilation error: file ../../common/xsl/htmlcommon.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
compilation error: file ../../common/xsl/common.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
Colorizing diveintopython.html
Traceback (most recent call last):
File "../common/py/colorize.py", line 140, in <module>
process(filedir, usefonts)
File "../common/py/colorize.py", line 113, in process
sock = open(filename, "r")
IOError: [Errno 2] No such file or directory: 'dist/htmlflat/diveintopython.html'
rm: 无法删除 “../common/py/*.log”: 没有该文件或目录
diveintopython-html-5.4_zh-ch/
diveintopython-html-5.4_zh-ch/py/
diveintopython-html-5.4_zh-ch/py/apihelpertest.py
common doc en index.html prebuilt readme.txt zh-cn
jelly@jelly-kubuntu9:~/DiP$ cd zh-cn/
jelly@jelly-kubuntu9:~/DiP/zh-cn$ ls
add_oa.sh build.sh build.xml dist export.sh index.html index.html? make.bat make.sh xml
jelly@jelly-kubuntu9:~/DiP/zh-cn$ ./build.sh
Parsing stylesheet ../../common/xsl/html.xsl took 1 ms
compilation error: file ../../common/xsl/html.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag code line 1018
^
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag template line 1013
^
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag stylesheet line 5
^
compilation error: file ../../common/docbook/xsl/html/docbook.xsl line 62 element include
xsl:include : unable to load ../../common/docbook/xsl/html/synop.xsl
compilation error: file ../../common/xsl/htmlcommon.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
compilation error: file ../../common/xsl/common.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
Parsing stylesheet ../../common/xsl/index.xsl took 1 ms
compilation error: file ../../common/xsl/index.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag code line 1018
^
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag template line 1013
^
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag stylesheet line 5
^
compilation error: file ../../common/docbook/xsl/html/docbook.xsl line 62 element include
xsl:include : unable to load ../../common/docbook/xsl/html/synop.xsl
compilation error: file ../../common/xsl/htmlcommon.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
compilation error: file ../../common/xsl/common.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
cd: 12: can't cd to dist/html/
Parsing stylesheet ../../common/xsl/htmlsingle.xsl took 0 ms
compilation error: file ../../common/xsl/htmlsingle.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag code line 1018
^
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag template line 1013
^
../../common/docbook/xsl/html/synop.xsl:1022: parser error : Premature end of data in tag stylesheet line 5
^
compilation error: file ../../common/docbook/xsl/html/docbook.xsl line 62 element include
xsl:include : unable to load ../../common/docbook/xsl/html/synop.xsl
compilation error: file ../../common/xsl/htmlcommon.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
compilation error: file ../../common/xsl/common.xsl line 4 element stylesheet
xsl:exclude-result-prefixes : undefined namespace #default
Colorizing diveintopython.html
Traceback (most recent call last):
File "../common/py/colorize.py", line 140, in <module>
process(filedir, usefonts)
File "../common/py/colorize.py", line 113, in process
sock = open(filename, "r")
IOError: [Errno 2] No such file or directory: 'dist/htmlflat/diveintopython.html'
rm: 无法删除 “../common/py/*.log”: 没有该文件或目录
diveintopython-html-5.4_zh-ch/
diveintopython-html-5.4_zh-ch/py/
diveintopython-html-5.4_zh-ch/py/apihelpertest.py
本文转sinojelly51CTO博客,原文链接:http://blog.51cto.com/sinojelly/242966,如需转载请自行联系原作者