Skip to content

Failed to compile nix on cygwin #32

Closed

Description

@qiukun

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.

Activity

  1. qiukun commented on Jun 24, 2012

    @qiukun
    Author

    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

  2. reopened this on Jun 24, 2012
  3. qiukun commented on Jun 24, 2012

    @qiukun
    Author

    sorry for not carefully reading the doc.

  4. linquize commented on Dec 18, 2014

    @linquize
    Contributor

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

  5. added a commit that references this issue on Aug 28, 2020
  6. added a commit that references this issue on Mar 5, 2025
  7. added a commit that references this issue on Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions