[MPlayer-cygwin] How to build MPlayer documentation on Windows under MSYS

John Brown johnbrown105 at hotmail.com
Tue Jul 11 01:39:51 CEST 2006


Hello All,

I had posted on this topic some months ago, but I did not pursue it.
Now I am ready to try again.

I am trying to build MPlayer documentation under MSYS. I am running:

1) MSYS 1.0.11
2) mingw32-make 3.80
(Note: make 3.80 or greater is required, but MSYS make is 3.79.1. The fact 
that mingw32-make.exe is not a MSYS executable does not seem to matter)
3) libxslt-1.1.17
4) libxml2-2.6.26
5) Docbook 4.1.2 (docbk412.zip)
6) Docbook XSL 1.70.1 (docbook-xsl-1.70.1.tar.bz2)

The SGML catalog was not found by configure, so I modified configure by 
adding to the SGML catalog search path:

/usr/share/sgml/docbook/dtd/xml/4.1.2/docbook.cat

With that change, configure appeared to be successful, and the output looks 
like this:

Searching for XML catalogs...
Found SGML catalog at /usr/share/sgml/docbook/dtd/xml/4.1.2/docbook.cat
Searching for stylesheets...
Searching for html/chunk.xsl...
Found chunk.xsl at 
/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/chunk.xsl
Searching for html/docbook.xsl...
Found docbook.xsl at 
/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/docbook.xsl
Searching for DTD...
Found docbookx.dtd at /usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd
Looking for a valid XSLT processor...
Found xsltproc. If it works, it's probably the best choice.
Searching for XML checker...
Found xmllint

However, make fails:
mkdir ../HTML
mkdir: cannot create directory `../HTML': File exists
c:\mingw\bin\mingw32-make.exe: [chunked-dir] Error 1 (ignored)
(mkdir ../HTML/en)
mkdir: cannot create directory `../HTML/en': File exists
c:\mingw\bin\mingw32-make.exe: [html-chunked-en] Error 1 (ignored)
c:/mingw/bin/mingw32-make.exe HTMLDIR=../../HTML/en -C en html-chunked
mingw32-make.exe[1]: Entering directory `c:/temp/mplayer/trunk/DOCS/xml/en'
rm -f ../../HTML/en/*
../xmllint.sh main.xml
cp -f ../default.css ../../HTML/en/
../xsltproc.sh ../../HTML/en/ ../html-chunk.xsl main.xml
warning: failed to load external entity 
"/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/chunk.xsl"
compilation error: file ../html-chunk.xsl line 8 element import
xsl:import : unable to load 
/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/chunk.xsl
mingw32-make.exe[1]: *** [../../HTML/en/index.html] Error 5
mingw32-make.exe[1]: Leaving directory `c:/temp/mplayer/trunk/DOCS/xml/en'
c:\mingw\bin\mingw32-make.exe: *** [html-chunked-en] Error 2

Can anyone tell me what the warning and compilation error are all about? I 
read the README, in particular, the section "about SGML catalogs". My 
catalog file does not contain "OVERRIDE YES" and I don't know how to add it, 
or even if I really need to add it.

Finally, my directory structure looks like this:
/usr/share/sgml:
total 0
drwxr-xr-x    4 Administ Administ        0 Jul 10 11:04 docbook

/usr/share/sgml/docbook:
total 0
drwxr-xr-x    3 Administ Administ        0 Jul 10 10:54 dtd
drwxr-xr-x    3 Administ Administ        0 Jul 10 11:04 stylesheet

/usr/share/sgml/docbook/dtd:
total 0
drwxr-xr-x    4 Administ Administ        0 Jul 10 11:37 xml

/usr/share/sgml/docbook/dtd/xml:
total 4
drwxr-xr-x    3 Administ Administ     4096 Jul 10 17:52 4.1.2
drwxr-xr-x    3 Administ Administ     4096 Jul 10 11:23 4.2

/usr/share/sgml/docbook/dtd/xml/4.1.2:
total 158
-rw-r--r--    1 Administ Administ     2409 Jul 10 11:39 40chg.txt
-rw-r--r--    1 Administ Administ      603 Jul 10 11:39 41chg.txt
-rw-r--r--    1 Administ Administ     3936 Jul 10 11:39 ChangeLog
-rw-r--r--    1 Administ Administ     8352 Jul 10 11:39 calstblx.dtd
-rw-r--r--    1 Administ Administ     6268 Jul 10 11:39 dbcentx.mod
-rw-r--r--    1 Administ Administ     1605 Jul 10 11:39 dbgenent.mod
-rw-r--r--    1 Administ Administ    59188 Jul 10 11:39 dbhierx.mod
-rw-r--r--    1 Administ Administ     4316 Jul 10 11:39 dbnotnx.mod
-rw-r--r--    1 Administ Administ   203338 Jul 10 11:39 dbpoolx.mod
-rw-r--r--    1 Administ Administ     3681 Jul 10 11:39 docbook.cat
-rw-r--r--    1 Administ Administ     4658 Jul 10 11:39 docbookx.dtd
drwxr-xr-x    2 Administ Administ     4096 Jul 10 11:39 ent
-rw-r--r--    1 Administ Administ      448 Jul 10 11:39 readme.txt
-rw-r--r--    1 Administ Administ    12587 Jul 10 11:39 soextblx.dtd

/usr/share/sgml/docbook/dtd/xml/4.1.2/ent:
total 34
-rw-r--r--    1 Administ Administ     3866 Jul 10 11:39 iso-amsa.ent
-rw-r--r--    1 Administ Administ     2548 Jul 10 11:39 iso-amsb.ent
-rw-r--r--    1 Administ Administ      718 Jul 10 11:39 iso-amsc.ent
-rw-r--r--    1 Administ Administ     3227 Jul 10 11:39 iso-amsn.ent
-rw-r--r--    1 Administ Administ     1313 Jul 10 11:39 iso-amso.ent
-rw-r--r--    1 Administ Administ     3709 Jul 10 11:39 iso-amsr.ent
-rw-r--r--    1 Administ Administ     3220 Jul 10 11:39 iso-box.ent
-rw-r--r--    1 Administ Administ     4311 Jul 10 11:39 iso-cyr1.ent
-rw-r--r--    1 Administ Administ     1910 Jul 10 11:39 iso-cyr2.ent
-rw-r--r--    1 Administ Administ      834 Jul 10 11:39 iso-dia.ent
-rw-r--r--    1 Administ Administ     3002 Jul 10 11:39 iso-grk1.ent
-rw-r--r--    1 Administ Administ     1735 Jul 10 11:39 iso-grk2.ent
-rw-r--r--    1 Administ Administ     2563 Jul 10 11:39 iso-grk3.ent
-rw-r--r--    1 Administ Administ     2649 Jul 10 11:39 iso-grk4.ent
-rw-r--r--    1 Administ Administ     4554 Jul 10 11:39 iso-lat1.ent
-rw-r--r--    1 Administ Administ     8759 Jul 10 11:39 iso-lat2.ent
-rw-r--r--    1 Administ Administ     4085 Jul 10 11:39 iso-num.ent
-rw-r--r--    1 Administ Administ     4590 Jul 10 11:39 iso-pub.ent
-rw-r--r--    1 Administ Administ     3002 Jul 10 11:39 iso-tech.ent

/usr/share/sgml/docbook/dtd/xml/4.2:
total 169
-rw-r--r--    1 Administ Administ     7830 Jul 10 10:55 ChangeLog
-rw-r--r--    1 Administ Administ      239 Jul 10 10:55 README
-rw-r--r--    1 Administ Administ     8418 Jul 10 10:55 calstblx.dtd
-rw-r--r--    1 Administ Administ     4535 Jul 10 11:23 catalog.xml
-rw-r--r--    1 Administ Administ    10179 Jul 10 10:55 dbcentx.mod
-rw-r--r--    1 Administ Administ     1565 Jul 10 10:55 dbgenent.mod
-rw-r--r--    1 Administ Administ    59636 Jul 10 10:55 dbhierx.mod
-rw-r--r--    1 Administ Administ     4397 Jul 10 10:55 dbnotnx.mod
-rw-r--r--    1 Administ Administ   216346 Jul 10 10:55 dbpoolx.mod
-rw-r--r--    1 Administ Administ     3945 Jul 10 10:55 docbook.cat
-rw-r--r--    1 Administ Administ     5705 Jul 10 10:55 docbookx.dtd
drwxr-xr-x    2 Administ Administ     4096 Jul 10 10:55 ent
-rw-r--r--    1 Administ Administ    12587 Jul 10 10:55 soextblx.dtd

/usr/share/sgml/docbook/dtd/xml/4.2/ent:
total 34
-rw-r--r--    1 Administ Administ     3866 Jul 10 10:55 iso-amsa.ent
-rw-r--r--    1 Administ Administ     2548 Jul 10 10:55 iso-amsb.ent
-rw-r--r--    1 Administ Administ      718 Jul 10 10:55 iso-amsc.ent
-rw-r--r--    1 Administ Administ     3227 Jul 10 10:55 iso-amsn.ent
-rw-r--r--    1 Administ Administ     1313 Jul 10 10:55 iso-amso.ent
-rw-r--r--    1 Administ Administ     3709 Jul 10 10:55 iso-amsr.ent
-rw-r--r--    1 Administ Administ     3220 Jul 10 10:55 iso-box.ent
-rw-r--r--    1 Administ Administ     4311 Jul 10 10:55 iso-cyr1.ent
-rw-r--r--    1 Administ Administ     1910 Jul 10 10:55 iso-cyr2.ent
-rw-r--r--    1 Administ Administ      834 Jul 10 10:55 iso-dia.ent
-rw-r--r--    1 Administ Administ     3002 Jul 10 10:55 iso-grk1.ent
-rw-r--r--    1 Administ Administ     1735 Jul 10 10:55 iso-grk2.ent
-rw-r--r--    1 Administ Administ     2563 Jul 10 10:55 iso-grk3.ent
-rw-r--r--    1 Administ Administ     2649 Jul 10 10:55 iso-grk4.ent
-rw-r--r--    1 Administ Administ     4554 Jul 10 10:55 iso-lat1.ent
-rw-r--r--    1 Administ Administ     8759 Jul 10 10:55 iso-lat2.ent
-rw-r--r--    1 Administ Administ     4085 Jul 10 10:55 iso-num.ent
-rw-r--r--    1 Administ Administ     4590 Jul 10 10:55 iso-pub.ent
-rw-r--r--    1 Administ Administ     3002 Jul 10 10:55 iso-tech.ent

/usr/share/sgml/docbook/stylesheet:
total 0
drwxr-xr-x    3 Administ Administ        0 Jul 10 11:04 xsl

/usr/share/sgml/docbook/stylesheet/xsl:
total 0
drwxr-xr-x    5 Administ Administ        0 Jul 10 11:05 nwalsh

/usr/share/sgml/docbook/stylesheet/xsl/nwalsh:
total 10
-rw-r--r--    1 Administ Administ     3164 Jul 10 11:05 VERSION
drwxr-xr-x    2 Administ Administ        0 Jul 10 11:05 common
drwxr-xr-x    2 Administ Administ    16384 Jul 10 16:09 html
drwxr-xr-x    2 Administ Administ        0 Jul 10 11:05 lib

/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/common:
total 1520
-rw-r--r--    1 Administ Administ    47500 Jul 10 11:05 af.xml
-rw-r--r--    1 Administ Administ    53657 Jul 10 11:05 am.xml
-rw-r--r--    1 Administ Administ    56346 Jul 10 11:05 ar.xml
-rw-r--r--    1 Administ Administ     5287 Jul 10 11:05 autoidx-ng.xsl
-rw-r--r--    1 Administ Administ    29712 Jul 10 11:05 az.xml
-rw-r--r--    1 Administ Administ    57329 Jul 10 11:05 bg.xml
-rw-r--r--    1 Administ Administ    58998 Jul 10 11:05 bn.xml
-rw-r--r--    1 Administ Administ    28582 Jul 10 11:05 bs.xml
-rw-r--r--    1 Administ Administ    47632 Jul 10 11:05 ca.xml
-rw-r--r--    1 Administ Administ    72904 Jul 10 11:05 common.xsl
-rw-r--r--    1 Administ Administ    29840 Jul 10 11:05 cs.xml
-rw-r--r--    1 Administ Administ    46900 Jul 10 11:05 cy.xml
-rw-r--r--    1 Administ Administ    28576 Jul 10 11:05 da.xml
-rw-r--r--    1 Administ Administ    28530 Jul 10 11:05 de.xml
-rw-r--r--    1 Administ Administ    55500 Jul 10 11:05 el.xml
-rw-r--r--    1 Administ Administ    46152 Jul 10 11:05 en.xml
-rw-r--r--    1 Administ Administ    29640 Jul 10 11:05 es.xml
-rw-r--r--    1 Administ Administ    47085 Jul 10 11:05 et.xml
-rw-r--r--    1 Administ Administ    47303 Jul 10 11:05 eu.xml
-rw-r--r--    1 Administ Administ    58104 Jul 10 11:05 fa.xml
-rw-r--r--    1 Administ Administ    46909 Jul 10 11:05 fi.xml
-rw-r--r--    1 Administ Administ    30306 Jul 10 11:05 fr.xml
-rw-r--r--    1 Administ Administ    47552 Jul 10 11:05 ga.xml
-rw-r--r--    1 Administ Administ    30104 Jul 10 11:05 gentext.xsl
-rw-r--r--    1 Administ Administ    56083 Jul 10 11:05 gu.xml
-rw-r--r--    1 Administ Administ    54470 Jul 10 11:05 he.xml
-rw-r--r--    1 Administ Administ    55567 Jul 10 11:05 hi.xml
-rw-r--r--    1 Administ Administ    46998 Jul 10 11:05 hr.xml
-rw-r--r--    1 Administ Administ    47570 Jul 10 11:05 hu.xml
-rw-r--r--    1 Administ Administ    46785 Jul 10 11:05 id.xml
-rw-r--r--    1 Administ Administ     3958 Jul 10 11:05 insertfile.xsl
-rw-r--r--    1 Administ Administ    46837 Jul 10 11:05 it.xml
-rw-r--r--    1 Administ Administ    48845 Jul 10 11:05 ja.xml
-rw-r--r--    1 Administ Administ    55050 Jul 10 11:05 kn.xml
-rw-r--r--    1 Administ Administ    49220 Jul 10 11:05 ko.xml
-rw-r--r--    1 Administ Administ     1286 Jul 10 11:05 l10n.dtd
-rw-r--r--    1 Administ Administ     2187 Jul 10 11:05 l10n.xml
-rw-r--r--    1 Administ Administ    16726 Jul 10 11:05 l10n.xsl
-rw-r--r--    1 Administ Administ    46393 Jul 10 11:05 la.xml
-rw-r--r--    1 Administ Administ    29329 Jul 10 11:05 labels.xsl
-rw-r--r--    1 Administ Administ    29644 Jul 10 11:05 lt.xml
-rw-r--r--    1 Administ Administ    40005 Jul 10 11:05 mn.xml
-rw-r--r--    1 Administ Administ    47284 Jul 10 11:05 nl.xml
-rw-r--r--    1 Administ Administ    46922 Jul 10 11:05 nn.xml
-rw-r--r--    1 Administ Administ    46734 Jul 10 11:05 no.xml
-rw-r--r--    1 Administ Administ    43413 Jul 10 11:05 olink.xsl
-rw-r--r--    1 Administ Administ    58645 Jul 10 11:05 or.xml
-rw-r--r--    1 Administ Administ    53896 Jul 10 11:05 pa.xml
-rw-r--r--    1 Administ Administ     8332 Jul 10 11:05 pi.xsl
-rw-r--r--    1 Administ Administ    47206 Jul 10 11:05 pl.xml
-rw-r--r--    1 Administ Administ    47454 Jul 10 11:05 pt.xml
-rw-r--r--    1 Administ Administ    47443 Jul 10 11:05 pt_br.xml
-rw-r--r--    1 Administ Administ    48383 Jul 10 11:05 refentry.xsl
-rw-r--r--    1 Administ Administ    47122 Jul 10 11:05 ro.xml
-rw-r--r--    1 Administ Administ    40028 Jul 10 11:05 ru.xml
-rw-r--r--    1 Administ Administ    47171 Jul 10 11:05 sk.xml
-rw-r--r--    1 Administ Administ    46864 Jul 10 11:05 sl.xml
-rw-r--r--    1 Administ Administ    47018 Jul 10 11:05 sq.xml
-rw-r--r--    1 Administ Administ    58366 Jul 10 11:05 sr.xml
-rw-r--r--    1 Administ Administ    46900 Jul 10 11:05 sr_Latn.xml
-rw-r--r--    1 Administ Administ     9927 Jul 10 11:05 stripns.xsl
-rw-r--r--    1 Administ Administ     6127 Jul 10 11:05 subtitles.xsl
-rw-r--r--    1 Administ Administ    46727 Jul 10 11:05 sv.xml
-rw-r--r--    1 Administ Administ    57871 Jul 10 11:05 ta.xml
-rw-r--r--    1 Administ Administ    16490 Jul 10 11:05 table.xsl
-rw-r--r--    1 Administ Administ     1231 Jul 10 11:05 targetdatabase.dtd
-rw-r--r--    1 Administ Administ     8393 Jul 10 11:05 targets.xsl
-rw-r--r--    1 Administ Administ    56823 Jul 10 11:05 th.xml
-rw-r--r--    1 Administ Administ    24548 Jul 10 11:05 titles.xsl
-rw-r--r--    1 Administ Administ    46847 Jul 10 11:05 tl.xml
-rw-r--r--    1 Administ Administ    28853 Jul 10 11:05 tr.xml
-rw-r--r--    1 Administ Administ    55414 Jul 10 11:05 uk.xml
-rw-r--r--    1 Administ Administ    48651 Jul 10 11:05 vi.xml
-rw-r--r--    1 Administ Administ    47537 Jul 10 11:05 xh.xml
-rw-r--r--    1 Administ Administ    30789 Jul 10 11:05 zh_cn.xml
-rw-r--r--    1 Administ Administ    48710 Jul 10 11:05 zh_tw.xml

/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html:
total 781
-rw-r--r--    1 Administ Administ     4263 Jul 10 11:05 admon.xsl
-rw-r--r--    1 Administ Administ     5230 Jul 10 11:05 annotations.xsl
-rw-r--r--    1 Administ Administ      813 Jul 10 11:05 autoidx-ng.xsl
-rw-r--r--    1 Administ Administ    33422 Jul 10 11:05 autoidx.xsl
-rw-r--r--    1 Administ Administ    22105 Jul 10 11:05 autotoc.xsl
-rw-r--r--    1 Administ Administ    33105 Jul 10 11:05 biblio.xsl
-rw-r--r--    1 Administ Administ    11713 Jul 10 11:05 block.xsl
-rw-r--r--    1 Administ Administ     7007 Jul 10 11:05 callout.xsl
-rw-r--r--    1 Administ Administ     3529 Jul 10 11:05 changebars.xsl
-rw-r--r--    1 Administ Administ    41010 Jul 10 11:05 chunk-code.xsl
-rw-r--r--    1 Administ Administ    40005 Jul 10 11:05 chunk-common.xsl
-rw-r--r--    1 Administ Administ     1517 Jul 10 11:05 chunk.xsl
-rw-r--r--    1 Administ Administ    21088 Jul 10 11:05 chunker.xsl
-rw-r--r--    1 Administ Administ     2737 Jul 10 11:05 chunkfast.xsl
-rw-r--r--    1 Administ Administ    16032 Jul 10 11:05 chunktoc.xsl
-rw-r--r--    1 Administ Administ    13640 Jul 10 11:05 component.xsl
-rw-r--r--    1 Administ Administ     1203 Jul 10 11:05 db5strip.xsl
-rw-r--r--    1 Administ Administ     7156 Jul 10 11:05 division.xsl
-rw-r--r--    1 Administ Administ    16133 Jul 10 11:05 docbook.xsl
-rw-r--r--    1 Administ Administ      167 Jul 10 11:05 docbookng.xsl
-rw-r--r--    1 Administ Administ     9631 Jul 10 11:05 ebnf.xsl
-rw-r--r--    1 Administ Administ     9274 Jul 10 11:05 footnote.xsl
-rw-r--r--    1 Administ Administ    12967 Jul 10 11:05 formal.xsl
-rw-r--r--    1 Administ Administ    12331 Jul 10 11:05 glossary.xsl
-rw-r--r--    1 Administ Administ    52040 Jul 10 11:05 graphics.xsl
-rw-r--r--    1 Administ Administ    11447 Jul 10 11:05 html-rtf.xsl
-rw-r--r--    1 Administ Administ     5611 Jul 10 11:05 html.xsl
-rw-r--r--    1 Administ Administ     1591 Jul 10 11:05 htmltbl.xsl
-rw-r--r--    1 Administ Administ     6908 Jul 10 11:05 index.xsl
-rw-r--r--    1 Administ Administ     1668 Jul 10 11:05 info.xsl
-rw-r--r--    1 Administ Administ    37959 Jul 10 11:05 inline.xsl
-rw-r--r--    1 Administ Administ     1221 Jul 10 11:05 keywords.xsl
-rw-r--r--    1 Administ Administ    34440 Jul 10 11:05 lists.xsl
-rw-r--r--    1 Administ Administ     2650 Jul 10 11:05 maketoc.xsl
-rw-r--r--    1 Administ Administ     4602 Jul 10 11:05 manifest.xsl
-rw-r--r--    1 Administ Administ     9033 Jul 10 11:05 math.xsl
-rw-r--r--    1 Administ Administ     7565 Jul 10 11:05 oldchunker.xsl
-rw-r--r--    1 Administ Administ     1452 Jul 10 11:05 onechunk.xsl
-rw-r--r--    1 Administ Administ    21771 Jul 10 11:05 param.ent
-rw-r--r--    1 Administ Administ   300291 Jul 10 11:05 param.xml
-rw-r--r--    1 Administ Administ   244046 Jul 10 11:05 param.xsl
-rw-r--r--    1 Administ Administ    25604 Jul 10 11:05 param.xweb
-rw-r--r--    1 Administ Administ     8447 Jul 10 11:05 pi.xsl
-rw-r--r--    1 Administ Administ    41151 Jul 10 11:05 
profile-chunk-code.xsl
-rw-r--r--    1 Administ Administ     1532 Jul 10 11:05 profile-chunk.xsl
-rw-r--r--    1 Administ Administ    16116 Jul 10 11:05 profile-docbook.xsl
-rw-r--r--    1 Administ Administ     1468 Jul 10 11:05 profile-onechunk.xsl
-rw-r--r--    1 Administ Administ    12218 Jul 10 11:05 qandaset.xsl
-rw-r--r--    1 Administ Administ     8938 Jul 10 11:05 refentry.xsl
-rw-r--r--    1 Administ Administ    21252 Jul 10 11:05 sections.xsl
-rw-r--r--    1 Administ Administ    42558 Jul 10 11:05 synop.xsl
-rw-r--r--    1 Administ Administ    39880 Jul 10 11:05 table.xsl
-rw-r--r--    1 Administ Administ     2301 Jul 10 11:05 task.xsl
-rw-r--r--    1 Administ Administ    14933 Jul 10 11:05 
titlepage.templates.xml
-rw-r--r--    1 Administ Administ   167648 Jul 10 11:05 
titlepage.templates.xsl
-rw-r--r--    1 Administ Administ    27884 Jul 10 11:05 titlepage.xsl
-rw-r--r--    1 Administ Administ     5567 Jul 10 11:05 toc.xsl
-rw-r--r--    1 Administ Administ    12280 Jul 10 11:05 verbatim.xsl
-rw-r--r--    1 Administ Administ    46192 Jul 10 11:05 xref.xsl

/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/lib:
total 64
-rw-r--r--    1 Administ Administ    47978 Jul 10 11:05 lib.xml
-rw-r--r--    1 Administ Administ    37690 Jul 10 11:05 lib.xsl
-rw-r--r--    1 Administ Administ    43389 Jul 10 11:05 lib.xweb





More information about the MPlayer-cygwin mailing list