2006/2/13, Yuan Yijun <bbbush.yuan(a)gmail.com>:
Even en cannot build cleanly on my machine. When executing xsltproc
(the first command "make" executes) perl prompts locale are not
defined. And xslto said xml not validated and "href" not known, why?
:(
[yuan@localhost release-notes]$ make
xsltproc --stringparam lang en --stringparam doctype articleinfo
/home/yuan/fedora/docs/release-notes/../docs-common/packaging/bookinfo.xsl
/home/yuan/fedora/docs/release-notes/en/rpm-info-en.xml
| xmlformat -f
/home/yuan/fedora/docs/release-notes/../docs-common/bin/xmlformat-fdp.conf
en/fdp-info-en.xml.tmp && move-if-change
en/fdp-info-en.xml.tmp
en/fdp-info-en.xml
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
sed -i 's#legalnotice-en.xml#legalnotice-relnotes-en.xml#g' en/fdp-info-en.xml
LANG=en.UTF-8 xmlto html -x
/home/yuan/fedora/docs/release-notes/../docs-common/xsl/main-html.xsl
-o RELEASE-NOTES-en en/RELEASE-NOTES-en.xml
Writing ln-legalnotice.html for legalnotice(legalnotice)
No template for "/article/articleinfo/revhistory" (or any of its leaves) exists
in the context named "title" in the "en" localization.
Writing rv-revhistory.html for revhistory
(Writing.....)
After an update today, the validating error disappeared and make succeeded.
--
bbbush ^_^