RSS/Atom feed Twitter
Site is read-only, email is disabled

make-xx doesn't work (Solved)

This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

make-xx doesn't work Kolbjørn Stuestøl 10 Feb 23:28
  201002111843.43379.ude88@we... Ulf-D. Ehlert 11 Feb 18:43
   make-xx doesn't work Kolbjørn Stuestøl 11 Feb 22:45
    make-xx doesn't work (Solved) Kolbjørn Stuestøl 12 Feb 21:43
Kolbjørn Stuestøl
2010-02-10 23:28:41 UTC (almost 15 years ago)

make-xx doesn't work

Hi list
I have updated my copy of Cygwin with some new packages and after a couple of evenings all "git" and "make" commands works fine --- except for the "make html-xx" (and perhaps make pdf-xx. Not tried as it did not worked before the updating either).

When running $ make html-nn
I get these error messages:

*** Making html for nn ... I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl" compilation error: file stylesheets/plainhtml.xsl line 8 element import xsl:import : unable to load
http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl make: *** [html/nn/index.html] Error 5

So, what am I to do to get this command work? (make validate-nn returns "nn: no errors"). I am always updating (git pull) my copy of gimp-help-2 before working on it.

Kolbjoern

Kolbjørn Stuestøl
2010-02-11 22:45:45 UTC (almost 15 years ago)

make-xx doesn't work

Ulf-D. Ehlert skreiv:

Kolbjørn Stuestøl (Wednesday, 10. February 2010)

Hi list
I have updated my copy of Cygwin with some new packages and after a couple of evenings all "git" and "make" commands works fine --- except for the "make html-xx" (and perhaps make pdf-xx. Not tried as it did not worked before the updating either).

When running $ make html-nn
I get these error messages:

*** Making html for nn ... I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl " compilation error: file stylesheets/plainhtml.xsl line 8 element import xsl:import : unable to load
http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl make: *** [html/nn/index.html] Error 5

It looks like your docbook-xsl package is not properly configured. Then xsltproc can't find out where the actual "chunk.xsl" is. So you should check your XML catalog(s).

For example, my docbook-xsl package contains an XML catalog file /etc/xml/docbook-xsl.xml (which is referred to by the main XML catalog file) with the lines

and

(I guess the second line is important), so xsltproc actually reads
/usr/share/xml/docbook/stylesheet/nwalsh/1.75.2/xhtml/chunk.xsl when importing ".../chunk.xsl" in "stylesheets/plainhtml.xsl line 8".

HTH Ulf

Thank you, Ulf
I think you are leading me on the right path :-) I have to dig a bit deeper in this material. Finding out where the different files are stored etc. to set the addresses. I think I have mashed my Cygwin copy a bit up by partially using automatic setup and partially done it by hand the Unix way. I bet there is a solution, I only have to find it. Kolbjoern

Kolbjørn Stuestøl
2010-02-12 21:43:43 UTC (almost 15 years ago)

make-xx doesn't work (Solved)

Problem solved. The solution showed below.

Ulf-D. Ehlert skreiv:

Kolbjørn Stuestøl (Wednesday, 10. February 2010)

Hi list
I have updated my copy of Cygwin with some new packages and after a couple of evenings all "git" and "make" commands works fine --- except for the "make html-xx" (and perhaps make pdf-xx. Not tried as it did not worked before the updating either).

When running $ make html-nn
I get these error messages:

*** Making html for nn ... I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl " compilation error: file stylesheets/plainhtml.xsl line 8 element import xsl:import : unable to load
http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl make: *** [html/nn/index.html] Error 5

It looks like your docbook-xsl package is not properly configured. Then xsltproc can't find out where the actual "chunk.xsl" is. So you should check your XML catalog(s).

For example, my docbook-xsl package contains an XML catalog file /etc/xml/docbook-xsl.xml (which is referred to by the main XML catalog file) with the lines

and

(I guess the second line is important), so xsltproc actually reads
/usr/share/xml/docbook/stylesheet/nwalsh/1.75.2/xhtml/chunk.xsl when importing ".../chunk.xsl" in "stylesheets/plainhtml.xsl line 8".

HTH Ulf

In case someone else run into the same problem: I had to write the following lines into the file "etc/xml/catalog" to get the "make html-xx" work:

This solved the problem.
(The docbook-xsl-1.75.2 was installed by running Cygwin install).

Kolbjoern