Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile nix on cygwin #32

Closed
qiukun opened this issue Jun 24, 2012 · 3 comments
Closed

Failed to compile nix on cygwin #32

qiukun opened this issue Jun 24, 2012 · 3 comments

Comments

@qiukun
Copy link

qiukun commented Jun 24, 2012

make[2]: 进入目录“/cygdrive/c/nix-1.0/doc”
Making all in manual
make[3]: 进入目录“/cygdrive/c/nix-1.0/doc/manual”
false --nonet --xinclude manual.xml -o manual.xmli.tmp
Makefile:558: recipe for target manual.xmli' failed make[3]: *** [manual.xmli] Error 1 make[3]: 离开目录“/cygdrive/c/nix-1.0/doc/manual” Makefile:295: recipe for targetall-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: 离开目录“/cygdrive/c/nix-1.0/doc”
Makefile:392: recipe for target all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: 离开目录“/cygdrive/c/nix-1.0” Makefile:304: recipe for targetall' failed
make: *** [all] Error 2

Looks like something is wrong with the manual.

@qiukun
Copy link
Author

qiukun commented Jun 24, 2012

The xmllint and xsltproc programs to build this manual and the man-pages. These are part of the libxml2 and libxslt packages, respectively. You also need the DocBook XSL stylesheets and optionally the DocBook 5.0 RELAX NG schemas. Note that these are only required if you modify the manual sources or when you are building from the Git repository.

What does it mean? Is it means that i can install nix without xmllint and xsltproc?
Here the new msg:
/usr/bin/xmllint --nonet --xinclude manual.xml -o manual.xmli.tmp
mv manual.xmli.tmp manual.xmli
/usr/bin/xsltproc --nonet --param section.autolabel 1 --param section.label.includes.component.label 1 --param html.stylesheet 'style.css' --param xref.with.number.and.title 1 --param toc.section.depth 3 --param admon.style '' --param callout.graphics.extension '.gif' --param contrib.inline.enabled 0 --novalid --stringparam profile.condition manual
/docbook-xsl-missing/profiling/profile.xsl manual.xmli 2> /dev/null |
/usr/bin/xmllint --nonet --noout --relaxng /docbook-rng-missing/docbook.rng -
warning: failed to load external entity "/docbook-rng-missing/docbook.rng"
xmlRelaxNGParse: could not load /docbook-rng-missing/docbook.rng
Relax-NG schema /docbook-rng-missing/docbook.rng failed to compile

@qiukun qiukun closed this as completed Jun 24, 2012
@qiukun qiukun reopened this Jun 24, 2012
@qiukun qiukun closed this as completed Jun 24, 2012
@qiukun
Copy link
Author

qiukun commented Jun 24, 2012

sorry for not carefully reading the doc.

@linquize
Copy link
Contributor

Could you list the required cygwin packages names, in order to build the doc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants